|
|
@@ -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;
|
|
|
}
|
|
|
|
|
|
},
|