Commit 3ac51d02 authored by youjie's avatar youjie

no message

parent c4b77cfd
...@@ -59,6 +59,35 @@ ...@@ -59,6 +59,35 @@
height: auto; height: auto;
} }
} }
.u-action-sheet-item {
display: flex;
line-height: 1;
justify-content: center;
align-items: center;
font-size: 14px;
padding: 34rpx 0;
}
.pubox{
width: 100%;
}
.pubox-top{
width: 100%;
height: 45px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
color: #111;
}
.u-gab {
height: 12rpx;
background-color: rgb(234, 234, 236);
}
.u-actionsheet-cancel {
color: $u-main-color;
}
} }
</style> </style>
...@@ -110,12 +139,12 @@ ...@@ -110,12 +139,12 @@
overflow: hidden; overflow: hidden;
margin-right: 5px; margin-right: 5px;
" "
v-if="model.Address != ''" v-if="model.Address"
>{{ model.Address }}</text >{{ model.Address }}</text
> >
<text <text
style="width: 1px; flex: 1; color: #cecece" style="width: 1px; flex: 1; color: #cecece"
v-if="model.Address == ''" v-if="!model.Address"
>请选择地址</text >请选择地址</text
> >
<u-icon name="arrow" color="#A5A4AC" size="30"></u-icon> <u-icon name="arrow" color="#A5A4AC" size="30"></u-icon>
...@@ -172,9 +201,16 @@ ...@@ -172,9 +201,16 @@
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
<view class="label-text">楼宇等级<span style='color: #E54D42;' >*</span></view> <view class="label-text">楼宇等级<span style='color: #E54D42;' >*</span></view>
<view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;" @click="disabled || disabled2?'':showTypeStatus= true"> <view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;"
<input type="text" v-model="BrandClassName" :disabled="true" style="padding: 10px 0;width: 1px;flex:1" @click="disabled || disabled2?'':showTypeStatus= true">
placeholder="请选择楼宇等级" placeholder-style="color:#CECECE;"> <view style="padding: 10px 0;width: 1px;flex:1">
<template v-if="CategoryName">
{{CategoryName}}
</template>
<text v-else style="color:#CECECE;">
请选择楼宇等级
</text>
</view>
<u-icon name="arrow" color="#A5A4AC" size="30" ></u-icon> <u-icon name="arrow" color="#A5A4AC" size="30" ></u-icon>
</view> </view>
<u-popup v-model="showTypeStatus" mode="bottom" > <u-popup v-model="showTypeStatus" mode="bottom" >
...@@ -343,15 +379,21 @@ ...@@ -343,15 +379,21 @@
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
<view class="label-text">月租金</view> <view class="label-text">月租金</view>
<input <view
type="number" class="bottom-border_r"
v-model="model.RentFee" style="padding: 10px 0; height: 42px; display: flex"
:disabled="disabled" >
style="padding: 10px 0" <input
placeholder="请填写月租金" type="number"
placeholder-style="color:#CECECE;" v-model="model.RentFee"
/> :disabled="disabled"
<span>元/m²</span> style="padding: 10px 0;flex: 1;margin-right: 10px;"
placeholder="请填写月租金"
placeholder-style="color:#CECECE;"
/>
<span>元/m²</span>
</view>
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
<view class="label-text">产业方向</view> <view class="label-text">产业方向</view>
...@@ -468,7 +510,7 @@ export default { ...@@ -468,7 +510,7 @@ export default {
Other:"",// 其他需求 Other:"",// 其他需求
ContactName:"",// 联系人 ContactName:"",// 联系人
ContactPhone:"",// 联系电话 ContactPhone:"",// 联系电话
BannerList:"",// 楼宇图片 BannerList:[],// 楼宇图片
CompanyId:"",// 认证id CompanyId:"",// 认证id
}, },
showOpenTime: false, showOpenTime: false,
...@@ -501,6 +543,7 @@ export default { ...@@ -501,6 +543,7 @@ export default {
{value: 1,name:'是'}, {value: 1,name:'是'},
{value: 0,name:'否'}, {value: 0,name:'否'},
], ],
showTypeStatus: false,
}; };
}, },
onLoad(options) { onLoad(options) {
...@@ -523,6 +566,7 @@ export default { ...@@ -523,6 +566,7 @@ export default {
) { ) {
//判断是否填写过了 //判断是否填写过了
this.model = this.datas.buildingApplyForModel this.model = this.datas.buildingApplyForModel
this.CategoryName = this.model.CategoryName;
this.model.CompanyId = this.datas.CompanyId; this.model.CompanyId = this.datas.CompanyId;
let data = this.datas.buildingApplyForModel; let data = this.datas.buildingApplyForModel;
// this.model = this.datas.CarrierModel // this.model = this.datas.CarrierModel
...@@ -557,17 +601,22 @@ export default { ...@@ -557,17 +601,22 @@ export default {
this.disabled = true; this.disabled = true;
} }
if (this.datas.CompanyStatus == 1) { if (this.datas.CompanyStatus == 1) {
this.disabled2 = true; // this.disabled2 = true;
} }
if (this.model.ExistCarrierId > 0) { if (this.model.CategoryId > 0) {
this.disabled2 = true; // this.disabled2 = true;
this.glCarrierName = this.model.CarrierName;
} }
} else { } else {
this.model.CompanyId = this.datas.CompanyId this.model.CompanyId = this.datas.CompanyId
} }
}, },
methods: { methods: {
clickItem(x) {//类型选择
this.model.CategoryId = x.ID
this.CategoryName = x.ClassName
this.showTypeStatus = false
},
radioChange(evt) { radioChange(evt) {
for (let i = 0; i < this.OperateList; i++) { for (let i = 0; i < this.OperateList; i++) {
if (this.OperateList[i].value === evt.detail.value) { if (this.OperateList[i].value === evt.detail.value) {
......
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
model:{ model:{
ID:"",// 企业服务主键Id ID:"",// 企业服务主键Id
Name:"",// 企业名称 Name:"",// 企业名称
BannerList:"",// 企业图片 BannerList: [],// 企业图片
Introduction:"",// 企业简介 Introduction:"",// 企业简介
DevIntention:"",// 企业发展意向 DevIntention:"",// 企业发展意向
Address:"",// 楼宇位置 Address:"",// 楼宇位置
...@@ -624,7 +624,6 @@ ...@@ -624,7 +624,6 @@
uploadSuccessHandler(data, index, lists) { uploadSuccessHandler(data, index, lists) {
let r = JSON.parse(data); let r = JSON.parse(data);
this.model.BannerList.push(r.data); this.model.BannerList.push(r.data);
console.log(this.model.BannerList,'----333')
}, },
uploadcard(){ uploadcard(){
uni.chooseImage({ uni.chooseImage({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment