Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
2016-06-16 17:17:22 +0800
Commit
8d4a7406c172a89a9004413e20f549e2b41b57e8
2 parents
c0f561b1
157f957e
Merge branch 'release/4.6' of git.yoho.cn:fe/yohobuy-node into release/4.6
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
38 deletions
apps/product/views/action/sale/discount.hbs
apps/product/views/action/sale/index.hbs
apps/product/views/partial/sale/sale-banner.hbs
apps/product/views/partial/sale/sale-box.hbs
doraemon/views/partial/common/slide-banner.hbs
public/dist/yohobuy-node/0.0.1/index.css
public/scss/product/outlets/_index.css
apps/product/views/action/sale/discount.hbs
View file @
8d4a740
{{#
result
}}
<div
class=
"sale-discount-page yoho-page center-content .new-sale-page"
>
{{#
topBanner
}}
{{>
sale
/
sale-banner
}}
{{/
topBanner
}}
<div
class=
"center-content clearfix"
>
{{#
saleTitle
}}
<div
class=
"sale-title"
>
<span
class=
"title"
>
{{
title
}}
</span>
{{#if
discount
}}
<span
class=
"discount"
>
{{
discount
}}
</span>
{{/if}}
{{#if
up
}}
起
{{/if}}
<div
class=
"time pull-right"
>
<span
class=
"iconfont"
>

</span>
<label
class=
"time-calculate hidden"
data=
"
{{
time
}}
"
></label>
</div>
</div>
{{/
saleTitle
}}
<ul
class=
"sort"
>
<li
class=
"title"
>
分类:
</li>
{{#
leftContent
}}
{{#
allSort
}}
{{#
list
}}
<li
class=
"
{{#if
checked
}}
active
{{/if}}
"
><a
href=
"
{{
href
}}
"
>
{{
name
}}
{{#if
num
}}
(
{{
num
}}
)
{{/if}}
</a></li>
{{/
list
}}
{{/
allSort
}}
{{/
leftContent
}}
</ul>
</div>
{{>
sale
/
discount-center-content
}}
...
...
apps/product/views/action/sale/index.hbs
View file @
8d4a740
...
...
@@ -10,9 +10,8 @@
{{>
sale
/
activity-entry
}}
{{>
sale
/
brand-sale
}}
<div
class=
"home-page"
>
{{>
sale
/
sale-box
}}
</div>
</div>
{{/
result
}}
...
...
apps/product/views/partial/sale/sale-banner.hbs
View file @
8d4a740
<div
class=
"sale-list-banner"
>
{{#
topBanner
}}
{{#if
list
}}
<div
class=
"sale-list-banner"
style=
"height: 360px;"
>
<ul>
{{#
list
}}
<li
class=
"banner-img"
style=
"background:url(
{{
image
img
1920
360
}}
) no-repeat top center;"
></li>
{{/
list
}}
</ul>
</div>
</div>
{{/if}}
{{/
topBanner
}}
\ No newline at end of file
...
...
apps/product/views/partial/sale/sale-box.hbs
View file @
8d4a740
{{#
saleCategory
}}
{{#if
navItem
}}
<div
class=
"sale-box"
>
<div
class=
"floor-header clearfix"
>
<h2
class=
"floor-title"
>
{{
title
}}
</h2>
</div>
<ul
class=
"sale-nav"
urlLocation=
"
{{
urlLocation
}}
"
cursor:pointer
>
<ul
class=
"sale-nav"
urlLocation=
"
{{
urlLocation
}}
"
>
{{#
navItem
}}
<li
class=
"
{{#
vip
}}
green
{{/
vip
}}
{{#
incompleteSize
}}
yellow
{{/
incompleteSize
}}
{{#
newDiscount
}}
red
{{/
newDiscount
}}
{{#if
@first
}}
active first
{{/if}}
{{#if
@last
}}
last
{{/if}}
"
urlLocation=
'
{{
urlLocation
}}
'
>
{{
title
}}
</li>
{{/
navItem
}}
...
...
@@ -13,4 +14,5 @@
</ul>
</div>
</div>
{{/if}}
{{/
saleCategory
}}
...
...
doraemon/views/partial/common/slide-banner.hbs
View file @
8d4a740
<div
id=
"slider"
class=
"slide-container
{{#if
pagination
}}
slide-thumb-container
{{/if}}
"
>
{{#
topBanner
}}
<div
id=
"slider"
class=
"slide-container
{{#if
pagination
}}
slide-thumb-container
{{/if}}
"
>
<div
class=
"slide-wrapper"
>
<ul>
{{#
list
}}
...
...
@@ -33,5 +34,6 @@
</ul>
</div>
{{/if}}
</div>
<div
class=
"slide-container-placeholder
{{#if
pagination
}}
slide-thumb-container-placeholder
{{/if}}
"
></div>
</div>
<div
class=
"slide-container-placeholder
{{#if
pagination
}}
slide-thumb-container-placeholder
{{/if}}
"
></div>
{{/
topBanner
}}
...
...
public/dist/yohobuy-node/0.0.1/index.css
View file @
8d4a740
This diff could not be displayed because it is too large.
public/scss/product/outlets/_index.css
View file @
8d4a740
...
...
@@ -75,6 +75,7 @@
.title
{
font-size
:
16px
;
margin
:
28px
0
14px
;
padding
:
0
8px
;
font-weight
:
bold
;
}
...
...
@@ -149,6 +150,17 @@
.good-item
{
padding
:
15px
;
}
.good-item
>
a
{
width
:
90px
;
height
:
120px
;
display
:
inline-block
;
}
.good-item
>
img
{
width
:
100%
;
height
:
100%
;
}
}
.item-text
{
...
...
Please
register
or
login
to post a comment