shop-reds.hbs
2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{{!--
desc: 红人店铺
--}}
{{> mip-download}}
<div class="reds-shop">
{{> mip-head}}
{{!--shop-header--}}
<div class="shop-header brand-header">
{{#if banner}}
<div class="branner-top">
<div class="shop-back-img">
<mip-img src="{{image2 banner w=750 h=234}}"></mip-img>
</div>
{{#if shopInfo.shop_logo}}
<mip-img class="logo" src="{{image2 shopInfo.shop_logo w=100 h=100}}"></mip-img>
{{/if}}
<h1 class="store-name">{{shopInfo.shop_name}}</h1>
<div class="fav-box clearfix">
<div class="favs pull-left">粉丝数: {{favCount}} </div>
</div>
</div>
{{/if}}
</div>
<div class="goods-tab-area">
<mip-vd-tabs class="tab">
<section class="shop-tabs tab-navs">
<li class="shop-tab-nav tab-nav active">
<span data-target="#red-index" data-trigger="tab" data-funHome>首页</span>
<em>|</em>
</li>
<li class="shop-tab-nav tab-nav">
<span data-target="#all-goods" data-trigger="tab" data-funGetNewGoods>新品</span>
<em>|</em>
</li>
</section>
{{!--shop-tab: 首页--}}
<div id="red-index" class="tab-panel red-shop-index">
{{> shop/mip-modules}}
<div id="indexGoodsContainer" class="goods-container">
<div class="default-goods container clearfix">
{{# defaultGoods}}
{{> mip-product-list}}
{{/ defaultGoods}}
</div>
</div>
{{#if defaultGoods.list}}
<div class="all-goods">
<a href="{{allGoodsUrl}}">点击查看全部商品</a>
</div>
{{/if}}
</div>
{{!--shop-tab: 最新--}}
<div class="new-goods">
{{# newGoods}}
{{> mip-product-list}}
{{/ newGoods}}
{{#if newGoods.list}}
<div class="all-goods">
<a href="{{allGoodsUrl}}&type=new">点击查看全部商品</a>
</div>
{{/if}}
</div>
</mip-vd-tabs>
<a href="{{allGoodsUrl}}" class="all-goods-tab">
<span data-target="#all-goods" data-trigger="tab" data-funGetAllGoods>全部商品</span>
</a>
</div>
</div>
{{> mip-suspend-cart}}
{{> mip-shop-footer}}