|
|
1
|
+{{> layout/header}}
|
|
|
2
|
+<div class="massage-page yoho-page">
|
|
|
3
|
+ <div class="massage-main">
|
|
|
4
|
+ <h6>{{title}}</h6>
|
|
|
5
|
+ <span>{{sender}} 发送于{{time}}</span>
|
|
|
6
|
+ </div>
|
|
|
7
|
+ {{#if text}}
|
|
|
8
|
+ <div class="massage-main">
|
|
|
9
|
+ {{# text}}
|
|
|
10
|
+ <!-- 文本消息 -->
|
|
|
11
|
+ <p>{{{content}}}</p>
|
|
|
12
|
+ {{/ text}}
|
|
|
13
|
+ </div>
|
|
|
14
|
+ {{/if}}
|
|
|
15
|
+
|
|
|
16
|
+ {{#if coupons}}
|
|
|
17
|
+ {{# coupons}}
|
|
|
18
|
+ <!-- 优惠券消息 -->
|
|
|
19
|
+ <div class="coupon-item">
|
|
|
20
|
+ <div class="coupon-img">
|
|
|
21
|
+ <img src="http://static.yohobuy.com/images/v2/activity/default_coupon.jpg">
|
|
|
22
|
+ </div>
|
|
|
23
|
+ <div class="coupon-info">
|
|
|
24
|
+ <p>{{remark}}</p>
|
|
|
25
|
+ {{#if url}}
|
|
|
26
|
+ <p>面值:<span>{{price}}</span></p>
|
|
|
27
|
+ <p>有效期:{{useTime}}</p>
|
|
|
28
|
+ {{^}}
|
|
|
29
|
+ <p>使用时间:{{useTime}}</p>
|
|
|
30
|
+ <p>领取时间:{{pickTime}}</p>
|
|
|
31
|
+ {{/if}}
|
|
|
32
|
+ </div>
|
|
|
33
|
+ <div class="coupon-action">
|
|
|
34
|
+ {{#if url}}
|
|
|
35
|
+ <a href="{{url}}" class="view-coupon-btn">立即查看</a>
|
|
|
36
|
+ {{^}}
|
|
|
37
|
+ <a{{#if canPick}} class="pick-coupon-btn" data-id="{{id}}"{{/if}}>立即领取</a>
|
|
|
38
|
+ {{/if}}
|
|
|
39
|
+ </div>
|
|
|
40
|
+ </div>
|
|
|
41
|
+ {{/ coupons}}
|
|
|
42
|
+ {{/if}}
|
|
|
43
|
+ {{#if sale}}
|
|
|
44
|
+ {{# sale}}
|
|
|
45
|
+ <!-- 促销消息 -->
|
|
|
46
|
+ <div class="sale-img">
|
|
|
47
|
+ <img src="{{image}}">
|
|
|
48
|
+ </div>
|
|
|
49
|
+ <br />
|
|
|
50
|
+ <br />
|
|
|
51
|
+ <p>{{{content}}}</p>
|
|
|
52
|
+ <br />
|
|
|
53
|
+ <br />
|
|
|
54
|
+ <a href="{{btnLink}}" class="sale-btn">{{btnName}}</a>
|
|
|
55
|
+ {{/ sale}}
|
|
|
56
|
+ {{/if}}
|
|
|
57
|
+</div>
|
|
|
58
|
+{{> layout/footer}} |