...
|
...
|
@@ -169,12 +169,7 @@ Page({ |
|
|
politics: politicsarr[e.detail.value]
|
|
|
})
|
|
|
},
|
|
|
// bindtypeChange(e) {
|
|
|
// let typearr = this.data.typearr;
|
|
|
// this.setData({
|
|
|
// type: parseInt(e.detail.value) +1
|
|
|
// })
|
|
|
// },
|
|
|
|
|
|
|
|
|
//选择省市区
|
|
|
getarea() {
|
...
|
...
|
@@ -210,6 +205,8 @@ Page({ |
|
|
|
|
|
})
|
|
|
},
|
|
|
|
|
|
|
|
|
//切换省份获取市和区/县
|
|
|
get_city(province_id = 0) {
|
|
|
let that = this;
|
...
|
...
|
@@ -661,7 +658,7 @@ Page({ |
|
|
onLoad: function(options) {
|
|
|
let that = this;
|
|
|
that.setData({
|
|
|
is_submit: options.is_submit,
|
|
|
is_submit: options.is_submit ? options.is_submit:null,
|
|
|
id: options.id,
|
|
|
page_type: options.type ? options.type : null
|
|
|
})
|
...
|
...
|
|