From 143aab323021ffea102a8feb22e6cfd859f8275b Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 22 Sep 2025 17:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=BB=BA=E5=88=B6=E6=8D=90?= =?UTF-8?q?=E6=AC=BE=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=BB=BA=E5=88=B6=E6=8D=90=E6=AC=BE?= =?UTF-8?q?=E8=AF=A6=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/personalCenter/myDonationList.vue | 41 +++++-------------------- 1 file changed, 7 insertions(+), 34 deletions(-) diff --git a/pages/personalCenter/myDonationList.vue b/pages/personalCenter/myDonationList.vue index d8db863..dbc6364 100644 --- a/pages/personalCenter/myDonationList.vue +++ b/pages/personalCenter/myDonationList.vue @@ -17,6 +17,7 @@ v-for="(item, index) in winB_List" :key="index" class="donation-item" + @click="goToFormed(item.formedId)" > @@ -59,26 +60,7 @@ import { getUserDonorList } from "../../api/donor/donor"; export default { data() { - return { - // // 临时数据 - // donationList: [ - // { - // amount: "10.00", - // project: "香火钱", - // time: "2025/09/09 23:33:59", - // }, - // { - // amount: "10.00", - // project: "某某大殿计划", - // time: "2025/09/09 23:33:59", - // }, - // { - // amount: "10.00", - // project: "某某大殿计划", - // time: "2025/09/09 23:33:59", - // }, - // ], - }; + return {}; }, mixins: [ createPagination({ @@ -93,20 +75,11 @@ export default { this.winB_GetList(); }, methods: { - // 加载页面数据 - async loadPageData() { - this.loading = true; - try { - // TODO: 调用页面数据API - // const response = await getPageData() - // 模拟加载 - setTimeout(() => { - this.loading = false; - }, 1000); - } catch (error) { - console.error("获取页面数据失败:", error); - this.loading = false; - } + goToFormed(formedId) { + console.log(formedId); + uni.navigateTo({ + url: `/pages/institutionalStructure/donationRecord?formedId=${formedId}`, + }); }, }, onReachBottom() {