Authored by Zhang

未达成弹框

... ... @@ -7,7 +7,12 @@
</p>
<p class="detail-item">
<span>奖励状态</span>
<span>{{couponStatusDesc}}</span>
<span>
{{couponStatusDesc}}
{{#if paymentStatusDesc}}
<i class="status-reason iconfont" data-reason="{{paymentStatusDesc}}">&#xe639;</i>
{{/if}}
</span>
</p>
<p class="detail-item">
<span>发放时间</span>
... ... @@ -32,14 +37,6 @@
<span>{{firstOrderTimeDis}}</span>
</div>
<div class="releated-item">
<span>订单类型</span>
<span>{{paymentTypeDis}}</span>
</div>
<div class="releated-item">
<span>订单状态</span>
<span>{{paymentStatusDesc}}</span>
</div>
<div class="releated-item">
<span>确认收货时间</span>
<span>{{confirmReceiptTimeDis}}</span>
</div>
... ...
'use strict';
require('activity/reward-detail.page.css');
let $ = require('yoho-jquery');
let dialog = require('plugin/dialog');
$('.status-reason').click(function() {
dialog.showDialog({
dialogText: $(this).data('reason'),
hasFooter: {
centerBtnText: '我知道了'
}
});
});
... ...