Authored by htoooth

merge

... ... @@ -65,9 +65,11 @@ const getCouponsList = (uid, type, page, limit)=>{
if (limits.indexOf('2') >= 0) {
extra.push('限量');
}
delete item.isNoLimit;
result[i].extraPro = extra.join('、');
result[i].isNoLimit = item.isNoLimit;
result[i].isNoLimit = item.isNoLimit === 'true' ? true : false;
result[i].explains = _.isEmpty(item.explains) ? false : item.explains;
result[i].proListUrl = helpers.urlFormat('', {cpc_id: item.couponId,
phrase: encodeURIComponent('以下商品可使用 【' + item.couponDetailInfomation + '】优惠券')}, 'list');
result[i].rule = item.rule4ShortName || '';
... ...
... ... @@ -43,7 +43,9 @@
<div class="coupons-text">
{{#categorys}}<p>限品类:{{.}}</p>{{/categorys}}
{{#brands}}<p>限品牌:{{.}}</p>{{/brands}}
{{#if isNoLimit}}<p>全场通用</p>{{/if}}
<p>特例商品({{extraPro}}等特例商品)暂不支持使用优惠券。</p>
{{#explains}}<p>说明:{{.}}</p>{{/explains}}
</div>
</div>
<div class="coupons-opt">
... ... @@ -76,6 +78,7 @@
{{#brands}}<p>限品牌:{{.}}</p>{{/brands}}
{{#if isNoLimit}}<p>全场通用</p>{{/if}}
<p>特例商品({{extraPro}}等特例商品)暂不支持使用优惠券。</p>
{{#explains}}<p>说明:{{.}}</p>{{/explains}}
</div>
</div>
<div class="coupons-opt">
... ... @@ -109,7 +112,9 @@
<div class="coupons-text">
{{#categorys}}<p>限品类:{{.}}</p>{{/categorys}}
{{#brands}}<p>限品牌:{{.}}</p>{{/brands}}
{{#if isNoLimit}}<p>全场通用</p>{{/if}}
<p>特例商品({{extraPro}}等特例商品)暂不支持使用优惠券。</p>
{{#explains}}<p>说明:{{.}}</p>{{/explains}}
</div>
</div>
<div class="coupons-opt">
... ...
... ... @@ -16,11 +16,12 @@
}
.coupons-info {
width: 390px;
width: 388px;
.coupons-text {
color: #000;
padding: 0 25px;
text-align: left;
}
}
... ... @@ -106,6 +107,7 @@
.coupons-dtl {
width: 100px;
height: 45px;
margin-left: 5px;
line-height: 23px;
text-align: left;
... ... @@ -119,6 +121,7 @@
height: 30px;
display: inline-block;
line-height: 30px;
float: left;
}
.use-btn {
... ...