Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
ccb-lantern
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
112377b6
authored
Feb 07, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
ad4f3728
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
Application/Common/Conf/config.php
+1
-1
Public/static/js/common.js
+18
-18
No files found.
Application/Common/Conf/config.php
View file @
112377b6
...
...
@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__'
=>
'https://static3.izhida.cn/cdn1/ccb-lantern/v1.0.
2
'
,
'__CDN__'
=>
'https://static3.izhida.cn/cdn1/ccb-lantern/v1.0.
3
'
,
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL'
=>
3
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
...
...
Public/static/js/common.js
View file @
112377b6
...
...
@@ -52,24 +52,24 @@ $('.loading-page .loading-gif-block').append('<img class="loading-gif" src="' +
$
(
'.loading-page'
).
prepend
(
'<div class="loading-text"></div>'
);
$
(
'.loading-page'
).
show
();
preloadimages
(
preloadImageList
,
function
()
{
if
(
browser
.
versions
.
weixin
)
{
let
musicTime
=
setInterval
(
function
()
{
if
(
$
(
'#music'
)[
0
].
currentTime
>
0
)
{
$
(
'.loading-page'
).
fadeOut
();
$
(
'.home-page'
).
fadeIn
(
300
);
$
(
'.home-page .btn-next'
).
addClass
(
'animate'
);
$
(
'.wrap-inner'
).
prepend
(
$
(
'<div class="font">1</div>'
));
clearInterval
(
musicTime
);
}
},
100
);
}
else
{
$
(
'.loading-page'
).
fadeOut
();
$
(
'.home-page'
).
fadeIn
(
300
);
$
(
'.home-page .candle-block'
).
addClass
(
'animate'
);
$
(
'.home-page .btn-next'
).
addClass
(
'animate'
);
$
(
'.wrap-inner'
).
prepend
(
$
(
'<div class="font">1</div>'
));
}
//
if (browser.versions.weixin) {
//
let musicTime = setInterval(function () {
//
if ($('#music')[0].currentTime > 0) {
//
$('.loading-page').fadeOut();
//
$('.home-page').fadeIn(300);
//
$('.home-page .btn-next').addClass('animate');
//
$('.wrap-inner').prepend($('<div class="font">1</div>'));
//
clearInterval(musicTime);
//
}
//
}, 100);
//
} else {
//
$('.loading-page').fadeOut();
//
$('.home-page').fadeIn(300);
//
$('.home-page .candle-block').addClass('animate');
//
$('.home-page .btn-next').addClass('animate');
//
$('.wrap-inner').prepend($('<div class="font">1</div>'));
//
}
//海报测试逻辑
// $('.loading-page').fadeOut();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment