<template>
|
|
<view class="container">
|
|
|
|
<view class="ant-nav-compat"/>
|
|
<view class="ant-nav-container">
|
|
<view class="ant-nav-back" @click="goback"/>
|
|
<view class="ant-nav-title">发布房源</view>
|
|
</view>
|
|
|
|
<view class="ant-from-container">
|
|
<view class="ant-from">
|
|
<view class="from-item">
|
|
<view class="from-tips">
|
|
您打算发布什么类型的房源?
|
|
</view>
|
|
<view class="from-line">
|
|
<view class="from-view">
|
|
<view class="form-lentx">
|
|
<view class="me-icon"/>
|
|
<view class="form-text">
|
|
<view class="head">整租</view>
|
|
<view class="body">整套房源或集中的公寓房间</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="from-view">
|
|
<view class="form-lentx">
|
|
<view class="me-icon"/>
|
|
<view class="form-text">
|
|
<view class="head">合租</view>
|
|
<view class="body">单位、床位、合用大门均算合租</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="from-item">
|
|
<view class="from-tips">
|
|
发布的房源是转租吗?
|
|
</view>
|
|
<view class="from-line">
|
|
<view class="from-view">
|
|
非转租
|
|
</view>
|
|
<view class="from-view">
|
|
转租
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="ant-from-submit" @click="next">下一步</view>
|
|
<view class="ant-from-submit-tip">
|
|
*仅支持个人发布房源信息,公寓或公司等经营性组织请联系<span>平台客服</span>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<style lang="scss">
|
|
|
|
.container{
|
|
background-color: #fff !important;
|
|
|
|
.ant-nav-compat{
|
|
content: "";
|
|
background-color: #F5F5F5;
|
|
height: 88rpx;
|
|
width: 100vw;
|
|
}
|
|
|
|
.ant-nav-container{
|
|
height: 88rpx;
|
|
width: 100vw;
|
|
line-height: 88rpx;
|
|
background-color: #F5F5F5;
|
|
text-align: center;
|
|
vertical-align: top;
|
|
position: relative;
|
|
|
|
color: #333;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
letter-spacing: -0.1rpx;
|
|
|
|
.ant-nav-back {
|
|
content: "";
|
|
position: absolute;
|
|
top: 35rpx;
|
|
left: 30rpx;
|
|
width: 18rpx;
|
|
height: 18rpx;
|
|
border-bottom: 3rpx solid #333;
|
|
border-right: 3rpx solid #333;
|
|
transform: rotate(135deg);
|
|
}
|
|
}
|
|
|
|
.ant-from-container{
|
|
padding: 40rpx 30rpx;
|
|
|
|
.from-item{
|
|
margin-bottom: 50rpx;
|
|
|
|
.from-tips{
|
|
font-size: 26rpx;
|
|
font-weight: 400;
|
|
letter-spacing: 0rpx;
|
|
line-height: 38rpx;
|
|
color: #b2b2b2;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.from-line{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.from-view{
|
|
width: 330rpx;
|
|
min-height: 88rpx;
|
|
line-height: 88rpx;
|
|
background: #f3f7fa;
|
|
text-align: center;
|
|
color: #333;
|
|
font-weight: 500;
|
|
font-size: 26rpx;
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.ant-from-submit{
|
|
width: 100%;
|
|
height: 92rpx;
|
|
line-height: 92rpx;
|
|
background-color: #00b2ff;
|
|
border-radius: 8rpx;
|
|
|
|
color: #fff;
|
|
text-align: center;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.ant-from-submit-tip{
|
|
width: calc(100vw - 90rpx);
|
|
padding: 30rpx;
|
|
|
|
color: #999;
|
|
font-size: 26rpx;
|
|
font-weight: 400;
|
|
line-height: 36rpx;
|
|
letter-spacing: 0rpx;
|
|
|
|
span{
|
|
color: #00b2ff;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-lentx{
|
|
padding: 30rpx 40rpx;
|
|
display: flex;
|
|
|
|
.me-icon{
|
|
width: 52rpx;
|
|
height: 52rpx;
|
|
border: 1rpx dashed #ccc;
|
|
border-radius: 12rpx;
|
|
margin: 20rpx 30rpx 0 0;
|
|
}
|
|
|
|
.form-text{
|
|
width: 160rpx;
|
|
line-height: 40rpx;
|
|
text-align: left;
|
|
|
|
.head{
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.body{
|
|
line-height: 28rpx;
|
|
font-size: 20rpx;
|
|
color: #999;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
show: false,
|
|
}
|
|
},
|
|
onReachBottom() {
|
|
console.log("reach bottom")
|
|
},
|
|
methods: {
|
|
next: function(){
|
|
uni.navigateTo({
|
|
url:"/pages/pusher/houseb"
|
|
})
|
|
},
|
|
goback: function(){
|
|
uni.switchTab({
|
|
url:"/pages/index/icone"
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|