index.phtml
2.15 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
{{>layout/header}}
<div class="coupon-area-page yoho-page">
{{# content}}
{{#if isSingleImage}}
<a href="{{url}}"><img src="{{src}}" class="just-img"/></a>
{{/if}}
{{#if isCarouselBanner}}
{{> home/banner_top}}
{{/if}}
{{#if isFocus}}
{{> home/banner_top}}
{{/if}}
{{#if isCoupon}}
<div class="coupon-floor" coupon-id="{{couponID}}">
{{#if showFloorTitle}}
<div class="floor-title">
{{floorTitle}}
</div>
{{/if}}
<div class="floor-main" style="background-image: url({{image.src}});">
<a href="{{image.url}}" class="main-left"></a>
{{#if isGet}}
<div class="main-right-receive">
<span class="on-receive"></span>
</div>
<a href="{{image.url}}" class="main-right-use" style="display: none">
<span class="received"></span>
</a>
{{/if}}
{{#if isGeted}}
<a href="{{image.url}}" class="main-right-use">
<span class="received"></span>
</a>
{{/if}}
{{#if isZero}}
<a href="{{image.url}}" class="main-right-go">
<span class="zero"></span>
</a>
{{/if}}
</div>
</div>
{{/if}}
{{#if isImageList}}
{{> coupon/imagelist}}
{{/if}}
{{#if isNewArrival}}
{{> coupon/newarrival}}
{{/if}}
{{# share}}
<input id="shareLink" type="hidden" value="{{shareLink}}">
<input id="shareDesc" type="hidden" value="{{shareDesc}}">
<input id="shareImg" type="hidden" value="{{shareImg}}">
<input id="shareTitle" type="hidden" value="{{shareTitle}}">
{{/ share}}
{{#if noData}}
<input id="noData" type="hidden">
{{/if}}
{{/ content}}
</div>
<div class="floor-mask"></div>
<div class="floor-message">
<div class="coupon-message-content"></div>
<div class="coupon-message-op">
<span class="coupon-message-op-rel">刷新</span>
</div>
</div>
<div class="floor-tooltip">
<div class="iconfont icon-box"></div>
<div class="icon-msg">领取成功</div>
</div>
{{> layout/footer}}