Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
maf
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
ab1247f3
authored
Jan 14, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
7daedd72
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
Public/static/css/index.css
+1
-1
Public/static/js/common.js
+3
-0
No files found.
Public/static/css/index.css
View file @
ab1247f3
...
@@ -91,7 +91,7 @@ input::-webkit-input-placeholder {
...
@@ -91,7 +91,7 @@ input::-webkit-input-placeholder {
background-size
:
100%
;
background-size
:
100%
;
}
}
.home-page
.tips
{
.home-page
.tips
.animate
{
text-align
:
center
;
text-align
:
center
;
color
:
#f00
;
color
:
#f00
;
font-size
:
0.9rem
;
font-size
:
0.9rem
;
...
...
Public/static/js/common.js
View file @
ab1247f3
...
@@ -162,6 +162,7 @@ function hideRule() {
...
@@ -162,6 +162,7 @@ function hideRule() {
function
showRule
()
{
function
showRule
()
{
checkedRule
=
true
;
checkedRule
=
true
;
$
(
'.home-page .tips'
).
removeClass
(
'animate'
).
hide
();
$
(
'.rule-block'
).
scrollTop
(
0
);
$
(
'.rule-block'
).
scrollTop
(
0
);
$
(
'.rule-page'
).
show
();
$
(
'.rule-page'
).
show
();
}
}
...
@@ -412,6 +413,8 @@ function showQuestion() {
...
@@ -412,6 +413,8 @@ function showQuestion() {
initQuestion
();
initQuestion
();
$
(
'.home-page'
).
hide
();
$
(
'.home-page'
).
hide
();
$
(
'.question-page'
).
show
();
$
(
'.question-page'
).
show
();
}
else
{
$
(
'.home-page .tips'
).
text
(
'请阅读并同意活动规则及隐私条款进入答题'
).
addClass
(
'animate'
);
}
}
}
}
...
...
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