diff --git a/css/shoppingcart.css b/css/shoppingcart.css index e98ca52..ac05d44 100644 --- a/css/shoppingcart.css +++ b/css/shoppingcart.css @@ -37,7 +37,7 @@ body:after { .check_0 { width: 18px; height: 18px; - background: url(http://www.zgqlg.com.cn/static/app2/img/no_checked.png) no-repeat top left; + background: url(../img/icon_check0.png) no-repeat top left; background-size: 18px 18px; border-radius: 50%; } @@ -45,7 +45,7 @@ body:after { .check_1 { width: 18px; height: 18px; - background: url(http://www.zgqlg.com.cn/static/app2/img/checked.png) no-repeat top left; + background: url(../img/icon_check1.png) no-repeat top left; background-size: 18px 18px; border-radius: 50%; } diff --git a/js/common.js b/js/common.js index c1e241b..c76954e 100644 --- a/js/common.js +++ b/js/common.js @@ -1,15 +1,11 @@ var is_app = 1; var imgUrl = 'http://img.zgqlg.com.cn/'; var webUrl = 'http://www.zgqlg.com.cn/'; -var webUrl1 = 'http://www.zgqlg.com.cn/'; -// var imgUrl = 'http://qlg.qgmzbxs.com/'; // var webUrl = 'http://qlg.qgmzbxs.com/'; -// var webUrl1 = 'http://qlg.qgmzbxs.com/'; var cssUrl = localStorage.getItem("cssUrl"); var jsUrl = localStorage.getItem("jsUrl"); var version = localStorage.getItem("version"); function qlgUrl(url) { - console.log(webUrl) return webUrl + url; } diff --git a/js/index.js b/js/index.js index 49d3940..c984d0d 100644 --- a/js/index.js +++ b/js/index.js @@ -66,13 +66,6 @@ mui.plusReady(function() { success: function(data) { //服务器返回响应,根据响应结果,分析是否登录成功;clearInterval(timer) // clearInterval(timer); localStorage.setItem('version', data.version); - if (0 == is_juzi_online) { - localStorage.setItem('cssUrl', "../css/"); - localStorage.setItem('jsUrl', "../js/"); - } else { - localStorage.setItem('cssUrl', data.cssUrl ? data.cssUrl : "../css/"); - localStorage.setItem('jsUrl', data.jsUrl ? data.jsUrl : "../js/"); - } $('nav').css('display', 'block'); $('#bg').css('display', 'none'); var ipxSizeTop = 0; diff --git a/js/start.js b/js/start.js index f520443..91421da 100644 --- a/js/start.js +++ b/js/start.js @@ -24,32 +24,20 @@ function init(data) { success: function(data) { if(data.results[0].version > ver) { - if(ios_must_update == 0) { - if(confirm("发现新版本:V" + data.results[0].version + "是否更新")) { - document.location.href = iosUrl; //上新APPStore下载地址 - } - } else { - mui.alert("发现新版本:V" + data.results[0].version + "是否更新") + if(confirm("发现新版本:V" + data.results[0].version + "是否更新")) { document.location.href = iosUrl; //上新APPStore下载地址 } - } else { - + return; } } }); } else if(/android/.test(ua)) { if(apk_version > ver) { - if(must_update == 0) { - if(confirm("发现新版本:V" + apk_version + "是否更新")) { - downloadUpdate(apkUrl) - } + if(confirm("发现新版本:V" + apk_version + "是否更新")) { + downloadUpdate(apkUrl) } else { - if(confirm("发现新版本:V" + apk_version + "是否更新")) { - downloadUpdate(apkUrl) - } else { - plus.runtime.quit(); - } + plus.runtime.quit(); } } else { // console.log('当前版本号已是最新'); diff --git a/manifest.json b/manifest.json index 1be0bc8..31a441e 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id" : "H5436787D", "name" : "全亮共商城", "version" : { - "name" : "2.4.4", + "name" : "2.4.5", "code" : 94 }, "description" : "",