Просмотр исходного кода

发货地址信息填写界面,点击“配送城市”没有选择框弹出,无法选择城市导致无法发货

wangning 5 лет назад
Родитель
Сommit
34b507ad3d
2 измененных файлов с 8 добавлено и 7 удалено
  1. 7 7
      ghsApp/src/components/app-address-group.vue
  2. 1 0
      ghsApp/src/pagesOrder/ship.vue

+ 7 - 7
ghsApp/src/components/app-address-group.vue

@@ -3,14 +3,14 @@
 		<tui-list-cell
 			class="line-cell"
 			:hover="false"
-			:arrow="flag"
+			:arrow="false"
 			@click="openAddres"
 		>
 			<view class="tui-title ">{{ cityTitle }}</view>
 			<view class="tui-input" v-if="form.province || form.city">
 				{{ form.province + "-" + form.city }}
 			</view>
-			<view class="tui-placeholder" v-else>请选择</view>
+			<view class="tui-input" v-else>请选择</view>
 			<input v-model="form.province" name="province" hidden />
 		</tui-list-cell>
 		<tui-list-cell
@@ -42,11 +42,11 @@
 			:city="form.city"
 		/>
 		<!-- 省市联动 -->
-		<simple-address
+		<!-- <simple-address
 			ref="simpleAddress"
 			:pickerValueDefault="cityPickerValueDefault"
 			@onConfirm="onCityConfirm"
-		></simple-address>
+		></simple-address> -->
 	</view>
 </template>
 
@@ -95,8 +95,7 @@ export default {
 				longitude: "",
 				latitude: ""
 			},
-			showRegion: false,
-      flag: false
+			showRegion: false
 		};
 	},
 	mounted(){
@@ -118,7 +117,8 @@ export default {
           this.$emit("selectAdress", this.form);
         })
       } else {
-        this.flag = true
+        this.form.province = this.getMyShopInfo.province;
+        this.form.city = this.getMyShopInfo.city;
       }
 			
 		},

+ 1 - 0
ghsApp/src/pagesOrder/ship.vue

@@ -43,6 +43,7 @@
 			padding="30rpx 30rpx"
 		>
 		</modal-module>
+    <kd-entrance></kd-entrance>
 	</view>
 </template>