<template>
|
|
<view class="page">
|
|
<navbar title="发布租房" leftClick @leftClick="$utils.navigateBack" />
|
|
|
|
|
|
<view class="form">
|
|
<view class="help-issue">
|
|
<text>租房标题</text>
|
|
<text style="color: #BD3624;">*</text>
|
|
</view>
|
|
<view class="form-sheet-cell">
|
|
<input type="text" class="title-input"/>
|
|
</view>
|
|
|
|
<uv-cell
|
|
title="租房地点"
|
|
rightIconStyle="fontSize: 30rpx;"
|
|
value="请选择租房地点"
|
|
isLink
|
|
></uv-cell>
|
|
|
|
<uv-cell
|
|
title="所属工种"
|
|
rightIconStyle="fontSize: 30rpx;"
|
|
value="请选择所属工种"
|
|
isLink
|
|
></uv-cell>
|
|
|
|
<view class="form-sheet-cell">
|
|
<view class="label">
|
|
价格/月
|
|
</view>
|
|
<view class="price">
|
|
<input placeholder="请输入价格" v-model="form.price" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="form-sheet-cell">
|
|
<view class="label">
|
|
面积
|
|
</view>
|
|
<view class="price">
|
|
<input placeholder="请输入面积" v-model="form.price" />
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="form-sheet-cell">
|
|
<view class="label">
|
|
结算方式
|
|
</view>
|
|
<uv-radio-group v-model="radiovalue">
|
|
<view class="price">
|
|
<uv-radio
|
|
:customStyle="{margin: '8px'}"
|
|
v-for="(item, index) in priceType"
|
|
:key="index"
|
|
iconSize="30rpx"
|
|
size="40rpx"
|
|
labelSize="26rpx"
|
|
:label="item.name"
|
|
:name="item.name">
|
|
</uv-radio>
|
|
</view>
|
|
</uv-radio-group>
|
|
</view>
|
|
|
|
<view class="form-sheet-cell">
|
|
<view class="label">
|
|
看房
|
|
</view>
|
|
<uv-radio-group v-model="radiovalue">
|
|
<view class="price">
|
|
<uv-radio
|
|
:customStyle="{margin: '8px'}"
|
|
iconSize="30rpx"
|
|
size="40rpx"
|
|
labelSize="26rpx"
|
|
label="随时可看"
|
|
name="0">
|
|
</uv-radio>
|
|
</view>
|
|
</uv-radio-group>
|
|
</view>
|
|
|
|
<view class="form-sheet-cell">
|
|
<view class="label">
|
|
联系电话
|
|
</view>
|
|
<input placeholder="请输入联系电话" v-model="form.phone" />
|
|
</view>
|
|
<view class="">
|
|
<uv-textarea
|
|
v-model="form.content"
|
|
count
|
|
:maxlength="300"
|
|
autoHeight
|
|
placeholder="请输入详细介绍"></uv-textarea>
|
|
</view>
|
|
|
|
<view class="uni-color-btn">
|
|
发布
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
form : {
|
|
|
|
},
|
|
radiovalue : '',
|
|
priceType : [
|
|
{
|
|
name : '月付',
|
|
},
|
|
{
|
|
name : '季付',
|
|
},
|
|
{
|
|
name : '年付',
|
|
},
|
|
],
|
|
radiolist : [
|
|
{
|
|
name : '日结',
|
|
},
|
|
{
|
|
name : '月结',
|
|
},
|
|
],
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.page{
|
|
background-color: #fff;
|
|
min-height: 100vh;
|
|
box-sizing: border-box;
|
|
color: #333333;
|
|
font-size: 28rpx;
|
|
/deep/ text{
|
|
font-size: 28rpx !important;
|
|
}
|
|
.form{
|
|
padding: 30rpx;
|
|
.help-issue {
|
|
margin: 20rpx;
|
|
}
|
|
.title-input{
|
|
border: 1px solid $uni-color;
|
|
width: 100%;
|
|
border-radius: 10rpx;
|
|
padding: 10rpx 20rpx;
|
|
box-sizing: border-box;
|
|
height: 65rpx;
|
|
}
|
|
.form-sheet-cell{
|
|
display: flex;
|
|
background-color: #fff;
|
|
padding: 20rpx 30rpx;
|
|
align-items: center;
|
|
.label{
|
|
width: 160rpx;
|
|
}
|
|
.price{
|
|
display: flex;
|
|
// text-align: center;
|
|
input{
|
|
width: 450rpx;
|
|
// border: 1px solid $uni-color;
|
|
margin: 0 10rpx;
|
|
}
|
|
}
|
|
.right-icon{
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|