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
29c9f98f
authored
Jan 08, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
70db77bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
Public/static/js/common.js
+10
-1
No files found.
Public/static/js/common.js
View file @
29c9f98f
...
@@ -219,8 +219,10 @@ $(document).ready(function () {
...
@@ -219,8 +219,10 @@ $(document).ready(function () {
},
changeMainColor
);
},
changeMainColor
);
//小装饰点击
//小装饰点击
$
(
document
).
on
(
'click'
,
'.personal-page .decorateImg'
,
setDecorate
);
$
(
document
).
on
(
'click'
,
'.personal-page .decorateImg'
,
setDecorate
);
//
打开
已选flag列表
//
切换
已选flag列表
$
(
'.flag-page .btn-show-choose'
).
on
(
'click'
,
toggleCheckFlagList
);
$
(
'.flag-page .btn-show-choose'
).
on
(
'click'
,
toggleCheckFlagList
);
//关闭已选flag列表
$
(
'.flag-page .btn-close-checked'
).
on
(
'click'
,
closeCheckFlagList
);
});
});
function
toggleCheckFlagList
()
{
function
toggleCheckFlagList
()
{
...
@@ -233,6 +235,13 @@ function toggleCheckFlagList() {
...
@@ -233,6 +235,13 @@ function toggleCheckFlagList() {
}
}
}
}
function
closeCheckFlagList
()
{
if
(
checkFlagListStatus
)
{
$
(
'.checked-flag-list'
).
css
(
'transform'
,
'scale(0)'
);
checkFlagListStatus
=
false
;
}
}
function
setDecorate
(
event
)
{
function
setDecorate
(
event
)
{
let
src
=
event
.
target
.
src
;
let
src
=
event
.
target
.
src
;
checkedDecorate
=
src
;
checkedDecorate
=
src
;
...
...
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