Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
lijing
2016-11-04 16:16:39 +0800
Commit
9bcada2bc44ddffba226ae770d1baf28b073d712
2 parents
f64b1a7c
72a024cf
商品列表页增加预售标签
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
2 deletions
apps/activity/views/action/student.hbs
apps/activity/views/action/verify.hbs
apps/guang/views/partial/good.hbs
apps/product/views/action/detail/detail.hbs
apps/product/views/action/recom/goods.hbs
doraemon/views/partial/common/goods.hbs
public/scss/common/_good.css
public/scss/product/detail/_detail.css
apps/activity/views/action/student.hbs
View file @
9bcada2
...
...
@@ -115,6 +115,9 @@
{{#
isLimited
}}
<p
class=
"good-tag limit-tag"
>
限量
</p>
{{/
isLimited
}}
{{#
isPresell
}}
<p
class=
"good-tag is-presell"
>
预售
</p>
{{/
isPresell
}}
{{/
tags
}}
</div>
<div
class=
"good-detail-img"
>
...
...
apps/activity/views/action/verify.hbs
View file @
9bcada2
...
...
@@ -44,6 +44,9 @@
{{#
isLimited
}}
<p
class=
"good-tag limit-tag"
>
限量
</p>
{{/
isLimited
}}
{{#
isPresell
}}
<p
class=
"good-tag is-presell"
>
预售
</p>
{{/
isPresell
}}
{{/
tags
}}
</div>
<div
class=
"good-detail-img"
>
...
...
apps/guang/views/partial/good.hbs
View file @
9bcada2
...
...
@@ -18,6 +18,9 @@
{{#
is_limited
}}
<p
class=
"good-tag limit-tag"
>
限量
</p>
{{/
is_limited
}}
{{#
is_presell
}}
<p
class=
"good-tag is-presell"
>
预售
</p>
{{/
is_presell
}}
{{/
tags
}}
</div>
<div
class=
"good-detail-img"
>
...
...
apps/product/views/action/detail/detail.hbs
View file @
9bcada2
...
...
@@ -22,7 +22,7 @@
<p
class=
"good-tag soon-sold-out-tag"
>
即将售罄
</p>
{{/
is_soon_sold_out
}}
{{#
is_presell
}}
<p
class=
"good-tag is
_
presell"
>
预售
</p>
<p
class=
"good-tag is
-
presell"
>
预售
</p>
{{/
is_presell
}}
{{/
tags
}}
</div>
...
...
apps/product/views/action/recom/goods.hbs
View file @
9bcada2
...
...
@@ -19,6 +19,9 @@
{{#if
isLimited
}}
<p
class=
"good-tag limit-tag"
>
限量商品
</p>
{{/if}}
{{#
isPresell
}}
<p
class=
"good-tag is-presell"
>
预售
</p>
{{/
isPresell
}}
{{/
each
}}
</div>
<div
class=
"good-detail-img"
>
...
...
doraemon/views/partial/common/goods.hbs
View file @
9bcada2
...
...
@@ -20,6 +20,9 @@
{{#
is_limited
}}
<p
class=
"good-tag limit-tag"
>
限量
</p>
{{/
is_limited
}}
{{#
is_presell
}}
<p
class=
"good-tag is-presell"
>
预售
</p>
{{/
is_presell
}}
{{/
tags
}}
</div>
<div
class=
"good-detail-img"
>
...
...
public/scss/common/_good.css
View file @
9bcada2
...
...
@@ -62,6 +62,12 @@
border
:
1px
solid
#000
;
color
:
#000
;
}
.is-presell
{
width
:
60px
;
background-color
:
#000
;
color
:
#fff
;
}
}
}
...
...
public/scss/product/detail/_detail.css
View file @
9bcada2
...
...
@@ -186,9 +186,10 @@ $basicBtnC: #eb0313;
color
:
#fff
;
}
.is
_
presell
{
.is
-
presell
{
background-color
:
#000
;
color
:
#fff
;
width
:
60px
;
}
}
...
...
Please
register
or
login
to post a comment