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
2f5098ef
authored
Jan 09, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
1d4db2c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
7 deletions
+31
-7
Public/static/css/index.css
+20
-5
Public/static/js/common.js
+11
-2
No files found.
Public/static/css/index.css
View file @
2f5098ef
...
@@ -68,7 +68,7 @@ input::-webkit-input-placeholder {
...
@@ -68,7 +68,7 @@ input::-webkit-input-placeholder {
/* page1 */
/* page1 */
.page1
{
.page1
{
z-index
:
4
;
z-index
:
5
;
}
}
.page1
.red-line
{
.page1
.red-line
{
...
@@ -84,7 +84,7 @@ input::-webkit-input-placeholder {
...
@@ -84,7 +84,7 @@ input::-webkit-input-placeholder {
/* flag-page */
/* flag-page */
.flag-page
{
.flag-page
{
z-index
:
3
;
z-index
:
4
;
animation
:
all
0.3s
linear
forwards
;
animation
:
all
0.3s
linear
forwards
;
-webkit-animation
:
all
0.3s
linear
forwards
;
-webkit-animation
:
all
0.3s
linear
forwards
;
}
}
...
@@ -152,7 +152,7 @@ input::-webkit-input-placeholder {
...
@@ -152,7 +152,7 @@ input::-webkit-input-placeholder {
transform-origin
:
0%
0%
;
transform-origin
:
0%
0%
;
background
:
#fcfcfd
;
background
:
#fcfcfd
;
transform
:
scale
(
0
);
transform
:
scale
(
0
);
z-index
:
2
;
z-index
:
3
;
}
}
.flag-page
.flag-list-content
{
.flag-page
.flag-list-content
{
...
@@ -248,7 +248,7 @@ input::-webkit-input-placeholder {
...
@@ -248,7 +248,7 @@ input::-webkit-input-placeholder {
background
:
#e5382a
;
background
:
#e5382a
;
transition
:
all
linear
.3s
;
transition
:
all
linear
.3s
;
-webkit-transition
:
all
linear
.3s
;
-webkit-transition
:
all
linear
.3s
;
z-index
:
2
;
z-index
:
3
;
}
}
.personal-page
.decorate-img
{
.personal-page
.decorate-img
{
...
@@ -346,7 +346,7 @@ input::-webkit-input-placeholder {
...
@@ -346,7 +346,7 @@ input::-webkit-input-placeholder {
/* suggest-page */
/* suggest-page */
.suggest-page
{
.suggest-page
{
z-index
:
1
;
z-index
:
2
;
}
}
input
[
name
=
signature
]
{
input
[
name
=
signature
]
{
...
@@ -367,6 +367,21 @@ input[name=signature]::-webkit-input-placeholder {
...
@@ -367,6 +367,21 @@ input[name=signature]::-webkit-input-placeholder {
-webkit-animation
:
flicker
1s
ease
infinite
;
-webkit-animation
:
flicker
1s
ease
infinite
;
}
}
.suggest-wrap.animate
{
animation
:
wrapScale
1s
linear
forwards
;
-webkit-animation
:
wrapScale
1s
linear
forwards
;
}
@keyframes
wrapScale
{
0
%
{
transform
:
scale
(
1
);
}
100
%
{
transform
:
scale
(
0
);
}
}
@keyframes
flicker
{
@keyframes
flicker
{
0
%,
0
%,
...
...
Public/static/js/common.js
View file @
2f5098ef
...
@@ -284,8 +284,17 @@ $(document).ready(function () {
...
@@ -284,8 +284,17 @@ $(document).ready(function () {
$
(
'.suggest-page input[name=signature]'
).
on
(
'touchstart'
,
checkAgree
);
$
(
'.suggest-page input[name=signature]'
).
on
(
'touchstart'
,
checkAgree
);
//同意点击
//同意点击
$
(
'.suggest-page .agree'
).
on
(
'click'
,
agreeSuggest
);
$
(
'.suggest-page .agree'
).
on
(
'click'
,
agreeSuggest
);
//完成署名
$
(
'.suggest-page .btn-next'
).
on
(
'click'
,
showCountDownPage
);
});
});
function
showCountDownPage
()
{
$
(
'.suggest-page .suggest-wrap'
).
addClass
(
'animate'
);
setTimeout
(
function
()
{
$
(
'.suggest-page'
).
fadeOut
(
300
);
},
500
);
}
function
agreeSuggest
()
{
function
agreeSuggest
()
{
$
(
'.suggest-page .agree'
).
hide
();
$
(
'.suggest-page .agree'
).
hide
();
$
(
'.suggest-page .agree-active'
).
show
();
$
(
'.suggest-page .agree-active'
).
show
();
...
@@ -325,7 +334,7 @@ function backToFlag() {
...
@@ -325,7 +334,7 @@ function backToFlag() {
$
(
'.flag-page'
).
animate
({
$
(
'.flag-page'
).
animate
({
'opacity'
:
1
'opacity'
:
1
},
300
,
''
,
function
()
{
},
300
,
''
,
function
()
{
$
(
'.flag-page'
).
css
(
'z-index'
,
'
3
'
);
$
(
'.flag-page'
).
css
(
'z-index'
,
'
4
'
);
});
});
}
}
...
@@ -449,7 +458,7 @@ function showPersonalPage() {
...
@@ -449,7 +458,7 @@ function showPersonalPage() {
$
(
'.flag-page'
).
animate
({
$
(
'.flag-page'
).
animate
({
'opacity'
:
0
'opacity'
:
0
},
300
,
''
,
function
()
{
},
300
,
''
,
function
()
{
$
(
'.flag-page'
).
css
(
'z-index'
,
'
1
'
);
$
(
'.flag-page'
).
css
(
'z-index'
,
'
2
'
);
});
});
$
(
'.personal-page'
).
fadeIn
(
300
);
$
(
'.personal-page'
).
fadeIn
(
300
);
// 创建个性化页面的flag列表
// 创建个性化页面的flag列表
...
...
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