From 61e89d748cc7f5456c20866e672a4bde153534f1 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期一, 21 四月 2025 17:18:53 +0800 Subject: [PATCH] 优化项目配置,重构项目URL管理逻辑,改为使用动态配置;更新灌溉组详情页面,添加详细信息展示和请求逻辑,提升用户体验;更新首页项目选择器,支持动态项目列表展示。 --- 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