Authored by zhangxiaoru

exchange

@@ -676,7 +676,7 @@ const _setExchangeDetailData = (data) => { @@ -676,7 +676,7 @@ const _setExchangeDetailData = (data) => {
676 default: 676 default:
677 break; 677 break;
678 } 678 }
679 - console.log(list); 679 +
680 return list; 680 return list;
681 }; 681 };
682 682
@@ -152,10 +152,10 @@ @@ -152,10 +152,10 @@
152 </div> 152 </div>
153 </div> 153 </div>
154 <div class="reason-info"> 154 <div class="reason-info">
155 - <span>问题描述:{{reasonName}}</span> 155 + <span>问题描述:{{remark}}</span>
156 <div class="reason-img">照片凭证: 156 <div class="reason-img">照片凭证:
157 <div class="evidence"> 157 <div class="evidence">
158 - <img src="{{image img 70 90}}"> 158 + <img src="{{evidenceImages}}">
159 </div> 159 </div>
160 </div> 160 </div>
161 </div> 161 </div>
@@ -11,7 +11,8 @@ var $mainWrap = $('.exchange-detail-page'), @@ -11,7 +11,8 @@ var $mainWrap = $('.exchange-detail-page'),
11 var $expressCompany = $('.express-company'), 11 var $expressCompany = $('.express-company'),
12 $expressCode = $('.express-code'); 12 $expressCode = $('.express-code');
13 13
14 -var expressList = $editExpress.data(); 14 +var expressList = $editExpress.data(),
  15 + remark = $('.reason-info').find('span').text().length;
15 16
16 function cancelExchangeApply() { 17 function cancelExchangeApply() {
17 $.ajax({ 18 $.ajax({
@@ -76,3 +77,9 @@ $showExpress.on('click', '.reset-express', function() { @@ -76,3 +77,9 @@ $showExpress.on('click', '.reset-express', function() {
76 $showExpress.addClass('hide'); 77 $showExpress.addClass('hide');
77 $editExpress.removeClass('hide'); 78 $editExpress.removeClass('hide');
78 }); 79 });
  80 +
  81 +console.log($('.reason-info').find('span').text().length)
  82 +
  83 +if(remark <= 5) {
  84 + $('.reason-info').hide();
  85 +}