shop-list.hbs
2.61 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
74
75
76
77
78
{{> mip-download}}
<div class="good-list-page yoho-page">
{{> mip-head}}
<!-- 基础店铺页面 -->
{{# shopInfo}}
<div id="brand-header" class="brand-header" data-id={{shops_id}} data-isbaseshop="{{isBaseShop}}">
{{#if banner}}
<mip-img src="{{image2 banner w=750 h=176 q=60}}"></mip-img>
{{/if}}
<button on="tap:introBox.toggle" class="btn-intro" id="shopIntroBtn" role="button" tabindex="0">
店铺介绍
</button>
</div>
<mip-lightbox
id="introBox"
layout="nodisplay"
class="mip-hidden brand-intro-box"
content-scroll>
<div id="shopIntro" class="brand-intro">
<h2>店铺介绍</h2>
<div class="con">
{{{shop_intro}}}
</div>
<p class="fo">
<span class="fo-icon"></span> 100%品牌授权正品
</p>
<span id="closeIntroBtn" on="tap:introBox.toggle" class="iconfont close-intro"></span>
</div>
</mip-lightbox>
{{/ shopInfo}}
<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>首页</span>
<em>|</em>
</li>
<li class="shop-tab-nav tab-nav">
<span>新品</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">
{{> mip-product-list list=defaultGoods}}
</div>
</div>
{{#if defaultGoods}}
<div class="all-goods">
<a href="{{allGoodsUrl}}">点击查看全部商品</a>
</div>
{{/if}}
</div>
{{!--shop-tab: 最新--}}
<div class="new-goods">
{{> mip-product-list list=newGoods}}
{{#if newGoods}}
<div class="all-goods">
<a href="{{allGoodsUrl}}&type=new">点击查看全部商品</a>
</div>
{{/if}}
</div>
</mip-vd-tabs>
<a href="{{allGoodsUrl}}" class="all-goods-tab">
<span>全部商品</span>
</a>
</div>
</div>
{{> mip-suspend-cart}}
{{> mip-footer}}