From 2abe719b8dd3ad2cf5c79c9f39473815f96a6098 Mon Sep 17 00:00:00 2001 From: yanzai Date: Tue, 7 Jan 2025 17:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=97=E9=A4=90=E5=AF=B9=E6=AF=94=E3=80=81?= =?UTF-8?q?=E4=B8=93=E5=AE=B6=E5=AE=9A=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/pages/main/combo/combo_new.vue | 141 ++++++++------ h5/pages/main/combo/tcdb.vue | 306 +++++++++++++++--------------- 2 files changed, 237 insertions(+), 210 deletions(-) diff --git a/h5/pages/main/combo/combo_new.vue b/h5/pages/main/combo/combo_new.vue index 108922d..e77209e 100644 --- a/h5/pages/main/combo/combo_new.vue +++ b/h5/pages/main/combo/combo_new.vue @@ -55,6 +55,9 @@ let itemId = ref(""); // 项目id let comboId = ref(""); // 套餐id let price_max_min=ref([]); + let zhuangjianType=ref(18); + let TiShiPopupRef=ref(null);//提示弹窗 + let SelectedComboInfo=ref(null);//选中的套餐信息 const selectItemClick = async (index, key) => { // 选择套餐条件 @@ -308,10 +311,7 @@ } }; - const select_drawer_ref = ref(null); - const selectDrawerRef = (e) => { - select_drawer_ref.value = e; - }; + onShow(() => { $store.setDuoXuanYi({}); @@ -326,6 +326,7 @@ }) const buyClick = async (item) => { + SelectedComboInfo.value=item let checkup_type_id = $store.getCheckupTypeId(); console.log("----", checkup_type_id.id); if (checkup_type_id.id == "" || checkup_type_id.id == undefined) { @@ -343,6 +344,10 @@ multipleList.value = item.duo_xuan_yi; return; } + if(item.type_id=zhuangjianType.value){ + TiShiPopupRef.value.open(); + return + } toDetail(); }; @@ -425,6 +430,14 @@ } const tabsClickFunc=(value)=>{ tabs_active_id.value=value + if(value==1){ + comboIndex.value=zhuangjianType.value //设置筛选套餐类型为专家 + screenObj.value.combo_type=comboIndex.value + }else{ + comboIndex.value='' + delete screenObj.value.combo_type + } + getComboList(); } \ No newline at end of file diff --git a/h5/pages/main/combo/tcdb.vue b/h5/pages/main/combo/tcdb.vue index 3aa20d7..a4d07da 100755 --- a/h5/pages/main/combo/tcdb.vue +++ b/h5/pages/main/combo/tcdb.vue @@ -1,93 +1,99 @@ - + \ No newline at end of file