修复商家入驻弹出层遮挡

parent 0b313973
<template> <template>
<view class="container"> <view class="container">
<template v-if="showNavBar">
<Search :showTitle="true" title="商家入驻" backgroundBox="white"></Search> <Search :showTitle="true" title="商家入驻" backgroundBox="white"></Search>
</template>
<view class="content"> <view class="content">
<view class="formmain"> <view class="formmain">
...@@ -237,6 +239,7 @@ const token = getToken(); ...@@ -237,6 +239,7 @@ const token = getToken();
const action = ref(import.meta.env.VITE_APP_BASE_URL + '/sgyrdd/file/update'); const action = ref(import.meta.env.VITE_APP_BASE_URL + '/sgyrdd/file/update');
const headers = ref(''); const headers = ref('');
const fileDomain = import.meta.env.VITE_APP_IMG_URL; const fileDomain = import.meta.env.VITE_APP_IMG_URL;
const showNavBar = ref(true);
// 店铺logo图片组 // 店铺logo图片组
const fileListShopLogo = ref([]); const fileListShopLogo = ref([]);
// 身份证正面图片组 // 身份证正面图片组
...@@ -706,6 +709,7 @@ const submitData = () => { ...@@ -706,6 +709,7 @@ const submitData = () => {
// 重新定位收货地址 // 重新定位收货地址
async function changeLocation() { async function changeLocation() {
showNavBar.value = false;
uni.chooseLocation({ uni.chooseLocation({
success: function (res) { success: function (res) {
// forMData.value.city = res.address; // forMData.value.city = res.address;
...@@ -728,10 +732,14 @@ async function changeLocation() { ...@@ -728,10 +732,14 @@ async function changeLocation() {
formData.area = res.data.result.address_component.district; formData.area = res.data.result.address_component.district;
ssq.value = formData.province + formData.city + formData.area; ssq.value = formData.province + formData.city + formData.area;
// showNavBar.value = true;
} }
}, },
}); });
}, },
complete: (res) => {
showNavBar.value = true;
},
}); });
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment