今天遇到一个不知所措的问天
function createPoint(webView){
if(webView != null){
var wsubPoint = plus.webview.create("map_point.html",'map_point',{width:47, height:47, left:20, bottom:20, background:"transparent"});
webView.append(wsubPoint);
}
}
function createLayer(webView){
if(webView != null){
var wsubLayer = plus.webview.create('map_layer.html','map_layer',{width:47, height:47, right:20, bottom:20, background:"transparent"});
webView.append(wsubLayer);
}
}
mui.plusReady(function(){
createPoint(plus.webview.currentWebview());
createLayer(plus.webview.currentWebview());
});
添加多个窗口的时候前面添加的没有显示,只是显示了最后添加的,不知这个是不是一个BUG
MQ17 (作者)
为什么会这样呢?怎么才能添加多个?
2015-07-28 01:09
[已删除]
添加多个子页面 然后通过 show hide 控制 只有一个可以显示出来
2015-07-28 12:47