么也不说了
么也不说了
  • 发布:2019-02-24 18:04
  • 更新:2019-03-26 13:56
  • 阅读:1195

为啥mui.openWindow中的styles设置效果不起作用,用plus.webview.open就可以?

分类:MUI
          mui.openWindow({  
                    url: 'shezhi.html',  
                    id: 'shezhi',  
                    styles:{  
                        height:'50%',  
                        width:'50%',  
                        bounce:'vertical',  
                        popGesture:'close'  
                    },  
                    waiting: {  
                        autoShow: false  
                    },  
                    show: {  
                        aniShow: 'pop-in'  
                    }  
                })  
                plus.webview.open( 'shezhi.html', 'shezhi', {  
                    height:'50%',  
                    width:'50%',  
                    bounce:'vertical',  
                    popGesture:'close'  
                }, "pop-in");

下方的样式就起作用,上方的样式不起作用,但是有的需要打开窗口传值,用plus.webview.open好像无法传值?

2019-02-24 18:04 负责人:无 分享
已邀请:
jspeng

jspeng - 6666

我也遇到了,你研究出来了吗?

jspeng

jspeng - 6666

已解决:mui.openWindow({
styles:{
'height':'50%',
'width':'50%',
'bounce':'vertical',
'popGesture':'close'
},
});

两边都要引号“”

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