Authored by 张丽霞

分享领券

... ... @@ -9,7 +9,8 @@ const log = require(`${library}/logger`);
exports.index = (req, res) => {
var renderData = {
module: 'coupon',
page: 'index'
page: 'index',
appDownLoadLink: 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho'
},
ordercode = req.query.ordercode,
uid = req.query.uid,
... ... @@ -29,6 +30,7 @@ exports.index = (req, res) => {
// 获取信息成功
couponData.ordercode = ordercode;
}
couponData.appDownLoadLink = renderData.appDownLoadLink;
res.render('coupon', {
result: couponData,
module: 'coupon',
... ...
... ... @@ -18,9 +18,9 @@
<p>登录Yoho!Buy有货客户端即可使用</p>
<div class="use-coupon-btn">
马上去Yoho!Buy有货使用
<a href="{{appDownLoadLink}}">马上去Yoho!Buy有货使用</a>
</div>
<span class="description">活动说明&#xe604;</span>
<span class="description iconfont">活动说明&#xe604;</span>
</div>
<div class="coupon-centent">
... ...
... ... @@ -163,7 +163,7 @@
background: #444;
color: #fff;
text-align: center;
font-size: 18px;
font-size: 28px;
border-radius: 4px;
}
... ... @@ -173,9 +173,14 @@
width: 139px;
height: 42px;
align: center;
font-size: 24px;
color: #fff;
margin: 0 40%;
}
a {
color: #fff;
}
}
.dialog {
... ...