Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
e5b999fa4eb3a423532d4e2edae5b1ed55d7dd5e
1 parent
fccddc33
round color 背景图调整
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
doraemon/views/partial/round-color.hbs
public/scss/components/_round-color.css
doraemon/views/partial/round-color.hbs
View file @
e5b999f
<label
class=
"round-color
{{#if
cur
}}
cur
{{/if}}
"
title=
"
{{
title
}}
"
>
<div
class=
"icon-back"
style=
"background:
{{
rgb
}}
"
></div>
<div
class=
"icon-back"
style=
"background:
{{
rgb
}}
"
>
{{#if
bgImg
}}
<img
src=
"
{{
bgImg
}}
"
>
{{/if}}
</div>
<span
class=
"iconfont icon-cover"
>

</span>
<span
class=
"iconfont icon-round"
>

</span>
</label>
\ No newline at end of file
...
...
public/scss/components/_round-color.css
View file @
e5b999f
...
...
@@ -17,6 +17,11 @@
width
:
90%
;
height
:
90%
;
margin
:
5%
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.icon-cover
{
...
...
Please
register
or
login
to post a comment