diff --git a/img/ask-for.png b/img/ask-for.png new file mode 100644 index 0000000..9f58377 Binary files /dev/null and b/img/ask-for.png differ diff --git a/img/pen-edit.png b/img/pen-edit.png new file mode 100644 index 0000000..f4bd17c Binary files /dev/null and b/img/pen-edit.png differ diff --git a/pages/edit/edit.js b/pages/edit/edit.js index 6dba2c0..f9397a6 100644 --- a/pages/edit/edit.js +++ b/pages/edit/edit.js @@ -34,7 +34,6 @@ Page({ data: [], title: "intermediary", need: true - }, 'type': { name: '出租方式', @@ -65,7 +64,6 @@ Page({ name: '房屋类型', data: [], list: {}, - need: true }, rentalduration: { @@ -103,7 +101,6 @@ Page({ placeholder: '请填写数字', unit: '', numberType: true - }, subject: { @@ -1761,9 +1758,7 @@ Page({ } if (field == 'address') { - if (this.data.fieldinfoNew.address.type == 'map') { - popUpIs = "AddressHongKong" - } + if (this.data.fieldinfoNew.address.type == 'map') popUpIs = "AddressHongKong" } if (popUpIs == 'unilineInput' || popUpIs == 'multilineInput' || popUpIs == 'multilineInput1') { diff --git a/pages/edit/edit.wxml b/pages/edit/edit.wxml index c6ce614..ece7ab3 100644 --- a/pages/edit/edit.wxml +++ b/pages/edit/edit.wxml @@ -29,6 +29,7 @@ + @@ -36,10 +37,10 @@ - + - + {{ isInput? isInput :( types=='edit' ?'编辑房源信息' :'发布房源信息' ) }} @@ -84,6 +85,7 @@ + @@ -98,6 +100,11 @@ + + + + + @@ -860,30 +867,49 @@ - + + + +