diff --git a/app.json b/app.json
index 5aaade3..dc622cc 100644
--- a/app.json
+++ b/app.json
@@ -8,7 +8,6 @@
"pages/quarantineLists/quarantineLists",
"pages/report/report",
"pages/irentPark/irentPark",
- "pages/chooseLocation/chooseLocation",
"pages/user/user",
"pages/search/search",
"pages/edit/edit",
diff --git a/img/approve.png b/img/approve.png
deleted file mode 100644
index cd880af..0000000
Binary files a/img/approve.png and /dev/null differ
diff --git a/img/wechart.png b/img/wechart.png
index 51de208..3371708 100644
Binary files a/img/wechart.png and b/img/wechart.png differ
diff --git a/pages/askHousing/askHousing.js b/pages/askHousing/askHousing.js
index 5788002..1c803a7 100644
--- a/pages/askHousing/askHousing.js
+++ b/pages/askHousing/askHousing.js
@@ -305,13 +305,13 @@ Page({
for: 491
},
acreage: {
- min: 100,
+ min: 10,
max: 3000,
rate: 29,
- defaultMin: 5,
- defaultMax: 40,
+ defaultMin: 0,
+ defaultMax: 299,
step: 10,
- for: 291
+ for: 300
}
}
},
@@ -1261,6 +1261,12 @@ Page({
return
}
+ if (this.data.fieldinfo[this.data.popUpit][this.data.step].field == "gender" && this.data.newinfo['type'].indexOf("合租") == -1) {
+ this.setData({
+ step: this.data.step + 1
+ })
+ }
+
let field = this.data.fieldinfo[this.data.popUpit][this.data.step].field
let popUpdate = {
...this.data.fieldinfoNew[field]
@@ -1281,6 +1287,8 @@ Page({
return
}
+ console.log("field", field);
+
this.optionScroll(this.data.fieldinfoNew[popUpdate.field].field)
if (popUpdate.popUpIs == 'unilineInput' || popUpdate.popUpIs == 'multilineInput' || popUpdate.popUpIs == 'multilineInput1') {
this.data.focustitle = popUpdate.field
@@ -1288,9 +1296,6 @@ Page({
if ((field == "acreage" || field == 'rent') && this.data.newinfo[field].length < 2) {
- // let estimatedValue = this.data.estimatedValue[field]
- // this.data.newinfo[field] = [estimatedValue.defaultMin, estimatedValue.defaultMax]
- // popUpdate['value'] = [estimatedValue.defaultMin, estimatedValue.defaultMax]
this.setData({
[`newinfo.${field}`]: popUpdate['value']
})
@@ -1714,11 +1719,36 @@ Page({
bindChangeRent(e) {
let value = e.detail.value
let popUpdate = this.data.popUpdate
+
+ console.log(value, "value");
this.setData({
[`newinfo.${popUpdate.field}`]: value,
[`popUpdate.value`]: value
})
},
+ popUpIsQRCodeState: false,
+ handleWechatQRCodeState() {
+ this.setData({
+ getWechatQRCodeState: !this.data.getWechatQRCodeState
+ })
+
+ if (this.data.popUpIs) {
+ this.popUpIsQRCodeState = true
+ this.setData({
+ popUpIs: ""
+ })
+ }
+ if (!this.data.getWechatQRCodeState && this.popUpIsQRCodeState) {
+ this.popUpIsQRCodeState = false
+ this.setData({
+ popUpIs: "contactInformation"
+ })
+ }
+
+
+
+ },
+
})
\ No newline at end of file
diff --git a/pages/askHousing/askHousing.wxml b/pages/askHousing/askHousing.wxml
index 37f10ad..bb29570 100644
--- a/pages/askHousing/askHousing.wxml
+++ b/pages/askHousing/askHousing.wxml
@@ -37,6 +37,9 @@
num = 0
}
return num.toFixed(1)
+ },
+ indexof: function (str, targetStr) {
+ return str.indexOf(targetStr) >= 0 ? true : false
}
}
@@ -51,6 +54,8 @@
{{ types=='edit' ? '编辑' : '发布' }}求房源
+
+