diff --git a/pages/news/park/addressEdit.vue b/pages/news/park/addressEdit.vue index 05c4282..f92869c 100644 --- a/pages/news/park/addressEdit.vue +++ b/pages/news/park/addressEdit.vue @@ -27,8 +27,8 @@ - - {{cityInfo?cityInfo.province+cityInfo.city+cityInfo.area:'请选择省市区'}} + + {{cityInfo.province?cityInfo.province+cityInfo.city+cityInfo.area:'请选择省市区'}} @@ -75,7 +75,7 @@ region: [], detail: '' }, - content:'', + content: '', addressDetail: null, addressId: '', multiIndex: [0, 0, 0], @@ -104,6 +104,8 @@ label: this.addressDetail.region.region }]; this.form.detail = this.addressDetail.detail; + }else{ + this.cityInfo.province='' } this.getProvinceAll() }, @@ -136,7 +138,7 @@ if (res.status) { let data = res.data.detail this.cityInfo.province = data.region.province; - this.cityInfo.city =data.region.city; + this.cityInfo.city = data.region.city; this.cityInfo.area = data.region.region; this.form.detail = data.detail this.form.name = data.name; @@ -149,7 +151,7 @@ label: data.region.city }, { value: data.region_id, - label:data.region.region + label: data.region.region }]; uni.showToast({ title: '识别成功', @@ -176,7 +178,7 @@ let c_name = this.multiArray[2][e.detail.value[2]].name; let c_id = this.multiArray[2][e.detail.value[2]].id; this.cityInfo.province = a_name; - this.cityInfo.city =b_name; + this.cityInfo.city = b_name; this.cityInfo.area = c_name; this.form.region = [{ value: a_id, @@ -277,25 +279,25 @@ .section { background-color: #fff; padding: 0 18upx; - + .realAddr { padding: 10upx 0 !important; - + ::v-deep .uni-input-wrapper { text-align: left !important; } - + ::v-deep .uni-input-placeholder { white-space: pre-wrap; } } - + .btnContent { display: flex; justify-content: flex-end; padding-bottom: 30upx; } - + .btn { width: 120upx; height: 50upx; @@ -304,19 +306,19 @@ opacity: 1; line-height: 50upx; text-align: center; - + font-size: 24upx; font-family: PingFang SC, PingFang SC; font-weight: 500; color: #FFFFFF; - + } - + .addrDetail { padding: 0 10upx; - + .addrTitle { - + font-size: 28upx; font-family: PingFang SC, PingFang SC; font-weight: 400; @@ -325,6 +327,7 @@ } } } + .addressList { padding: 0 0 20rpx; overflow: hidden; diff --git a/yanzong_qianduan b/yanzong_qianduan deleted file mode 160000 index adf9856..0000000 --- a/yanzong_qianduan +++ /dev/null @@ -1 +0,0 @@ -Subproject commit adf98563164876f5353fe4b81dc81a8a70e3aa34