在一个页面上加载了另一个页面 想设置上面的页面为半透明 透出下面的页面 但是没有效果
function create(){
var w = plus.webview.create( "web-left.html");
w.setStyle({width:100,
height:300,
bottom:15,
opacity:"0.1",
})
w.show(); // 显示窗口
}
在一个页面上加载了另一个页面 想设置上面的页面为半透明 透出下面的页面 但是没有效果
function create(){
var w = plus.webview.create( "web-left.html");
w.setStyle({width:100,
height:300,
bottom:15,
opacity:"0.1",
})
w.show(); // 显示窗口
}
1 个回复
DCloud_UNI_FXY
http://www.html5plus.org/doc/zh_cn/webview.html#plus.webview.WebviewStyles
background:transparent