Authored by 郭成尧

tip

... ... @@ -92,8 +92,14 @@ class CouponNew {
let couponsList = _.get(couponApi, 'data.couponList', []);
let showUsedTip = false;
if (type === 'use' && couponsList && couponsList.length) {
showUsedTip = true;
if (couponsList && couponsList.length) {
if (type === 'use') {
showUsedTip = '以上是近期已使用的优惠券';
}
if (type === 'overtime') {
showUsedTip = '以上是近期已失效的优惠券';
}
}
if (couponsList && couponsList.length) {
... ...
... ... @@ -4,7 +4,7 @@
{{#if showUsedTip}}
<div class="used-tip">
<hr>
<span>以上是近期已使用的优惠券</span>
<span>{{showUsedTip}}</span>
<hr>
</div>
{{/if}}
... ...