Compare commits

...

2 Commits

Author SHA1 Message Date
赵毅
ffff785c09 创建订单的金额乘以100 2025-09-03 17:07:36 +08:00
赵毅
730e697798 修改我的房产页面的顶部导航 2025-09-03 17:07:19 +08:00
4 changed files with 53 additions and 8 deletions

View File

@ -4,6 +4,39 @@ page {
overflow-y: hidden; overflow-y: hidden;
} }
.searchBox {
padding-bottom: 24rpx;
background-color: #fff;
margin-top: 105rpx;
}
.searchBox_add {
height: 100%;
width: 100%;
display: flex;
}
.searchBox_left {
flex: 1;
display: flex;
align-items: center;
padding-left: 20rpx;
}
.searchBox_mid {
flex: 1;
font-size: 40rpx;
color: #222222;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.searchBox_right {
flex: 1;
}
.container { .container {
min-height: 100vh; min-height: 100vh;
} }

View File

@ -1,10 +1,18 @@
<template> <template>
<view class="container"> <view class="container">
<view class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
<view class="searchBox_add">
<view class="searchBox_left">
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
</view>
<view class="searchBox_mid">我的房产</view>
<view class="searchBox_right"></view>
</view>
</view>
<view class="empty" v-if="communityList.length == 0"> <view class="empty" v-if="communityList.length == 0">
<view class="emptyTitle">绑定房源</view> <view class="emptyTitle">绑定房源</view>
<view class="emptyMsg">请绑定房源信息 以便使用其他功能</view> <view class="emptyMsg">请绑定房源信息 以便使用其他功能</view>
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community_no_image3.png" <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community_no_image3.png" alt="" />
alt="" />
</view> </view>
<view class="communityList"> <view class="communityList">
@ -15,7 +23,8 @@
<image :src="item.pic" mode="aspectFill"></image> <image :src="item.pic" mode="aspectFill"></image>
</view> </view>
<view class="communityItem_left_msg"> <view class="communityItem_left_msg">
<view class="communityItem_left_msg_tit">{{ item.name }}<span> {{ item.room_owner_list.length }} <view class="communityItem_left_msg_tit">{{ item.name }}<span> {{ item.room_owner_list.length
}}
</span></view> </span></view>
<view class="communityItem_left_msg_msg">{{ item.addr }}</view> <view class="communityItem_left_msg_msg">{{ item.addr }}</view>
</view> </view>
@ -53,6 +62,9 @@ export default {
} }
}, },
methods: { methods: {
back() {
NavgateTo("/packages/community/index/index")
},
addCommunity() { addCommunity() {
NavgateTo("/packages/community/addCommunity/index") NavgateTo("/packages/community/addCommunity/index")
}, },
@ -78,7 +90,7 @@ export default {
choseCommunity(e) { choseCommunity(e) {
this.currentCommunity = e this.currentCommunity = e
uni.setStorageSync('changeCommData', { id: e.community_id, name: e.name }); uni.setStorageSync('changeCommData', { id: e.community_id, name: e.name });
uni.setStorageSync('currentCommunityAddr',e.addr); uni.setStorageSync('currentCommunityAddr', e.addr);
uni.setStorageSync("isShowNav", e.room_owner_list[0].type) uni.setStorageSync("isShowNav", e.room_owner_list[0].type)
NavgateTo("1") NavgateTo("1")
}, },

View File

@ -98,7 +98,7 @@ export default {
car_id: this.itemObj.selectedCarPlateId, car_id: this.itemObj.selectedCarPlateId,
billing_rules: this.itemObj.selectedBillingRule, billing_rules: this.itemObj.selectedBillingRule,
month_count: this.itemObj.monthCount, month_count: this.itemObj.monthCount,
total_amount: this.itemObj.paymentAmount, total_amount: this.itemObj.paymentAmount * 100,
start_time: this.itemObj.startTime, start_time: this.itemObj.startTime,
end_time: this.itemObj.endTime, end_time: this.itemObj.endTime,
} }

View File

@ -160,8 +160,8 @@
{ {
"path": "myCommunity/index", "path": "myCommunity/index",
"style": { "style": {
"navigationBarTitleText": "我的房产", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFF" "navigationStyle": "custom"
} }
}, },
{ {