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
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
2017-06-08 14:38:53 +0800
Commit
21e40faddbe2009aaecfe3c8cd01983a6dc09ddd
1 parent
5eba6fb6
店铺跳转
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
doraemon/views/partial/product/recommend-goods.hbs
public/hbs/product/new/hot-shop.hbs
public/scss/product/new/_brand-info.css
public/scss/product/search/_list.css
doraemon/views/partial/product/recommend-goods.hbs
View file @
21e40fa
{{#if
this
}}
{{!-- 剔除值为false的项 --}}
{{#if
is_shop
}}
<
div
class=
"good-info brand-info"
data-type=
"hot-shop"
data-brand=
""
data-shop=
"
"
>
<
a
class=
"good-info brand-info"
data-type=
"hot-shop"
data-brand=
""
data-shop=
""
href=
"//m.yohobuy.com/product/index/brand?domain=
{{
shop_domain
}}
"
>
<div
class=
"brand-info-box"
>
<img
src=
"
{{
image
shop_logo
240
85
}}
"
alt=
"
{{
shop_name
}}
"
>
{{!-- <h5 class="bname">{{shop_name}}</h5> --}}
...
...
@@ -8,7 +8,7 @@
上新
<b>
{{
new_product_num
}}
</b>
件
<b>
{{
favorite_num
}}
</b>
人收藏
</p>
<
a
href=
"//m.yohobuy.com/product/index/brand?domain=
{{
shop_domain
}}
"
class=
"entry"
>
进入店铺
<span></span></a
>
<
span
class=
"entry"
>
进入店铺
<span></span></span
>
<div
class=
"shop-goods"
>
{{#
product_list
}}
...
...
@@ -18,7 +18,7 @@
{{/
product_list
}}
</div>
</div>
</
div
>
</
a
>
{{else}}
<div
class=
"good-info
{{#if
@root
.
sale_vip_login
}}
sale-vip
{{/if}}
"
data-good-id=
"
{{
product_id
}}
"
data-id=
"
{{
product_skn
}}
"
data-bp-id=
"guang_goodList_
{{
product_name
}}
_false"
>
...
...
public/hbs/product/new/hot-shop.hbs
View file @
21e40fa
{{!-- 商品列表中的 品牌上新--}}
<
div
class=
"good-info brand-info"
data-type=
"hot-shop"
data-brand=
"
{{
brand_id
}}
"
data-shop=
"
{{
shop_id
}}
"
>
<
a
class=
"good-info brand-info"
data-type=
"hot-shop"
data-brand=
"
{{
brand_id
}}
"
href=
"//m.yohobuy.com/product/index/brand?domain=
{{
shop_domain
}}
"
data-shop=
"
{{
shop_id
}}
"
>
<div
class=
"brand-info-box"
>
<img
src=
"
{{
image
shop_logo
240
100
}}
"
alt=
"
{{
shop_name
}}
"
>
{{!-- <h5 class="bname">{{shop_name}}</h5> --}}
<p
class=
"summary"
>
上新
<b>
{{
new_product_num
}}
</b>
件
<b>
{{
favorite_num
}}
</b>
人收藏
</p>
<
a
href=
"//m.yohobuy.com/product/index/brand?domain=
{{
shop_domain
}}
"
class=
"entry"
>
进入店铺
</a
>
<
span
class=
"entry"
>
进入店铺
<span></span></span
>
<div
class=
"shop-goods"
>
{{#
product_list
}}
...
...
@@ -14,4 +14,4 @@
{{/
product_list
}}
</div>
</div>
</
div
>
</
a
>
...
...
public/scss/product/new/_brand-info.css
View file @
21e40fa
.brand-info
{
padding-top
:
28px
;
text-align
:
center
;
display
:
inline-block
;
.brand-info-box
{
padding-top
:
40px
;
...
...
public/scss/product/search/_list.css
View file @
21e40fa
...
...
@@ -400,6 +400,7 @@
.brand-info
{
padding-top
:
28px
;
text-align
:
center
;
display
:
inline-block
;
.brand-info-box
{
padding-top
:
40px
;
...
...
Please
register
or
login
to post a comment