diff --git a/package1/address/addressList.vue b/package1/address/addressList.vue index b3fefc8..ad603d9 100644 --- a/package1/address/addressList.vue +++ b/package1/address/addressList.vue @@ -39,9 +39,10 @@ - - + + {{addressForm.id ? '编辑地址' : '填写地址'}} + {{areaTitleInput}} @@ -70,7 +71,7 @@ - + 选择楼座区域 @@ -86,7 +87,7 @@ :cursor-spacing="160" /> - + 未找到匹配的楼座 @@ -264,16 +265,19 @@ this.$refs.addBookPopup.open('bottom'); }, openAreaPopup() { - this.areaSearchInput = this.areaTitleInput; + this.areaSearchInput = ''; this.getAreaList(); this.$refs.areaPopup.open(); }, closeAreaPopup() { this.$refs.areaPopup.close(); }, + closeAddBookPopup() { + this.$refs.addBookPopup.close(); + }, selectAreaTitle(title) { this.areaTitleInput = title; - this.areaSearchInput = title; + this.areaSearchInput = ''; this.closeAreaPopup(); }, onFloorInput(e) { @@ -464,6 +468,25 @@ padding-top: 40rpx; } + .book-popup-title { + height: 80rpx; + line-height: 80rpx; + font-size: 36rpx; + font-weight: 700; + text-align: center; + position: relative; + } + + .book-popup-close { + position: absolute; + right: 0; + top: 0; + width: 80rpx; + height: 80rpx; + line-height: 80rpx; + text-align: center; + } + .area-select { margin-bottom: 20rpx; display: flex; diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index 475813f..bb87368 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -1,52 +1,56 @@