Commit 696c8316b4fee0a005dbb9bc252a1b364eb28d0e

Authored by 后端开发-许程
1 parent 5879e203

生日优化

pages/user/index/index.js
... ... @@ -560,8 +560,8 @@ Page({
560 560 var giftbagid = res.data.data.giftBagId;
561 561 var actId = res.data.data.id;
562 562 var actImg = res.data.data.actImg;
563   - t.setData({ giftbagid: giftbagid, actId: actId, actImg: actImg });
564   - t.setData({ is_banner: 1 });
  563 + th.setData({ giftbagid: giftbagid, actId: actId, actImg: actImg });
  564 + th.setData({is_banner:1});
565 565 }
566 566  
567 567 }
... ...
pages/user/index/index.wxml
1 1 <view class="xc-page">
2 2 <view class="xc-user">
3   - <view class="xc-head rel">
  3 + <view class="xc-head rel">
4 4 <image class="xc-background" src="{{iurl}}/miniapp/images/user_index_powder.jpg">
5 5 <view class="flex-space-between abs xc-user-frame">
6 6 <view class="xc-user-left flex" wx:if="{{userInfo}}">
... ...