Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
0d73c05e724c9b00141a53bc11a1d4c615bc5caa
1 parent
9551e31d
postcss 完善
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
10 deletions
static/gulpfile.js
static/img/sprite.guang.png
static/img/sprite.me.png
static/sass/_good.css
static/sass/category/_brand.css
static/sass/home/_header-download.css
static/sass/home/_side-nav.css
static/sass/home/_trend-tops.css
static/sass/me/_logistic.css
static/sass/me/_suggest.css
static/gulpfile.js
View file @
0d73c05
...
...
@@ -42,13 +42,14 @@ gulp.task('default', ['postcss-dev', 'postcss-watch', 'spm-doc']);
function
postcssEnvPlugin
(
env
)
{
var
sprites
=
{
spritesmith
:
{
padding
:
2
padding
:
4
},
groupBy
:
function
(
file
)
{
// 根据目录分组,防止合并后的图片太大
var
group
=
file
.
url
.
split
(
'/'
)[
1
];
file
.
retina
=
true
;
// H5 强制所有图片都是用二倍图
return
group
?
Promise
.
resolve
(
group
)
:
Promise
.
reject
();
},
filterBy
:
function
(
file
)
{
...
...
static/img/sprite.guang.png
View file @
0d73c05
21.5 KB
|
W:
|
H:
21.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/img/sprite.me.png
View file @
0d73c05
23.4 KB
|
W:
|
H:
23.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/sass/_good.css
View file @
0d73c05
...
...
@@ -2,7 +2,7 @@
float
:
left
;
width
:
276px
;
height
:
486px
;
margin
:
0
(
15px
)
(
15px
)
;
margin
:
0
15px
15px
;
.tag-container
{
height
:
28px
;
...
...
@@ -114,7 +114,7 @@
color
:
#000
;
}
.market-price
{
margin
:
0
0
0
(
5px
)
;
margin
:
0
0
0
5px
;
color
:
#b0b0b0
;
text-decoration
:
line-through
;
}
...
...
static/sass/category/_brand.css
View file @
0d73c05
...
...
@@ -154,7 +154,7 @@
}
.hot-brand
{
margin
:
(
30px
)
0
0
;
margin
:
30px
0
0
;
.hot-brand-list
{
background
:
#fff
;
...
...
static/sass/home/_header-download.css
View file @
0d73c05
...
...
@@ -23,7 +23,7 @@
}
.download-btn
{
display
:
block
;
margin
:
(
18px
)
auto
0
;
margin
:
18px
auto
0
;
width
:
294px
;
height
:
64px
;
line-height
:
64px
;
...
...
static/sass/home/_side-nav.css
View file @
0d73c05
...
...
@@ -192,7 +192,7 @@
a
{
position
:
relative
;
display
:
block
;
margin
:
0
0
0
(
30px
)
;
margin
:
0
0
0
30px
;
padding-left
:
10px
;
font-size
:
36px
;
z-index
:
2
;
...
...
static/sass/home/_trend-tops.css
View file @
0d73c05
...
...
@@ -88,7 +88,7 @@
margin-top
:
20px
;
width
:
100%
;
height
:
20px
;
line-height
:
(
20px
)
auto
;
line-height
:
20px
auto
;
text-align
:
center
;
}
...
...
static/sass/me/_logistic.css
View file @
0d73c05
...
...
@@ -99,7 +99,7 @@ $border_color_light: #eee;
}
.timeline-info
{
padding
:
(
20px
)
0
;
padding
:
20px
0
;
@mixin
set-singleBorder
"bottom",$border_color_strong;
}
...
...
static/sass/me/_suggest.css
View file @
0d73c05
/*$suggest: sprite-map("/me/suggest/*.png",$spacing: 5px);*/
.yoho-suggest-page
{
width
:
100%
;
height
:
auto
;
...
...
Please
register
or
login
to post a comment