Merge branch 'master' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1.1

This commit is contained in:
尹吉欢
2018-05-02 10:22:45 +08:00
17 changed files with 197 additions and 66 deletions
+6 -2
View File
@@ -118,10 +118,11 @@
var self = plus.webview.currentWebview();
for (var i = 0; i < 4; i++) {
var temp = {};
var sub = plus.webview.create(subpages[i], subpages[i], subpage_style);
if (i > 0) {
sub.hide();
/*var sub = plus.webview.create(subpages[i], subpages[i], subpage_style);
sub.hide();*/
}else{
var sub = plus.webview.create(subpages[i], subpages[i], subpage_style);
temp[subpages[i]] = "true";
mui.extend(aniShow,temp);
}
@@ -142,6 +143,9 @@
//显示目标选项卡
//若为iOS平台或非首次显示,则直接显示
if(mui.os.ios||aniShow[targetTab]){
if(plus.webview.getWebviewById(targetTab)==null){
plus.webview.create(targetTab, targetTab, subpage_style)
}
plus.webview.show(targetTab);
}else{
//否则,使用fade-in动画,且保存变量