Commit 696c8316b4fee0a005dbb9bc252a1b364eb28d0e

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

生日优化

pages/user/index/index.js
@@ -560,8 +560,8 @@ Page({ @@ -560,8 +560,8 @@ Page({
560 var giftbagid = res.data.data.giftBagId; 560 var giftbagid = res.data.data.giftBagId;
561 var actId = res.data.data.id; 561 var actId = res.data.data.id;
562 var actImg = res.data.data.actImg; 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 <view class="xc-page"> 1 <view class="xc-page">
2 <view class="xc-user"> 2 <view class="xc-user">
3 - <view class="xc-head rel"> 3 + <view class="xc-head rel">
4 <image class="xc-background" src="{{iurl}}/miniapp/images/user_index_powder.jpg"> 4 <image class="xc-background" src="{{iurl}}/miniapp/images/user_index_powder.jpg">
5 <view class="flex-space-between abs xc-user-frame"> 5 <view class="flex-space-between abs xc-user-frame">
6 <view class="xc-user-left flex" wx:if="{{userInfo}}"> 6 <view class="xc-user-left flex" wx:if="{{userInfo}}">