Showing
4 changed files
with
10 additions
and
42 deletions
@@ -33,9 +33,10 @@ const _list = (result) => { | @@ -33,9 +33,10 @@ const _list = (result) => { | ||
33 | if (item.body && item.type === 'pullCoupon') { | 33 | if (item.body && item.type === 'pullCoupon') { |
34 | Object.assign(obj, { | 34 | Object.assign(obj, { |
35 | birthType: true, | 35 | birthType: true, |
36 | - name: item.body.name, | ||
37 | - collarTime: item.body.collar_time, | ||
38 | - useTime: item.body.use_time, | 36 | + |
37 | + // name: item.body.name, | ||
38 | + // collarTime: item.body.collar_time, | ||
39 | + // useTime: item.body.use_time, | ||
39 | isCollar: item.body.is_collar === 'Y' ? true : false, | 40 | isCollar: item.body.is_collar === 'Y' ? true : false, |
40 | isOverTime: item.body.is_over_time === 'Y' ? true : false | 41 | isOverTime: item.body.is_over_time === 'Y' ? true : false |
41 | }); | 42 | }); |
@@ -7,21 +7,13 @@ | @@ -7,21 +7,13 @@ | ||
7 | {{/if}} | 7 | {{/if}} |
8 | <p> | 8 | <p> |
9 | {{#if birthType}} | 9 | {{#if birthType}} |
10 | - <a>您的1张优惠券可领取</a> | 10 | + <a>亲爱的,这是我给您的生日专属礼</a> |
11 | {{else}} | 11 | {{else}} |
12 | <a href="//m.yohobuy.com/home/messageDetail?id={{id}}">{{title}}</a> | 12 | <a href="//m.yohobuy.com/home/messageDetail?id={{id}}">{{title}}</a> |
13 | {{/if}} | 13 | {{/if}} |
14 | </p> | 14 | </p> |
15 | {{#if birthType}} | 15 | {{#if birthType}} |
16 | - <div class="ticket-pic"> | ||
17 | - <div class="left"> | ||
18 | - <p>{{name}}</p> | ||
19 | - </div> | ||
20 | - <div class="right"> | ||
21 | - <p>使用时间:{{useTime}}</p> | ||
22 | - <p>领取时间:{{collarTime}}</p> | ||
23 | - </div> | ||
24 | - </div> | 16 | + <div class="ticket-pic"></div> |
25 | <div class="ticket-btn"> | 17 | <div class="ticket-btn"> |
26 | <div class="ticket-btn-c"> | 18 | <div class="ticket-btn-c"> |
27 | <div> | 19 | <div> |
public/img/me/employ/birth-card.jpg
0 → 100644
![](/fe/yohobuywap-node/raw/7a3c27c836f1c0aab73af6713f749dff121b944f/public/img/me/employ/birth-card.jpg)
130 KB
@@ -16,41 +16,15 @@ | @@ -16,41 +16,15 @@ | ||
16 | .ticket-pic { | 16 | .ticket-pic { |
17 | display: block; | 17 | display: block; |
18 | width: 580px; | 18 | width: 580px; |
19 | - height: 168px; | 19 | + height: 446px; |
20 | overflow: hidden; | 20 | overflow: hidden; |
21 | margin: 20px auto 30px; | 21 | margin: 20px auto 30px; |
22 | - background-image: resolve("me/employ/employ.jpg"); | 22 | + background-image: resolve("me/employ/birth-card.jpg"); |
23 | background-position: top center; | 23 | background-position: top center; |
24 | background-repeat: no-repeat; | 24 | background-repeat: no-repeat; |
25 | background-size: 100% 100%; | 25 | background-size: 100% 100%; |
26 | color: #fff; | 26 | color: #fff; |
27 | position: relative; | 27 | position: relative; |
28 | - | ||
29 | - .left { | ||
30 | - width: 200px; | ||
31 | - height: 168px; | ||
32 | - padding: 45px 20px; | ||
33 | - float: left; | ||
34 | - | ||
35 | - p { | ||
36 | - font-size: 30px; | ||
37 | - text-align: center; | ||
38 | - color: #fff; | ||
39 | - } | ||
40 | - } | ||
41 | - | ||
42 | - .right { | ||
43 | - width: 380px; | ||
44 | - height: 168px; | ||
45 | - padding: 50px 40px; | ||
46 | - float: left; | ||
47 | - | ||
48 | - p { | ||
49 | - font-size: 18px; | ||
50 | - color: #fff; | ||
51 | - line-height: 35px; | ||
52 | - } | ||
53 | - } | ||
54 | } | 28 | } |
55 | 29 | ||
56 | .ticket-btn { | 30 | .ticket-btn { |
@@ -72,13 +46,14 @@ | @@ -72,13 +46,14 @@ | ||
72 | width: 152px; | 46 | width: 152px; |
73 | height: 50px; | 47 | height: 50px; |
74 | border: solid 2px #d0021b; | 48 | border: solid 2px #d0021b; |
75 | - color: #d0021b; | 49 | + color: #fff; |
76 | font-size: 24px; | 50 | font-size: 24px; |
77 | display: block; | 51 | display: block; |
78 | text-align: center; | 52 | text-align: center; |
79 | line-height: 50px; | 53 | line-height: 50px; |
80 | border-radius: 25px; | 54 | border-radius: 25px; |
81 | margin: 0 auto; | 55 | margin: 0 auto; |
56 | + background-color: #d0021b; | ||
82 | } | 57 | } |
83 | 58 | ||
84 | .disable { | 59 | .disable { |
-
Please register or login to post a comment