Authored by zhangxiaoru

店铺跳转

{{#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>&nbsp;
&nbsp;<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">
... ...
{{!-- 商品列表中的 品牌上新--}}
<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>&nbsp;&nbsp;<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>
... ...
.brand-info {
padding-top: 28px;
text-align: center;
display: inline-block;
.brand-info-box {
padding-top: 40px;
... ...
... ... @@ -400,6 +400,7 @@
.brand-info {
padding-top: 28px;
text-align: center;
display: inline-block;
.brand-info-box {
padding-top: 40px;
... ...