Commit e8c78fd1 by doszhang

dos

parent 8ebc43c2
......@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID' => 'zhida_app',
'AUTH_CLIENT_PASSWORD' => 'izhida',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__' => 'https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.0.1',
'__CDN__' => 'https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.0.2',
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
......
......@@ -809,6 +809,10 @@ function addCustomizeFlag() {
setTimeout(function () {
$('.flagadd').removeClass('animate');
}, 2000);
if (firstChooseFlag) {
$('.flag-page .choose-block').addClass('animate');
firstChooseFlag = false;
}
flagStack.push(text);
addFlagToList(text);
$('.flag-page .choose-num').text((chooseNum++) + 1);
......@@ -822,6 +826,10 @@ function addFlag(e) {
my_notify('这个Flag已经立过啦!');
return false;
}
if (firstChooseFlag) {
$('.flag-page .choose-block').addClass('animate');
firstChooseFlag = false;
}
$('#flagMusic')[0].currentTime = 0;
$('#flagMusic')[0].play();
$(e.currentTarget).find('.star1,.star2').addClass('animate');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment