Compare commits

...

3 Commits

3 changed files with 20 additions and 14 deletions

View File

@ -195,13 +195,17 @@ image {
} }
.newsItem { .newsItem {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 30rpx 0; padding: 30rpx 0;
margin: 0 20rpx; margin: 0 20rpx;
box-sizing: border-box; box-sizing: border-box;
border-bottom: 1rpx solid #EBEBEB; border-bottom: 1rpx solid #EBEBEB;
}
.newsItem:last-child {
border-bottom: none;
} }
.newsItem_left { .newsItem_left {

View File

@ -62,7 +62,7 @@
<div class="homeMoney_box_right1"> <div class="homeMoney_box_right1">
<span></span>{{ balanceMoney }} <span></span>{{ balanceMoney }}
</div> </div>
<div class="homeMoney_box_right2" @click="more"> <div class="homeMoney_box_right2" @click="more(currentRoom)">
查看详情 查看详情
<div style="margin-left: 12rpx"> <div style="margin-left: 12rpx">
<u-icon <u-icon
@ -127,7 +127,7 @@
{{ items.order_datetime }} {{ items.order_datetime }}
</div> </div>
<div class="Item_type"> <div class="Item_type">
{{ items.community_fee_type.type_name }} {{ items.community_fee_type ? items.community_fee_type.type_name : '' }}
</div> </div>
<div class="Item_money">{{ items.money }}</div> <div class="Item_money">{{ items.money }}</div>
<div class="Item_status" v-if="items.status == 0">未付款</div> <div class="Item_status" v-if="items.status == 0">未付款</div>
@ -574,8 +574,8 @@ export default {
}, },
// //
more() { more(item) {
NavgateTo("../providentFund/index"); NavgateTo(`../providentFund/index?item=${JSON.stringify(item)}`);
}, },
}, },
}; };

View File

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