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