Authored by whb

修改bug

... ... @@ -9,6 +9,7 @@ define('mobile', function(require, exports) {
swipe = require("plugins/swipe"),
share = require("plugins/share"),
common = require("common"),
store = require("lib/util/store"),
swiper = require("plugins/idangerous.swiper"),
mlellipsis = require("plugins/mlellipsis");
require("plugins/imgZoom");
... ... @@ -30,10 +31,15 @@ define('mobile', function(require, exports) {
}
}
});
if(store.get('download_state')) {
$('.header-download-wrap').remove();
} else {
$('.header-download-wrap').show();
}
//关闭下载
$('.header-download-wrap').on('click', '.tip-close', function() {
$('.header-download-wrap').remove();
store.set('download_state',1);
});
}
};
... ...
... ... @@ -113,7 +113,7 @@ class Config_Defines
// 静态资源目录
define('SITE_RES', 'http://res.yohood.test.yoho.cn');
// 主站
define('SITE_MAIN', 'http://yohood.dev.test.yoho.cn');
define('SITE_MAIN', 'http://yohood.test.yoho.cn');
define('QINIU_UPLOAD_STATE', true);
define('QINIU_UPLOAD_CLASS', 'Lib_Utils_QiniuUpload');
define('QINIU_UPLOAD_ACCESSKEY', 'cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE');
... ...
... ... @@ -14,7 +14,7 @@
<body>
<div class="mobile-wrap">
<div class="hd">
<div class="header-download-wrap">
<div class="header-download-wrap" style="display:none">
<div class="header-download clearfix">
<div class="tip-pic"></div>
<div class="tip-info">
... ...