Browse Source

bug修复02

master
imax 3 years ago
parent
commit
93113ea0de
  1. 7
      pages/center/cashlist/cashlist.js
  2. 2
      pages/center/center.wxml

7
pages/center/cashlist/cashlist.js

@ -7,12 +7,11 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
cashlist:[ cashlist:[]
// {money:'655',time:'2020-12-10 12:00:00',status:'1'}, // {money:'655',time:'2020-12-10 12:00:00',status:'1'},
// {money:'655',time:'2020-12-10 12:00:00',status:'2'}, // {money:'655',time:'2020-12-10 12:00:00',status:'2'},
// {money:'655',time:'2020-12-10 12:00:00',status:'3'}, // {money:'655',time:'2020-12-10 12:00:00',status:'3'},
// {money:'655',time:'2020-12-10 12:00:00',status:'1'}, // {money:'655',time:'2020-12-10 12:00:00',status:'1'},
]
}, },
/** /**
@ -35,7 +34,7 @@ Page({
let datas = res.data.data; let datas = res.data.data;
console.log(datas) console.log(datas)
this.setData({ this.setData({
cashlist: res.data cashlist: datas
}); });
}) })
}, },

2
pages/center/center.wxml

@ -55,7 +55,7 @@
<view class="orange"> <view class="orange">
<view class="orangecircle"> <view class="orangecircle">
<view class="trash" bindtap="tocash"><image src="../../images/trash.png"></image>提现</view> <view class="trash" bindtap="tocash"><image src="../../images/trash.png"></image>提现</view>
<view class="trash" bindtap="tocashList"><image src="../../images/trashorder.png"></image>提现记录</view> <!-- <view class="trash" bindtap="tocashList"><image src="../../images/trashorder.png"></image>提现记录</view> -->
</view> </view>
</view> </view>
</view> </view>

Loading…
Cancel
Save