大佬我遇到一个问题,就是我从vue通过
const subNVue = uni.getSubNVueById('verticalSwiperVideo');
subNVue.show('slide-in-right',200,()=>{})
跳转到vertical-swiper/vertical-swiper,为啥视频就无法播放了
我的page.json配置是这样的,也不知道是哪里出了问题
"app-plus": {
"titleNView":{
"type":"transparent"
},
"subNVues":[
{
"id": "verticalSwiperVideo", // 唯一标识 platform\app-plus\subNVue
"path": "pages/vertical-swiper/vertical-swiper", // 页面路径
"type": "popup",
"style": {
"position": "dock",
"dock": "right",
"background": "#FFFFFF",
"mask": "rgba(0,0,0,1)"
}
},
{
"id": "jVideo", // 唯一标识 platform\app-plus\subNVue
"path": "pages/vertical-swiper/j-video", // 页面路径
"type": "popup",
"style": {
"position": "dock",
"dock": "right",
"background": "#FFFFFF",
"mask": "rgba(0,0,0,1)"
}
}
]
}
m***@163.com
- 发布:2024-05-13 00:17
- 更新:2024-05-13 00:17
- 阅读:130
#插件讨论# 【 超高性能的仿抖音插件;杜绝不灵敏的swiper组件模拟效果 - raise 】vue跳转nvue视频无法播放
分类:uni-app
0 个回复