Commit 5879e20372c887167e5a4c6c8bdc15e232d64285

Authored by 后端开发-许程
1 parent 29cd3ff8

评价领取

pages/user/assistance/friend_assistance.js
@@ -99,7 +99,6 @@ Page({ @@ -99,7 +99,6 @@ Page({
99 cklie_button: function() { 99 cklie_button: function() {
100 var th = this; 100 var th = this;
101 var t_user_id = app_d.user_id; 101 var t_user_id = app_d.user_id;
102 - t_user_id = 1433320;  
103 var data = { 102 var data = {
104 id: this.data.tasking, 103 id: this.data.tasking,
105 storeId: os.stoid, 104 storeId: os.stoid,
pages/user/my_service/tment_eval.js
@@ -274,7 +274,11 @@ Page({ @@ -274,7 +274,11 @@ Page({
274 actId: id, 274 actId: id,
275 giftBagId: giftbagid 275 giftBagId: giftbagid
276 }) 276 })
277 - } 277 + } else{
  278 + th.setData({
  279 + is_act:0
  280 + })
  281 + }
278 }) 282 })
279 }, 283 },
280 284
pages/user/my_service/tment_eval.wxml
@@ -98,7 +98,7 @@ @@ -98,7 +98,7 @@
98 <view>评价其他</view> 98 <view>评价其他</view>
99 </view> 99 </view>
100 100
101 - <view wx:if="{{is_act}}" style="margin: auto;margin-bottom: 30rpx;" class="Submission flex-center yellow-b" bindtap="clike_lb"> 101 + <view wx:if="{{is_act==1}}" style="margin: auto;margin-bottom: 30rpx;" class="Submission flex-center yellow-b" bindtap="clike_lb">
102 <view>点击领取礼品</view> 102 <view>点击领取礼品</view>
103 </view> 103 </view>
104 </view> 104 </view>