From 16bad4b6fb6c9e94ec91164d8fcfc7b7d41af2d3 Mon Sep 17 00:00:00 2001 From: yanzai Date: Mon, 2 Dec 2024 15:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/pages/main/order/src/order.vue | 1 - h5/pages/user/fenzhen/fenzhen.vue | 36 +++++++++++++++++++++++++------ 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/h5/pages/main/order/src/order.vue b/h5/pages/main/order/src/order.vue index a074468..8dbe701 100644 --- a/h5/pages/main/order/src/order.vue +++ b/h5/pages/main/order/src/order.vue @@ -141,7 +141,6 @@ code: show_erweima_text, }"> - diff --git a/h5/pages/user/fenzhen/fenzhen.vue b/h5/pages/user/fenzhen/fenzhen.vue index fefd8ca..755e651 100644 --- a/h5/pages/user/fenzhen/fenzhen.vue +++ b/h5/pages/user/fenzhen/fenzhen.vue @@ -26,7 +26,7 @@ default: "0", }, }); - + let erweima_popup=ref(null) const fenzhen_list = ref(false); const check_tip_show = ref(false); const checkTipShow = (show) => { @@ -45,12 +45,12 @@ } const getFenzhenList = async (loading = true) => { if (!!loading) { - uni.showLoading(); + // uni.showLoading(); } const response = await $api("FenzhenList", { id: $props.id, }); - uni.hideLoading(); + //uni.hideLoading(); $response(response, () => { fenzhen_list.value = response.data; if (!check_tip_show.value) { @@ -63,7 +63,10 @@ setTimeout(() => { if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') && !window.location.href.includes('192.168.31.84:5173')) { - getFenzhenList(false) + if(erweimaText.value==''){ + getFenzhenList(false) + } + } }, 1000 * 10) }); @@ -148,6 +151,15 @@ const useTimeShow = (time) => { return Math.ceil(Number(time)) } + let erweimaText=ref(''); + const erweima_click=(text)=>{ + erweimaText.value=text + erweima_popup.value.open() + } + const MaskClickFunc=()=>{ + erweimaText.value='' + console.log(erweimaText.value) + } onShow(() => { if (!!config_ref.value) { @@ -158,6 +170,16 @@