启动页显示优化
This commit is contained in:
+12
-1
@@ -6,9 +6,10 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="stylesheet" href="css/sm.css">
|
||||
<link rel="stylesheet" href="css/mui.min.css">
|
||||
<link rel="stylesheet" href="css/main.css">
|
||||
|
||||
<style>
|
||||
.mui-bar-tab{background:#fff;box-shadow:none;}
|
||||
.mui-bar-tab .mui-tab-item{border-top:solid 1px #e7e7e7;}
|
||||
@@ -16,10 +17,18 @@
|
||||
.mui-bar-tab .mui-tab-item.mui-active .mui-icon{color:#F18D00;}
|
||||
.mui-bar-tab .mui-tab-item .mui-icon~.mui-tab-label{color:#C3C0BC;}
|
||||
.mui-bar-tab .mui-tab-item.mui-active .mui-icon~.mui-tab-label{color:#F18D00;}
|
||||
|
||||
.loadingBg{width:100%;height:100%;background:#fff;overflow:hidden;position:absolute;top:11px;left:0;z-index:100;}
|
||||
.loadingBg .infinite-scroll-preloader{margin-top:30%;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="loadingBg">
|
||||
<div class="infinite-scroll-preloader">
|
||||
<div class="preloader"></div>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="mui-bar mui-bar-tab">
|
||||
<a class="mui-tab-item mui-active" id="defaultTab" href="yfindex.html">
|
||||
<span class="mui-icon iconfont icon-tab01"></span>
|
||||
@@ -89,6 +98,7 @@
|
||||
|
||||
} else {
|
||||
loadStartPage();
|
||||
|
||||
//显示启动导航
|
||||
mui.openWindow({
|
||||
id: 'guide',
|
||||
@@ -103,6 +113,7 @@
|
||||
autoShow: false
|
||||
}
|
||||
});
|
||||
setTimeout(function(){$(".loadingBg").hide();},1000)
|
||||
}
|
||||
var self = plus.webview.currentWebview();
|
||||
for (var i = 0; i < 4; i++) {
|
||||
|
||||
@@ -2035,7 +2035,6 @@ function addItems(number, lastIndex) {
|
||||
function loadImg(url, obj){
|
||||
if($(obj).attr("src") == 'cardInfoPlaceholderImg.png'){
|
||||
$(obj).attr("src", url)
|
||||
console.log("+=============="+url);
|
||||
}
|
||||
}
|
||||
//数量进行转换
|
||||
|
||||
Reference in New Issue
Block a user