用户建制捐款记录列表点击跳转到建制捐款详细

This commit is contained in:
WindowBird 2025-09-22 17:37:54 +08:00
parent ec87b2b6c4
commit 143aab3230

View File

@ -17,6 +17,7 @@
v-for="(item, index) in winB_List"
:key="index"
class="donation-item"
@click="goToFormed(item.formedId)"
>
<view class="item-icon">
<image :src="item.imgUrl" mode="widthFix" />
@ -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() {