用户建制捐款记录列表点击跳转到建制捐款详细
This commit is contained in:
parent
ec87b2b6c4
commit
143aab3230
|
|
@ -17,6 +17,7 @@
|
||||||
v-for="(item, index) in winB_List"
|
v-for="(item, index) in winB_List"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="donation-item"
|
class="donation-item"
|
||||||
|
@click="goToFormed(item.formedId)"
|
||||||
>
|
>
|
||||||
<view class="item-icon">
|
<view class="item-icon">
|
||||||
<image :src="item.imgUrl" mode="widthFix" />
|
<image :src="item.imgUrl" mode="widthFix" />
|
||||||
|
|
@ -59,26 +60,7 @@ import { getUserDonorList } from "../../api/donor/donor";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
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",
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
};
|
|
||||||
},
|
},
|
||||||
mixins: [
|
mixins: [
|
||||||
createPagination({
|
createPagination({
|
||||||
|
|
@ -93,20 +75,11 @@ export default {
|
||||||
this.winB_GetList();
|
this.winB_GetList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 加载页面数据
|
goToFormed(formedId) {
|
||||||
async loadPageData() {
|
console.log(formedId);
|
||||||
this.loading = true;
|
uni.navigateTo({
|
||||||
try {
|
url: `/pages/institutionalStructure/donationRecord?formedId=${formedId}`,
|
||||||
// TODO: 调用页面数据API
|
});
|
||||||
// const response = await getPageData()
|
|
||||||
// 模拟加载
|
|
||||||
setTimeout(() => {
|
|
||||||
this.loading = false;
|
|
||||||
}, 1000);
|
|
||||||
} catch (error) {
|
|
||||||
console.error("获取页面数据失败:", error);
|
|
||||||
this.loading = false;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user