Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
a745fa4b5c72ba37bec1a84298fd0c89b469ad76
1 parent
4b0328c8
修改bug
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
res/js/mobile.js
website/config/Defines.class.php
website/view/layout/default_layout_mobile.php
res/js/mobile.js
View file @
a745fa4
...
...
@@ -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
);
});
}
};
...
...
website/config/Defines.class.php
View file @
a745fa4
...
...
@@ -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'
);
...
...
website/view/layout/default_layout_mobile.php
View file @
a745fa4
...
...
@@ -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"
>
...
...
Please
register
or
login
to post a comment