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
011e6274
authored
Jan 07, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
244b3fb5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletions
+17
-1
Public/static/css/index.css
+13
-0
Public/static/image2/decorate1.png
+0
-0
Public/static/js/common.js
+4
-1
No files found.
Public/static/css/index.css
View file @
011e6274
...
@@ -63,10 +63,12 @@ input::-webkit-input-placeholder {
...
@@ -63,10 +63,12 @@ input::-webkit-input-placeholder {
background
:
rgba
(
0
,
0
,
0
,
0.8
);
background
:
rgba
(
0
,
0
,
0
,
0.8
);
}
}
/* page1 */
.page1
{
.page1
{
z-index
:
2
;
z-index
:
2
;
}
}
/* flag-page */
.red-line
{
.red-line
{
background
:
#c30101
;
background
:
#c30101
;
transform
:
scaleX
(
0
);
transform
:
scaleX
(
0
);
...
@@ -152,4 +154,14 @@ input[name=customize-flag] {
...
@@ -152,4 +154,14 @@ input[name=customize-flag] {
100
%
{
100
%
{
transform
:
scaleX
(
1
);
transform
:
scaleX
(
1
);
}
}
}
/* personal-page */
.personal-page
{
background
:
#c30101
;
}
.personal-page
.decorate-img
{
background
:
url('../image2/decorate1.png')
left
top
no-repeat
;
background-size
:
100%
100%
;
}
}
\ No newline at end of file
Public/static/image2/decorate1.png
0 → 100644
View file @
011e6274
1.19 KB
Public/static/js/common.js
View file @
011e6274
...
@@ -85,10 +85,13 @@ let chooseNum = 0;
...
@@ -85,10 +85,13 @@ let chooseNum = 0;
let
oldRandFlag
=
[];
let
oldRandFlag
=
[];
let
first
=
true
;
let
first
=
true
;
let
flagTemplate
=
$
(
'.flag-frame'
).
find
(
'.flag-block'
).
clone
();
let
flagTemplate
=
$
(
'.flag-
page .flag-
frame'
).
find
(
'.flag-block'
).
clone
();
$
(
'.flag-frame'
).
html
(
''
).
addClass
(
'clearfix'
);
$
(
'.flag-frame'
).
html
(
''
).
addClass
(
'clearfix'
);
$
(
'input[name=customize-flag]'
).
attr
(
'placeholder'
,
'也能在这里写你的flag哦'
);
$
(
'input[name=customize-flag]'
).
attr
(
'placeholder'
,
'也能在这里写你的flag哦'
);
let
listTemplate
=
$
(
'.personal-page .flag-list'
).
find
(
'.flag-item'
).
clone
();
$
(
'.personal-page .flag-list'
).
html
(
''
);
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
"input"
).
on
(
"blur"
,
function
()
{
$
(
"input"
).
on
(
"blur"
,
function
()
{
window
.
scroll
(
0
,
0
);
//失焦后强制让页面归位
window
.
scroll
(
0
,
0
);
//失焦后强制让页面归位
...
...
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