Authored by whb

修改bug

@@ -9,6 +9,7 @@ define('mobile', function(require, exports) { @@ -9,6 +9,7 @@ define('mobile', function(require, exports) {
9 swipe = require("plugins/swipe"), 9 swipe = require("plugins/swipe"),
10 share = require("plugins/share"), 10 share = require("plugins/share"),
11 common = require("common"), 11 common = require("common"),
  12 + store = require("lib/util/store"),
12 swiper = require("plugins/idangerous.swiper"), 13 swiper = require("plugins/idangerous.swiper"),
13 mlellipsis = require("plugins/mlellipsis"); 14 mlellipsis = require("plugins/mlellipsis");
14 require("plugins/imgZoom"); 15 require("plugins/imgZoom");
@@ -30,10 +31,15 @@ define('mobile', function(require, exports) { @@ -30,10 +31,15 @@ define('mobile', function(require, exports) {
30 } 31 }
31 } 32 }
32 }); 33 });
33 - 34 + if(store.get('download_state')) {
  35 + $('.header-download-wrap').remove();
  36 + } else {
  37 + $('.header-download-wrap').show();
  38 + }
34 //关闭下载 39 //关闭下载
35 $('.header-download-wrap').on('click', '.tip-close', function() { 40 $('.header-download-wrap').on('click', '.tip-close', function() {
36 $('.header-download-wrap').remove(); 41 $('.header-download-wrap').remove();
  42 + store.set('download_state',1);
37 }); 43 });
38 } 44 }
39 }; 45 };
@@ -113,7 +113,7 @@ class Config_Defines @@ -113,7 +113,7 @@ class Config_Defines
113 // 静态资源目录 113 // 静态资源目录
114 define('SITE_RES', 'http://res.yohood.test.yoho.cn'); 114 define('SITE_RES', 'http://res.yohood.test.yoho.cn');
115 // 主站 115 // 主站
116 - define('SITE_MAIN', 'http://yohood.dev.test.yoho.cn'); 116 + define('SITE_MAIN', 'http://yohood.test.yoho.cn');
117 define('QINIU_UPLOAD_STATE', true); 117 define('QINIU_UPLOAD_STATE', true);
118 define('QINIU_UPLOAD_CLASS', 'Lib_Utils_QiniuUpload'); 118 define('QINIU_UPLOAD_CLASS', 'Lib_Utils_QiniuUpload');
119 define('QINIU_UPLOAD_ACCESSKEY', 'cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE'); 119 define('QINIU_UPLOAD_ACCESSKEY', 'cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE');
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <body> 14 <body>
15 <div class="mobile-wrap"> 15 <div class="mobile-wrap">
16 <div class="hd"> 16 <div class="hd">
17 - <div class="header-download-wrap"> 17 + <div class="header-download-wrap" style="display:none">
18 <div class="header-download clearfix"> 18 <div class="header-download clearfix">
19 <div class="tip-pic"></div> 19 <div class="tip-pic"></div>
20 <div class="tip-info"> 20 <div class="tip-info">