Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
chinaamc-2020flag
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
68c1035c
authored
Jan 09, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
b5b31eab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
35 deletions
+13
-35
Public/static/js/common.js
+13
-35
No files found.
Public/static/js/common.js
View file @
68c1035c
...
...
@@ -50,9 +50,9 @@ if ($('div').length > 0) {
preloadimages
(
preloadImageList
,
function
()
{
//
$('.page1').fadeIn(300);
$
(
'.poster-page'
).
fadeIn
(
300
);
createPoster
();
$
(
'.page1'
).
fadeIn
(
300
);
//
$('.poster-page').fadeIn(300);
},
function
(
progress
)
{
});
...
...
@@ -148,37 +148,11 @@ let decorateList = [
];
//用户选择的flag列表
let
flagStack
=
[
'升职加薪'
,
'早日暴富'
,
'拿到一个新项目'
,
'考过CFA'
,
'迎战CPA'
,
'读10本金融类书籍'
,
'提升工作核心技能'
,
'拿下自己的Dream car'
,
'买一套小房子'
,
'存款超过6位数'
,
'回家继承家业'
,
'结婚,靠份子钱增收'
,
'拥有苹果全家桶'
,
'坚持基金定投'
,
'坚持记账'
,
'get一项理财技能'
,
'为孩子做教育基金定投'
,
'好好存钱,认真把养老问题提上日程'
,
'投资收益超主业,躺着赚钱'
,
'靠理财收益,实现水果自由'
,
'好好理财,买全李佳琪推荐口红'
,
'理财收益多一点,猫粮争取升一级'
,
'用理财收益,来场说走就走的旅行'
,
'多赚钱,去看一看世界和远方'
,
];
let
flagStack
=
[];
//用户选择的小装饰src
let
checkedDecorate
=
decorateList
[
0
]
;
let
checkedDecorate
;
//用户署名
let
signature
=
"老张"
;
let
signature
;
//用户选择的色条index
let
colorIndex
=
4
;
//用户选择的背景色
...
...
@@ -429,7 +403,8 @@ function drawFlagItem(initialPosition) {
}
function
showPosterPage
()
{
createPoster
();
$
(
'.effect-page'
).
fadeOut
(
300
);
$
(
'.poster-page'
).
show
();
}
function
showCountDownPage
()
{
...
...
@@ -440,17 +415,20 @@ function showCountDownPage() {
return
false
;
}
$
(
'.countdown-page'
).
css
(
'background'
,
bgColor
);
createPoster
();
$
(
'.countdown-page'
).
show
();
$
(
'.suggest-page .suggest-wrap'
).
addClass
(
'animate'
);
signature
=
val
;
setTimeout
(
function
()
{
$
(
'.suggest-page'
).
fadeOut
(
300
);
countDown
(
function
()
{
$
(
'.countdown-page'
).
fadeOut
(
300
);
$
(
'.effect-page'
).
css
(
'background'
,
bgColor
).
show
();
showPosterPage
();
setTimeout
(
function
()
{
showPosterPage
();
},
3000
);
});
},
500
);
}
...
...
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