Authored by Zhang

未达成弹框

@@ -7,7 +7,12 @@ @@ -7,7 +7,12 @@
7 </p> 7 </p>
8 <p class="detail-item"> 8 <p class="detail-item">
9 <span>奖励状态</span> 9 <span>奖励状态</span>
10 - <span>{{couponStatusDesc}}</span> 10 + <span>
  11 + {{couponStatusDesc}}
  12 + {{#if paymentStatusDesc}}
  13 + <i class="status-reason iconfont" data-reason="{{paymentStatusDesc}}">&#xe639;</i>
  14 + {{/if}}
  15 + </span>
11 </p> 16 </p>
12 <p class="detail-item"> 17 <p class="detail-item">
13 <span>发放时间</span> 18 <span>发放时间</span>
@@ -32,14 +37,6 @@ @@ -32,14 +37,6 @@
32 <span>{{firstOrderTimeDis}}</span> 37 <span>{{firstOrderTimeDis}}</span>
33 </div> 38 </div>
34 <div class="releated-item"> 39 <div class="releated-item">
35 - <span>订单类型</span>  
36 - <span>{{paymentTypeDis}}</span>  
37 - </div>  
38 - <div class="releated-item">  
39 - <span>订单状态</span>  
40 - <span>{{paymentStatusDesc}}</span>  
41 - </div>  
42 - <div class="releated-item">  
43 <span>确认收货时间</span> 40 <span>确认收货时间</span>
44 <span>{{confirmReceiptTimeDis}}</span> 41 <span>{{confirmReceiptTimeDis}}</span>
45 </div> 42 </div>
1 'use strict'; 1 'use strict';
2 require('activity/reward-detail.page.css'); 2 require('activity/reward-detail.page.css');
  3 +
  4 +let $ = require('yoho-jquery');
  5 +let dialog = require('plugin/dialog');
  6 +
  7 +$('.status-reason').click(function() {
  8 + dialog.showDialog({
  9 + dialogText: $(this).data('reason'),
  10 + hasFooter: {
  11 + centerBtnText: '我知道了'
  12 + }
  13 + });
  14 +});