优化 物业缴费跳转物业公积金 显示的小区信息逻辑

This commit is contained in:
赵毅 2025-08-02 11:14:45 +08:00
parent 336361d383
commit 0fa63c8166
2 changed files with 8 additions and 6 deletions

View File

@ -62,7 +62,7 @@
<div class="homeMoney_box_right1">
<span></span>{{ balanceMoney }}
</div>
<div class="homeMoney_box_right2" @click="more">
<div class="homeMoney_box_right2" @click="more(currentRoom)">
查看详情
<div style="margin-left: 12rpx">
<u-icon
@ -574,8 +574,8 @@ export default {
},
//
more() {
NavgateTo("../providentFund/index");
more(item) {
NavgateTo(`../providentFund/index?item=${JSON.stringify(item)}`);
},
},
};

View File

@ -109,8 +109,11 @@ export default {
}
},
async onLoad(options) {
const itemObj = JSON.parse(decodeURIComponent(options.item));
console.log("🚀 ~ onLoad ~ options.item:", itemObj)
// itemObjdefaultName
this.defaultName = {
...this.houseList[0],
...itemObj,
checked: true
};
const meun = menuButtonInfo();
@ -119,7 +122,6 @@ export default {
await this.getInfo()
},
methods: {
headerConfirmClick(item) {
this.defaultName = {
@ -165,7 +167,7 @@ export default {
item.checked = false
})
this.roomList = res.rows
this.defaultName = res.rows[0]
// this.defaultName = res.rows[0]
})
},
async getInfo(){