8***@qq.com
8***@qq.com
  • 发布:2019-10-15 10:55
  • 更新:2019-10-15 10:55
  • 阅读:767

关于subNvue的子窗口效果

分类:nvue

pages.json的定义

{//弹出层
"id": "bottom",
"path": "pages/user/routePlanning/subNVue/bottom/bottom",
"type": "popup",
"style": {
"position": "absolute",
"bottom":"0",
"width":"100%",
"height":"100px"
}
}

然后页面上的

const subNVue = uni.getSubNVueById('bottom');
setTimeout(()=>{
subNVue.show('fade-in',1000,()=>{
console.log('subNVue 原生子窗体显示成功');
});
},1000)

这个动画在初始的时候执行一次之后就不执行动画了是为什么?

2019-10-15 10:55 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复