提交
This commit is contained in:
parent
ae6f5ca882
commit
7a1b614e6e
@ -495,7 +495,6 @@ Page({
|
||||
popUpIs: "about"
|
||||
})
|
||||
})
|
||||
console.log("aboutRulesList", this.data.aboutRulesList);
|
||||
},
|
||||
|
||||
// 新的获取发布数据
|
||||
@ -687,8 +686,7 @@ Page({
|
||||
if (element.field == 'property' || element.field == 'gender' || element.field == 'intermediary' || element.field == 'elevator' || element.field == 'sunshinearea' || element.field == 'publishergender' || element.field == 'floor') {
|
||||
choices = []
|
||||
if (element.choices.length >= 0) {
|
||||
// if ((this.data.types == 'edit' || this.data.types == 'edit1') && element.field != 'floor' && element.field != 'sunshinearea') {
|
||||
if (this.data.types == 'edit' || this.data.types == 'edit1') {
|
||||
if ((this.data.types == 'edit' || this.data.types == 'edit1') && element.field != 'floor' && element.field != 'sunshinearea') {
|
||||
element.choices.forEach(el => {
|
||||
if (el.key == data.info[element.field]) data.info[element.field] = el.value
|
||||
})
|
||||
@ -780,13 +778,6 @@ Page({
|
||||
});
|
||||
}
|
||||
|
||||
// if (data.info['rent'] == 0) data.info['rent'] = []
|
||||
// if (data.info['sunshinearea'] == 0) data.info['sunshinearea'] = []
|
||||
// if (data.info['floor'] == 0) data.info['floor'] = []
|
||||
// if (data.info['acreage'] == '') data.info['acreage'] = []
|
||||
|
||||
|
||||
// if (data.info.floor != null) data.info.floor = data.info.floor != 0 ? data.info.floor + '楼' : null
|
||||
|
||||
if (data.type == "edit") this.data.contactInformationState = data.info.iswechattype
|
||||
else data.info.iswechattype = 0
|
||||
@ -2575,8 +2566,6 @@ Page({
|
||||
}
|
||||
})
|
||||
|
||||
console.log("popUpdate", this.data.popUpdate);
|
||||
|
||||
}
|
||||
|
||||
// for (const key in fieldinfo) {
|
||||
|
@ -66,7 +66,7 @@
|
||||
<!-- 新的服务类型 -->
|
||||
<!-- <template is="new-marquee-box"></template> -->
|
||||
|
||||
<header-nav inner-text="Some text" bgcolor="rgba(246, 246, 246, 1)">发布求房源</header-nav>
|
||||
<header-nav inner-text="Some text" bgcolor="rgba(246, 246, 246, 1)">{{ types=='edit' ? '编辑' : '发布' }}求房源</header-nav>
|
||||
|
||||
<view class="header-tips" wx:if="{{ false }}">
|
||||
<view class="name-tips">
|
||||
|
@ -254,10 +254,10 @@
|
||||
</view>
|
||||
<view class="house-id">房源ID:224072</view>
|
||||
<view class="house-operation">
|
||||
<view class="operation-item">删除</view>
|
||||
<view class="operation-item">编辑</view>
|
||||
<view class="operation-item">下架</view>
|
||||
<view class="operation-item blue">顶上去</view>
|
||||
<view class="operation-item flexcenter">删除</view>
|
||||
<view class="operation-item flexcenter">编辑</view>
|
||||
<view class="operation-item flexcenter">下架</view>
|
||||
<view class="operation-item blue flexcenter">顶上去</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="repeatedRelease-message">
|
||||
|
Loading…
x
Reference in New Issue
Block a user