shop-header.phtml
1.9 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
{{# shopTopBanner}}
<div class="shop-banner">
<div class="banner-img" style="height: {{bannerHeight}}px;background: url({{banner}})"></div>
{{#if isShowShopName}}
<div class="shop-name">
{{brandIntro.brandName}}
</div>
{{/if}}
<div class="opt-wrap">
<div class="shop-intro">
<i class="shop-intro-ico"></i>
店铺介绍
</div>
<div class="shop-collect" data-id="{{brandIntro.shopId}}">
<i class="shop-collect-ico {{#if brandIntro.isFavorite}}on{{/if}}"></i>
<span class="shop-collect-text">
{{#if brandIntro.isFavorite}}
已收藏
{{else}}
收藏
{{/if}}
</span>
</div>
</div>
</div>
{{#brandIntro}}
<div class="pop-shop-intro">
<div class="shop-intro-bg"></div>
<div class="shop-intro-area">
<i class="close-btn"></i>
<div class="brand-cont">
<div class="intro-title">
<h2>{{brandName}}</h2>
<p>品牌介绍</p>
</div>
<div class="intro-cont">
{{{brandCont}}}
</div>
</div>
</div>
</div>
{{/brandIntro}}
<div class="mask"></div>
{{/ shopTopBanner}}
{{#if navigationBar}}
<ul class="shop-nav clearfix">
{{#navigationBar}}
<li class="nav-item {{#if @first}}first{{/if}} {{#if current}}current{{/if}}">
<a href="{{url}}">
{{name}}
{{#if arrow}}
<span class="iconfont"></span>
{{/if}}
</a>
</li>
{{/navigationBar}}
</ul>
{{/if}}