From dcfe83a022f2c4aa2a707baa6d5e98a67753bf76 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期二, 18 三月 2025 16:11:12 +0800 Subject: [PATCH] 添加clientId字段到全局状态,优化请求参数处理,更新页面路由,调整取水口和灌溉相关界面,增强用户体验。 --- pages/rechargeMoney/rechargMoney.js | 49 ++++++++++++++++++++++++++++++++++--------------- 1 files changed, 34 insertions(+), 15 deletions(-) diff --git a/pages/rechargeMoney/rechargMoney.js b/pages/rechargeMoney/rechargMoney.js index 03bfb1b..dfc163e 100644 --- a/pages/rechargeMoney/rechargMoney.js +++ b/pages/rechargeMoney/rechargMoney.js @@ -5,11 +5,28 @@ * 椤甸潰鐨勫垵濮嬫暟鎹� */ 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鍏�" + }] }, /** @@ -67,14 +84,16 @@ 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") + } }) \ No newline at end of file -- Gitblit v1.8.0