| | |
| | | * 页面的初始数据 |
| | | */ |
| | | data: { |
| | | userName: "张三", |
| | | userPhone: "15802220723", |
| | | userCode: "15584236", |
| | | balance: "1025元", |
| | | activeIndex: -1, |
| | | userName: "张三", |
| | | userPhone: "15802220723", |
| | | userCode: "15584236", |
| | | balance: "1025元", |
| | | activeIndex: -1, |
| | | allRechargeList: [{ |
| | | time: "2024-05-12:20:20", |
| | | type: "远程", |
| | | morny: "500元" |
| | | }, { |
| | | time: "2024-05-12:20:20", |
| | | type: "远程", |
| | | morny: "500元" |
| | | }, { |
| | | time: "2024-05-12:20:20", |
| | | type: "远程", |
| | | morny: "500元" |
| | | }, { |
| | | time: "2024-05-12:20:20", |
| | | type: "远程", |
| | | morny: "500元" |
| | | }] |
| | | }, |
| | | |
| | | /** |
| | |
| | | onShareAppMessage() { |
| | | |
| | | }, |
| | | handleMoneyWrapperTap: function (e) { |
| | | const index = e.currentTarget.dataset.index; |
| | | console.log(index) |
| | | if (index !== undefined) { |
| | | this.setData({ |
| | | activeIndex: parseInt(index), |
| | | }); |
| | | } |
| | | |
| | | }, |
| | | handleMoneyWrapperTap: function (e) { |
| | | const index = e.currentTarget.dataset.index; |
| | | console.log(index) |
| | | if (index !== undefined) { |
| | | this.setData({ |
| | | activeIndex: parseInt(index), |
| | | }); |
| | | } |
| | | }, |
| | | onPullDownRefresh() { |
| | | console.log("onPullDownRefresh") |
| | | } |
| | | }) |