Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
ccb-lantern
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
c55bc4e1
authored
Jan 28, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
233ccebe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Public/static/js/common.js
+9
-9
No files found.
Public/static/js/common.js
View file @
c55bc4e1
...
@@ -153,14 +153,14 @@ const colorList = {
...
@@ -153,14 +153,14 @@ const colorList = {
};
};
//小装饰图片地址
//小装饰图片地址
let
decorateList
=
[
let
decorateList
=
[
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate1.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate1.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate2.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate2.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate3.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate3.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate4.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate4.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate5.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate5.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate6.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate6.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate7.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate7.png'
,
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/decorate8.png'
,
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/decorate8.png'
,
];
];
//用户选择的flag列表
//用户选择的flag列表
...
@@ -679,7 +679,7 @@ function closeCheckFlagList() {
...
@@ -679,7 +679,7 @@ function closeCheckFlagList() {
function
setDecorate
(
event
)
{
function
setDecorate
(
event
)
{
let
src
=
event
.
target
.
src
;
let
src
=
event
.
target
.
src
;
checkedDecorate
=
src
;
checkedDecorate
=
src
;
checkedDecorate
=
'http://c
hinaamc-2020flag
.izhida.cn/Public/static/image2/'
+
src
.
replace
(
"https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.1.7/image2/"
,
""
);
checkedDecorate
=
'http://c
cb-lantern.dev
.izhida.cn/Public/static/image2/'
+
src
.
replace
(
"https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.1.7/image2/"
,
""
);
$
(
'.personal-page .checked-decorate-img'
).
css
(
'background'
,
'url('
+
src
+
') left top no-repeat'
)
$
(
'.personal-page .checked-decorate-img'
).
css
(
'background'
,
'url('
+
src
+
') left top no-repeat'
)
.
css
(
'backgroundSize'
,
'100%'
);
.
css
(
'backgroundSize'
,
'100%'
);
}
}
...
...
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