用户建制捐款记录列表点击跳转到建制捐款详细
This commit is contained in:
parent
ec87b2b6c4
commit
143aab3230
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user