修改我的房产页面的顶部导航
This commit is contained in:
parent
82a7e33889
commit
730e697798
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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")
|
||||||
},
|
},
|
||||||
|
|||||||
@ -160,8 +160,8 @@
|
|||||||
{
|
{
|
||||||
"path": "myCommunity/index",
|
"path": "myCommunity/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的房产",
|
"navigationBarTitleText": "",
|
||||||
"navigationBarBackgroundColor": "#FFF"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user