diff --git a/pages/product/goods.vue b/pages/product/goods.vue index 559e2cf..7c54536 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -170,17 +170,6 @@ - - 送至 - - {{clearStrComma(delivery.consigneeAddressPath) - }} - 暂无地址信息 - - - - - @@ -271,12 +260,8 @@ - - - - @@ -318,7 +303,6 @@ import storeLayout from './product/shop/-shop' import Evaluation from './product/evaluation/-evaluation' import GoodsSwiper from './product/goods/-goods-swiper' import popupGoods from '@/components/m-buy/goods' -import popupAddress from './product/popup/address' import shares from '@/components/m-share/index' import takeDownFormSaleGoods from '@/components/m-take-down-sale-goods/index' import setup from './product/popup/popup' @@ -358,7 +342,6 @@ const goodsSpec = ref("") const imgList = ref([]) const favorite = ref(false) const recommendList = ref([]) -const addressFlag = ref(false) const buyMask = ref(false) const num = ref(1) const skuId = ref("") @@ -372,7 +355,6 @@ const PromotionList = ref("") const specList = ref([]) const selectedSpec = ref([]) const nums = ref(0) -const delivery = ref("") const exchange = ref({}) const productId = ref(0) const startTimer = ref(false) @@ -550,13 +532,6 @@ function changedGoods(val: any) { selectedGoods.value = val } -function deliveryFun(val: any) { - delivery.value = val -} - -function closePopupAddress(val: any) { - addressFlag.value = val -} function closePopupBuy(val: any) { buyMask.value = val @@ -694,15 +669,11 @@ function handleBuyClick() { function shutMask(flag: any, buyFlag?: any, type?: any) { promotionShow.value = false buyMask.value = false - addressFlag.value = false if (flag) { switch (flag) { case 1: promotionShow.value = true break - case 3: - addressFlag.value = true - break case 4: buyMask.value = true if (buyFlag == "PINTUAN") { diff --git a/pages/product/product/popup/address.vue b/pages/product/product/popup/address.vue index 9692ea1..0998d25 100644 --- a/pages/product/product/popup/address.vue +++ b/pages/product/product/popup/address.vue @@ -54,10 +54,6 @@ const cityList = ref([ onMounted(() => { if (isLogin('auth')) { getShippingAddress() - } else { - uni.navigateTo({ - url: '/pages/passport/login', - }) } })