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 16:12:27 +0800
Commit
50dfb0953d89287678ea5b7fd0bbc4875e16b4a6
2 parents
9095e3af
41a7004d
Merge branch 'release/4.6' of git.yoho.cn:fe/yohobuy-node into release/4.6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
5 deletions
apps/product/views/action/outlets/index.hbs
apps/product/views/partial/outlets/extra-feature.hbs
apps/product/views/partial/outlets/extra-product.hbs
apps/product/views/partial/outlets/limited-buy.hbs
public/scss/product/outlets/_index.css
public/scss/product/outlets/_main-product.css
apps/product/views/action/outlets/index.hbs
View file @
50dfb09
{{!-- <pre>{{resultShow}}</pre> --}}
{{#
result
}}
<div
class=
"outlets-page product-page yoho-page"
>
{{>
common
/
main-banner
}}
...
...
apps/product/views/partial/outlets/extra-feature.hbs
0 → 100644
View file @
50dfb09
{{#
comeSoon
}}
<div
class=
"extra-pack"
>
<div
class=
"extra-title"
>
{{
title
}}
</div>
<div
class=
"brand-list"
>
<ul
class=
"list-page"
>
{{#
brands
}}
<li
class=
"brand-item"
>
<img
class=
"lazy"
data-original=
"
{{
image
logo
126
87
}}
"
>
</li>
{{/
brands
}}
</ul>
</div>
<div
class=
"brand-page-btns page-btns"
onselectstart=
"return false"
>
<label
class=
"iconfont pre-page-btn"
>

</label>
<label
class=
"iconfont next-page-btn"
>

</label>
</div>
</div>
{{/
comeSoon
}}
\ No newline at end of file
...
...
apps/product/views/partial/outlets/extra-product.hbs
View file @
50dfb09
...
...
@@ -22,7 +22,7 @@
{{/
goods
}}
</div>
</div>
<div
class=
"good-page-btns"
onselectstart=
"return false"
>
<div
class=
"good-page-btns
page-btns
"
onselectstart=
"return false"
>
<label
class=
"iconfont pre-page-btn"
>

</label>
<label
class=
"iconfont next-page-btn"
>

</label>
</div>
...
...
apps/product/views/partial/outlets/limited-buy.hbs
View file @
50dfb09
...
...
@@ -10,6 +10,7 @@
</a>
{{/
sourceImg
}}
{{>
outlets
/
extra-recommend
}}
{{>
outlets
/
extra-feature
}}
{{>
outlets
/
extra-product
}}
{{/
extra
}}
</div>
...
...
public/scss/product/outlets/_index.css
View file @
50dfb09
...
...
@@ -108,6 +108,33 @@
}
}
.brand-list
{
width
:
300%
;
.list-page
{
width
:
378px
;
max-height
:
918px
;
overflow
:
hidden
;
display
:
inline-block
;
vertical-align
:
top
;
}
.brand-item
{
width
:
125px
;
height
:
90px
;
float
:
left
;
border
:
1px
solid
#ccc
;
margin-top
:
-1px
;
margin-left
:
-1px
;
text-align
:
center
;
}
.brand-item
img
{
width
:
90%
;
margin-top
:
20px
;
}
}
.good-list
{
width
:
300%
;
...
...
@@ -161,7 +188,7 @@
}
}
.
good-
page-btns
{
.page-btns
{
text-align
:
center
;
padding-bottom
:
10px
;
user-select
:
none
;
...
...
public/scss/product/outlets/_main-product.css
View file @
50dfb09
...
...
@@ -49,14 +49,16 @@
.list-item
{
width
:
222px
;
height
:
372px
;
margin
:
23px
10px
23px
0
;
overflow
:
hidden
;
float
:
left
;
}
.thumb
{
width
:
100%
;
height
:
130%
;
display
:
inline-block
;
height
:
296px
;
display
:
block
;
img
{
width
:
100%
;
...
...
Please
register
or
login
to post a comment