Authored by 张丽霞

分享领券

@@ -9,7 +9,8 @@ const log = require(`${library}/logger`); @@ -9,7 +9,8 @@ const log = require(`${library}/logger`);
9 exports.index = (req, res) => { 9 exports.index = (req, res) => {
10 var renderData = { 10 var renderData = {
11 module: 'coupon', 11 module: 'coupon',
12 - page: 'index' 12 + page: 'index',
  13 + appDownLoadLink: 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho'
13 }, 14 },
14 ordercode = req.query.ordercode, 15 ordercode = req.query.ordercode,
15 uid = req.query.uid, 16 uid = req.query.uid,
@@ -29,6 +30,7 @@ exports.index = (req, res) => { @@ -29,6 +30,7 @@ exports.index = (req, res) => {
29 // 获取信息成功 30 // 获取信息成功
30 couponData.ordercode = ordercode; 31 couponData.ordercode = ordercode;
31 } 32 }
  33 + couponData.appDownLoadLink = renderData.appDownLoadLink;
32 res.render('coupon', { 34 res.render('coupon', {
33 result: couponData, 35 result: couponData,
34 module: 'coupon', 36 module: 'coupon',
@@ -18,9 +18,9 @@ @@ -18,9 +18,9 @@
18 <p>登录Yoho!Buy有货客户端即可使用</p> 18 <p>登录Yoho!Buy有货客户端即可使用</p>
19 19
20 <div class="use-coupon-btn"> 20 <div class="use-coupon-btn">
21 - 马上去Yoho!Buy有货使用 21 + <a href="{{appDownLoadLink}}">马上去Yoho!Buy有货使用</a>
22 </div> 22 </div>
23 - <span class="description">活动说明&#xe604;</span> 23 + <span class="description iconfont">活动说明&#xe604;</span>
24 </div> 24 </div>
25 25
26 <div class="coupon-centent"> 26 <div class="coupon-centent">
@@ -96,11 +96,11 @@ @@ -96,11 +96,11 @@
96 color: #444; 96 color: #444;
97 } 97 }
98 } 98 }
99 - 99 +
100 .has-clear { 100 .has-clear {
101 padding-right: 30px; 101 padding-right: 30px;
102 } 102 }
103 - 103 +
104 .clear-input { 104 .clear-input {
105 position: absolute; 105 position: absolute;
106 padding: 10px; 106 padding: 10px;
@@ -163,7 +163,7 @@ @@ -163,7 +163,7 @@
163 background: #444; 163 background: #444;
164 color: #fff; 164 color: #fff;
165 text-align: center; 165 text-align: center;
166 - font-size: 18px; 166 + font-size: 28px;
167 border-radius: 4px; 167 border-radius: 4px;
168 } 168 }
169 169
@@ -173,9 +173,14 @@ @@ -173,9 +173,14 @@
173 width: 139px; 173 width: 139px;
174 height: 42px; 174 height: 42px;
175 align: center; 175 align: center;
  176 + font-size: 24px;
176 color: #fff; 177 color: #fff;
177 margin: 0 40%; 178 margin: 0 40%;
178 } 179 }
  180 +
  181 + a {
  182 + color: #fff;
  183 + }
179 } 184 }
180 185
181 .dialog { 186 .dialog {