From 526146b5bea59f78bf0bca803ca62c8fe82e9f26 Mon Sep 17 00:00:00 2001 From: yanzai Date: Sat, 11 Jan 2025 23:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../API/H5/CheckUpTypeController.php | 11 +- h5/config.js | 4 +- h5/manifest.json | 11 + h5/pages.json | 32 +- h5/pages/buy/choose/choose.vue | 11 +- h5/pages/main/combo/combo(旧).vue | 1068 ++++++++ h5/pages/main/combo/combo.vue | 2204 +++++++++-------- h5/pages/main/combo/combo_new.vue | 1170 --------- h5/pages/main/order/order_new.vue | 281 +++ h5/pages/main/tj/tjxq(旧).vue | 558 +++++ h5/pages/main/tj/tjxq.vue | 409 +-- h5/pages/main/tj/tjxq_new.vue | 567 ----- .../main/tjyy/{tjyy_new.vue => tjyy(旧).vue} | 270 +- h5/pages/main/tjyy/tjyy.vue | 270 +- 14 files changed, 3581 insertions(+), 3285 deletions(-) create mode 100644 h5/pages/main/combo/combo(旧).vue delete mode 100644 h5/pages/main/combo/combo_new.vue create mode 100644 h5/pages/main/order/order_new.vue create mode 100644 h5/pages/main/tj/tjxq(旧).vue delete mode 100644 h5/pages/main/tj/tjxq_new.vue rename h5/pages/main/tjyy/{tjyy_new.vue => tjyy(旧).vue} (71%) diff --git a/Laravel/app/Http/Controllers/API/H5/CheckUpTypeController.php b/Laravel/app/Http/Controllers/API/H5/CheckUpTypeController.php index ab06b7a..4237bd7 100644 --- a/Laravel/app/Http/Controllers/API/H5/CheckUpTypeController.php +++ b/Laravel/app/Http/Controllers/API/H5/CheckUpTypeController.php @@ -11,7 +11,16 @@ class CheckUpTypeController extends Controller //H5获取体检类型名称和logo public function GetList() { - $list=DB::table('checkup_type')->where(['status'=>1,'is_del'=>0])->get(); + $ids = [7,1,4]; + $sortedIds = implode(',', array_map('intval', $ids)); + $list=DB::table('checkup_type')->where(['status'=>1,'is_del'=>0]) + ->orderByRaw("FIELD(id, {$sortedIds})") + ->get(); + foreach($list as $k=>$v){ + if($v->name=='健康体检'){ + $v->name='预约体检'; + } + } return \Yz::Return(true,"查询完成",['list'=>$list]); } } diff --git a/h5/config.js b/h5/config.js index c936f2b..7ad1149 100644 --- a/h5/config.js +++ b/h5/config.js @@ -1,6 +1,6 @@ const app_type = 'gzh' -//const base_url = "https://api.hainan2024.sa0.online" //开发环境 -const base_url="https://tj-h5.hnxdfe.com" //正式环境 +//const base_url = "" //开发环境 +const base_url="http://124.225.137.54:39081" //测试环境 const config = { api_map_url: base_url + '/api/ApiMap/h5', base_assets_url: base_url, diff --git a/h5/manifest.json b/h5/manifest.json index 29327de..5a8d77f 100644 --- a/h5/manifest.json +++ b/h5/manifest.json @@ -57,6 +57,17 @@ }, "vueVersion" : "3", "h5" : { + "devServer": { + "proxy": { + "/api": { + "target": "http://124.225.137.54:39081", + "changeOrigin": true, + "pathRewrite": { + "^/api": "" + } + } + } + }, "router" : { "base" : "/h5/" }, diff --git a/h5/pages.json b/h5/pages.json index 6c1b0cc..87e7617 100644 --- a/h5/pages.json +++ b/h5/pages.json @@ -14,14 +14,6 @@ "navigationBarTextStyle": "white" } }, - { - "path": "pages/main/combo/combo_new", - "style": { - "navigationBarTitleText": "套餐", - "navigationBarBackgroundColor": "#239EA3", - "navigationBarTextStyle": "white" - } - }, { "path": "pages/main/combo/tcdb", "style": { @@ -115,14 +107,7 @@ "navigationBarBackgroundColor": "#239EA3", "navigationBarTextStyle": "white" } - },{ - "path": "pages/main/tj/tjxq_new", - "style": { - "navigationBarTitleText": "套餐详情", - "navigationBarBackgroundColor": "#239EA3", - "navigationBarTextStyle": "white" - } - }, + }, { "path": "pages/main/questionnaire/index", "style": { @@ -211,12 +196,7 @@ "style": { "navigationBarTitleText": "体检预约" } - },{ - "path": "pages/main/tjyy/tjyy_new", - "style": { - "navigationBarTitleText": "体检预约" - } - }, + }, { "path": "pages/user/pick/pick", "style": { @@ -322,6 +302,14 @@ "navigationBarTitleText" : "", "enablePullDownRefresh" : false } + }, + { + "path" : "pages/main/order/order_new", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } } ], diff --git a/h5/pages/buy/choose/choose.vue b/h5/pages/buy/choose/choose.vue index 00619ce..b17ae2b 100644 --- a/h5/pages/buy/choose/choose.vue +++ b/h5/pages/buy/choose/choose.vue @@ -103,7 +103,7 @@ diff --git a/h5/pages/main/combo/combo.vue b/h5/pages/main/combo/combo.vue index 17260ac..8cd713d 100644 --- a/h5/pages/main/combo/combo.vue +++ b/h5/pages/main/combo/combo.vue @@ -1,1068 +1,1170 @@ + .tishi_main{ + background-color: #fff; + padding: 40rpx 50rpx; + width:600rpx; + border-radius: 40rpx; + } + .tishi_button{ + width: 365rpx; + background-color: #009da5; + color:#fff; + text-align: center; + padding-top: 10rpx; + padding-bottom: 10rpx; + border-radius: 40rpx; + margin: 40rpx auto 10rpx auto; + } + .tishi_title{ + text-align: center; + font-size: 30rpx; + font-weight: 600; + color:#2b2827; + } + .tishi_title2{ + font-size: 28rpx; + margin-top: 30rpx; + font-weight: 600; + color:#3a3635; + border-left: 3px solid #009da5; + padding-left: 5rpx; + } + .tishi_content{ + font-size: 28rpx; + margin-top: 30rpx; + color:#474241; + } + .select_done_wrapper { + color: #ffffff; + background: #239ea3; + width: calc(100% - 60rpx); + margin: 50rpx auto 0; + height: 50rpx; + line-height: 50rpx; + text-align: center; + border-radius: 6rpx; + } + + .select_group_item_wrapper { + padding: 10rpx 20rpx; + border: 1rpx solid #239ea3; + font-size: 22rpx; + margin: 20rpx 20rpx 0 0; + border-radius: 6rpx; + color: #239ea3; + } + + .select_group_item_wrapper.active { + color: #ffffff; + background: #239ea3; + } + + .select_group_line_wrapper { + display: flex; + align-items: center; + flex-wrap: wrap; + } + + .select_group_wrapper { + margin: 20rpx; + } + + .list_wrapper { + padding-top: 30rpx; + height: calc(100vh - 100rpx - 10rpx - 70rpx - 80rpx - 30rpx - 30rpx); + width: 750rpx; + overflow-y: auto; + padding-bottom: 30rpx; + margin: 0 auto; + overflow-x: hidden; + -ms-overflow-style: none; + scrollbar-width: none; + overflow: -moz-scrollbars-none; + overflow-y: scroll; + background-color: #fff; + } + + .list_wrapper::-webkit-scrollbar { + display: none; + } + + .combo_line_wrapper { + width: 710rpx; + height: 1rpx; + background: #e1ecee; + margin: 26rpx 0rpx 0rpx 0; + } + + .combo_pick_button_wrapper { + width: 160rpx; + height: 60rpx; + background: #e1ecee; + border-radius: 30rpx; + font-weight: 400; + font-size: 28rpx; + color: #239ea3; + text-align: center; + line-height: 60rpx; + } + + .combo_buy_button_wrapper { + width: 160rpx; + height: 60rpx; + background: #239ea3; + border-radius: 30rpx; + font-weight: 400; + font-size: 28rpx; + color: #ffffff; + text-align: center; + line-height: 60rpx; + } + + .combo_button_wrapper { + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-around; + + } + + .combo_count_wrapper { + font-weight: 500; + font-size: 18rpx; + color: #8b8b8b; + line-height: 1; + } + + .combo_original_price_wrapper { + font-weight: 500; + font-size: 18rpx; + color: #8b8b8b; + line-height: 1; + text-decoration-line: line-through; + margin-left: 10rpx; + } + .combo_original_price_wrapper2 { + font-weight: 500; + font-size: 18rpx; + color: #8b8b8b; + line-height: 1; + margin-left: 10rpx; + } + + .combo_true_price_wrapper { + font-weight: 500; + font-size: 18rpx; + color: #ec3d15; + line-height: 1; + } + + .combo_true_price_number_wrapper { + font-size: 38rpx; + } + + .combo_price_wrapper { + display: flex; + align-items: end; + justify-content: space-between; + margin-top: 21rpx; + } + + .combo_price_box_wrapper { + display: flex; + align-items: end; + } + + .combo_wrapper { + /* height: 196rpx; */ + width: calc(750rpx - 80rpx); + margin: 0 auto; + background-color: #fff; + padding: 0rpx 40rpx 30rpx 40rpx; + } + + .combo_tags_wrapper { + display: flex; + align-items: center; + margin-top: 13rpx; + } + + .combo_desc_wrapper { + font-weight: 500; + font-size: 20rpx; + color: #8b8b8b; + line-height: 1; + margin-top: 18rpx; + } + + .combo_tag_wrapper { + padding-left: 13rpx; + padding-right: 13rpx; + height: 30rpx; + line-height: 30rpx; + border-radius: 5rpx; + font-weight: 400; + font-size: 18rpx; + color: #47abd8; + margin: 10rpx 8rpx 10rpx 0rpx; + border: 1rpx solid #009da5; + } + + .combo_name_wrapper { + font-weight: 400; + font-size: 32rpx; + color: #0e0e0e; + line-height: 32rpx; + + } + + .combo_content_wrapper { + margin-left: 30rpx; + width: calc(750rpx - 190rpx - 30rpx - 20rpx - 55rpx); + } + + .combo_info_wrapper { + display: flex; + align-items: center; + width: 750rpx; + margin: 0 auto; + } + + .combo_cover_wrapper { + width: 190rpx; + height: 190rpx; + margin-left: 20rpx; + } + + .combo_cover_wrapper image { + width: 190rpx; + height: 190rpx; + display: block; + object-fit: contain; + } + + .select_item_line_wrapper { + position: absolute; + width: 95rpx; + height: 10rpx; + background: linear-gradient(to bottom, #ffffff00, #1b9a9f); + border-radius: 5rpx; + bottom: 0; + left: 50%; + transform: translateX(calc(-50% - 8px)); + opacity: 0; + } + + .select_wrapper { + display: flex; + align-items: center; + justify-content: space-between; + width: 750rpx; + height: 80rpx; + background: #eef7f7; + box-shadow: 0rpx -1rpx 1rpx 0rpx rgba(0, 0, 0, 0.1); + margin: 0 auto; + position: relative; + z-index: 998; + } + + .select_item_icon_wrapper { + width: 18rpx; + height: 9rpx; + margin-left: 9rpx; + filter: grayscale(100%); + } + + .select_item_icon_wrapper image { + width: 18rpx; + height: 9rpx; + display: block; + object-fit: contain; + } + + .select_item_icon2_wrapper { + width: 26rpx; + height: 23rpx; + margin-left: 7rpx; + } + + .select_item_icon2_wrapper image { + width: 26rpx; + height: 23rpx; + display: block; + object-fit: contain; + } + + .select_item_name_wrapper { + font-weight: 400; + font-size: 26rpx; + color: #2f2f2f; + line-height: 1; + } + + .select_item_wrapper { + width: 25%; + display: flex; + align-items: center; + justify-content: center; + position: relative; + height: 80rpx; + } + + .select_item_wrapper.active .select_item_name_wrapper { + color: #239ea3; + font-weight: bold; + } + + .select_item_wrapper.active .select_item_icon_wrapper { + filter: grayscale(0%); + } + + .select_item_wrapper.active .select_item_line_wrapper { + opacity: 1; + } + + .doctor_name_wrapper { + font-weight: 400; + font-size: 24rpx; + line-height: 1; + color: #ffffff; + border-bottom: 1rpx solid #ffffff; + } + + .doctor_tip_wrapper { + font-weight: 400; + font-size: 22rpx; + line-height: 1; + color: #ffffff; + } + + .doctor_wrapper { + display: flex; + align-items: center; + width: 710rpx; + height: 70rpx; + background: #239ea3; + border-radius: 15rpx 15rpx 0rpx 0rpx; + padding-left: 24rpx; + } + + .user_choose_wrapper { + width: 50rpx; + height: 50rpx; + margin-left: 30rpx; + } + + .user_choose_wrapper image { + width: 50rpx; + height: 50rpx; + display: block; + object-fit: contain; + } + + .user_title_wrapper { + font-weight: 400; + font-size: 26rpx; + color: #fff; + line-height: 1; + } + + .user_name_wrapper { + font-weight: 400; + font-size: 26rpx; + color: #fff; + line-height: 1; + } + + .user_wrapper { + height: 60rpx; + padding-left: 40rpx; + padding-right: 20rpx; + margin-right: 20rpx; + background: #009ea7; + border-radius: 40rpx; + display: flex; + align-items: center; + justify-content: center; + } + + .header_wrapper { + display: flex; + align-items: center; + justify-content: space-between; + width: 710rpx; + height: 90rpx; + background: #d8edf2; + margin: 0 auto; + position: relative; + + background-color: #fff; + margin-left: 20rpx; + margin-right: 20rpx; + border-radius: 20rpx; + } + + .hospital_wrapper { + display: flex; + align-items: center; + width: 40%; + } + + .hospital_icon_wrapper { + width: 48rpx; + height: 48rpx; + margin-left: 20rpx; + } + + .hospital_icon_wrapper image { + width: 48rpx; + height: 48rpx; + display: block; + object-fit: contain; + } + + .hospital_name_wrapper { + font-weight: 400; + font-size: 28rpx; + color: #484747; + margin-left: 9rpx; + line-height: 1; + } + + .hospital_select_wrapper { + width: 24rpx; + height: 14rpx; + margin-left: 19rpx; + } + + .hospital_select_wrapper image { + width: 24rpx; + height: 14rpx; + display: block; + object-fit: contain; + } + + .popup_new_main { + background-color: #fff; + border-radius: 0rpx 0rpx 20rpx 20rpx; + padding: 40rpx 20rpx 20rpx 20rpx; + } + + .top_button_row { + display: flex; + justify-content: space-between; + padding-left: 20rpx; + padding-right: 20rpx; + } + + .top_button { + color: #666; + background-color: #fff; + padding: 6rpx 40rpx; + border-radius: 15rpx; + margin-top: -6rpx; + margin-bottom: 8rpx; + font-size: 28rpx; + width: 140rpx; + text-align: center; + } + + .top_button_active { + background-color: #009ea7; + color: #fff; + } + + .search {} + + .shaixuan_title { + font-size: 26rpx; + margin-top: 20rpx; + margin-bottom: 10rpx; + } + + .shaixuan_button { + font-size: 24rpx; + padding-left: 10rpx; + background-color: #ccc; + margin: 10rpx; + padding: 5rpx 10rpx; + border-radius: 5rpx; + background-color: #f3f3f3; + color: #1e1a19; + } + .shaixuan_button_active{ + background-color: #009da5; + color: #fff; + } + + \ No newline at end of file diff --git a/h5/pages/main/combo/combo_new.vue b/h5/pages/main/combo/combo_new.vue deleted file mode 100644 index e77209e..0000000 --- a/h5/pages/main/combo/combo_new.vue +++ /dev/null @@ -1,1170 +0,0 @@ - - - \ No newline at end of file diff --git a/h5/pages/main/order/order_new.vue b/h5/pages/main/order/order_new.vue new file mode 100644 index 0000000..397ad82 --- /dev/null +++ b/h5/pages/main/order/order_new.vue @@ -0,0 +1,281 @@ + + + + + + diff --git a/h5/pages/main/tj/tjxq(旧).vue b/h5/pages/main/tj/tjxq(旧).vue new file mode 100644 index 0000000..15202ab --- /dev/null +++ b/h5/pages/main/tj/tjxq(旧).vue @@ -0,0 +1,558 @@ + + + \ No newline at end of file diff --git a/h5/pages/main/tj/tjxq.vue b/h5/pages/main/tj/tjxq.vue index 15202ab..6a75aab 100644 --- a/h5/pages/main/tj/tjxq.vue +++ b/h5/pages/main/tj/tjxq.vue @@ -31,6 +31,7 @@ let personId = ref(""); // 患者id let groupId = ref(""); // 团检id let tabIndex = ref(-1); // 标签索引 + let total_original_price=ref(0); let totalPrice = ref(0); // 总折扣价格 let groupInfo = ref({}); // 团检信息 let status = ref(0); // 1个检套餐 2个检自选 3团检套餐 4团检自选 @@ -38,6 +39,9 @@ let notice = ref({}); // 体检须知 let losePrice = ref(0); // 剩余金额 let popupTip = ref(null); // 剩余额度提示弹窗 + let contentInfo=ref([])//详情信息 + let active_keshi=ref([]); + let popupXuZhi=ref(null); const GetReadmeDetails = async () => { const response = await $api("GetReadme"); @@ -83,7 +87,13 @@ default: "", }, }); - + const opendDetail=(index)=>{ + if(active_keshi.value.indexOf(index)!== -1){ + active_keshi.value.splice(active_keshi.value.indexOf(index), 1); + }else{ + active_keshi.value.push(index) + } + } const mountedAction = async () => { selectIds.value = $props.itemIds ? $props.itemIds.split(",") : []; wj.value = $props.wj || ""; @@ -125,16 +135,17 @@ getBuyInfo(); // 获取购买信息 }; - const buy = () => { + const buy = async (step=0) => { - if (tabIndex.value == 0) { + if (step == 1) { if (losePrice.value > 0 && groupId.value.length>0) { popupTip.value.open("center"); // 弹剩余额度提醒 return; } - GetReadmeDetails(); + await GetReadmeDetails(); + popupXuZhi.value.open(); } - if (tabIndex.value == 1 && buyText.value == "立即购买") { + if (step == 2) { $store.setBuyInfo({ combo_id: comboId.value, person_id: personId.value, @@ -181,6 +192,7 @@ status.value = 3; } if(groupInfo.value.items?.length){ + contentInfo.value.push(groupInfo.value.items) groupInfo.value.itemscount=0; let itemscount=0 groupInfo.value.items.forEach((v,i)=>{ @@ -192,8 +204,12 @@ } losePrice.value = response.data.lose_price; comboInfo.value = response.data.combo_info; + if(comboInfo.value.items?.length){ + contentInfo.value.push(comboInfo.value.items) + } itemsInfo.value = response.data.items_info; if(itemsInfo.value.items?.length){ + contentInfo.value.push(itemsInfo.value.items) itemsInfo.value.itemscount=0; let itemscount=0 itemsInfo.value.items.forEach((v,i)=>{ @@ -203,8 +219,10 @@ itemsInfo.value.itemscount=itemscount } totalPrice.value = response.data.true_price; + total_original_price.value=response.data.original_price tabIndex.value = 0; - + contentInfo.value=contentInfo.value.flat() + }); }; @@ -274,55 +292,17 @@ - + + + + 项目自选 + {{ comboInfo.combo_name }} + + - - - - - - {{ comboInfo.combo_name }} - - - - - {{ val }} - - - ¥ - {{ - comboInfo.price - }} - {{ - comboInfo.original_price - }} - 已售{{ comboInfo.sale_count }} - - - - - - - 适用人群: - {{ comboInfo.crowd_name }} - - - 适用院区: - {{ comboInfo.hospital_name }} - - - + + + @@ -354,169 +334,119 @@ - - - 套餐内容 - 自选内容 - 体检须知 + + + + 套餐项目 + {{ comboInfo?.tags[0]?.text }} + {{ itemsInfo?.itemscount }} + + - + - + - 套餐项目({{ comboInfo?.tags[0]?.text }}) - - 检查项目 - 检查指标意义 + + + 体检流程 + 检查项目 - + - - - {{ val.keshi_name }}({{ val.children.length }}) + + {{index+1}}.{{ val.keshi_name }} + {{ val.children.length }}个项目 + 查看详情>> - - - {{ v.name }} + + + + + + {{ v.name }} + + ? + + + {{ v.desc || "-" }} - {{ - v.desc || "-" - }} + - - - - 套餐项目({{ groupInfo.itemscount }}项) - - 检查项目 - 检查指标意义 - - - - - - {{ val.keshi_name }}({{ val.children.length }}) + + + + + + + + 体检须知 + + + + 体检须知 + + + + + + 选购套餐 - - - {{ v.name }} - - {{ - v.desc || "-" - }} + + - - - - - - - 自选项目({{ itemsInfo.itemscount }}项) - - 检查项目 - 检查指标意义 - - - - - - {{ val.keshi_name }}({{ val.children.length }}) + + + 预约体检 - - - {{ v.name }} - - {{ v.desc || "-" }} + + + + + + 前往体检 + + + + + + + 领取报告 - - - - - - - - - 体检须知 - - - - 体检须知 - - - - - - 选购套餐 - - - - - - - 预约体检 - - - - - - - 前往体检 - - - - - - - 领取报告 + + + 体检注意事项 - - - - 体检注意事项 - - + + + 我已知晓 - + + - + - - 套餐价格 - ¥ {{ comboInfo.price }} - - - 自选项目价格 - ¥ {{ itemsInfo.price || 0 }} - - - 合计费用 - ¥ - {{ + + ¥ {{ total_original_price }} + + + ¥{{ totalPrice }} - - @@ -526,17 +456,9 @@ .comboInfo { position: relative; z-index: 1; - - &::after { - content: ""; - width: 100%; - height: 50rpx; - background-color: #239ea3; - position: absolute; - left: 0; - top: 0; - z-index: -1; - } + background-color: #fff; + min-height: calc(100vh - 200rpx); + .active { color: #239ea3; @@ -555,4 +477,91 @@ } } } + + \ No newline at end of file diff --git a/h5/pages/main/tj/tjxq_new.vue b/h5/pages/main/tj/tjxq_new.vue deleted file mode 100644 index 730a301..0000000 --- a/h5/pages/main/tj/tjxq_new.vue +++ /dev/null @@ -1,567 +0,0 @@ - - - - \ No newline at end of file diff --git a/h5/pages/main/tjyy/tjyy_new.vue b/h5/pages/main/tjyy/tjyy(旧).vue similarity index 71% rename from h5/pages/main/tjyy/tjyy_new.vue rename to h5/pages/main/tjyy/tjyy(旧).vue index 9461037..eff1cf6 100644 --- a/h5/pages/main/tjyy/tjyy_new.vue +++ b/h5/pages/main/tjyy/tjyy(旧).vue @@ -509,53 +509,201 @@ const toRouter = (url, status, index) => { - + - - + + + + + + {{ comboInfo.combo_name }} + + + + + {{ val }} + + + ¥ + {{ + comboInfo.price + }} + {{ + comboInfo.original_price + }} + 已售{{ comboInfo.sale_count }} + + + + + + + + + 您好, + {{ groupInfo.name }} + + + + + + 单位名称: + {{ groupInfo.group_name }} + + + 部门名称: + {{ groupInfo.bumen_name }} + + + 套餐名称: + {{ groupInfo?.combo_name || comboInfo?.combo_name }} + + + 体检额度: + {{ groupInfo.tongshou_xiane }} + + + + + 自选项目 + + + {{ itemsInfo?.items[index]?.keshi_name }} - + + + {{ v.name }} + + + + + + 预约人信息 - - - - - {{ - userInfo.name - }} - - {{ userInfo.sex == 1 ? "男性" : "女性" }} - {{ - userInfo.married == 1 - ? "已婚" - : userInfo.married == 2 - ? "未婚" - : "未知" - }} - {{ userInfo.phone }} - - - - - - + + {{ + userInfo.name + }} + + {{ userInfo.sex == 1 ? "男性" : "女性" }} + {{ + userInfo.married == 1 + ? "已婚" + : userInfo.married == 2 + ? "未婚" + : "未知" + }} + {{ userInfo.phone }} + + + + + + {{ + v + }} + + {{ val.time }} + {{ + val.time ? "重新预约" : "预约时间" + }} + + + 体检医生 + {{ + yytjInfo?.doctor_name || "选择医生" + }} + + - { - 优惠券 - (共{{ couponList.length }}个) @@ -595,14 +743,14 @@ const toRouter = (url, status, index) => { - 预存款 - (剩余{{ save_money }}) @@ -613,13 +761,13 @@ const toRouter = (url, status, index) => { - - + + 选择“预约人”和“体检时间”后,请点击提交按钮,完成预约。 @@ -627,8 +775,8 @@ const toRouter = (url, status, index) => { 购买后如需退款,未到预约体检日期者可在“我的订单”中点击申请退款,体检当日取消或逾期未检者须至健康管理中心服务台办理 @@ -683,14 +831,21 @@ const toRouter = (url, status, index) => { - + + + + ¥ + {{ netReceiptsPrice }} + - + @@ -707,9 +862,17 @@ const toRouter = (url, status, index) => { .comboInfo { position: relative; z-index: 1; - background-color: #D8EEF3; - padding-top: 20rpx; - min-height: calc(100vh - 80rpx); + &::after { + content: ""; + width: 100%; + height: 50rpx; + background-color: #239ea3; + position: absolute; + left: 0; + top: 0; + z-index: -1; + } + .active { color: #239ea3; font-weight: bold; @@ -727,9 +890,4 @@ const toRouter = (url, status, index) => { } } } -.button{ - position: fixed; - bottom: 80rpx; - right: 40rpx; -} diff --git a/h5/pages/main/tjyy/tjyy.vue b/h5/pages/main/tjyy/tjyy.vue index eff1cf6..9461037 100644 --- a/h5/pages/main/tjyy/tjyy.vue +++ b/h5/pages/main/tjyy/tjyy.vue @@ -509,201 +509,53 @@ const toRouter = (url, status, index) => { - + - + + - - - - - {{ comboInfo.combo_name }} - - - - - {{ val }} - - - ¥ - {{ - comboInfo.price - }} - {{ - comboInfo.original_price - }} - 已售{{ comboInfo.sale_count }} - - - - - - - - - 您好, - {{ groupInfo.name }} - - - - - - 单位名称: - {{ groupInfo.group_name }} - - - 部门名称: - {{ groupInfo.bumen_name }} - - - 套餐名称: - {{ groupInfo?.combo_name || comboInfo?.combo_name }} - - - 体检额度: - {{ groupInfo.tongshou_xiane }} - - - - - 自选项目 - - - {{ itemsInfo?.items[index]?.keshi_name }} - - - - {{ v.name }} - - - - - - 预约人信息 - - {{ - userInfo.name - }} - - {{ userInfo.sex == 1 ? "男性" : "女性" }} - {{ - userInfo.married == 1 - ? "已婚" - : userInfo.married == 2 - ? "未婚" - : "未知" - }} - {{ userInfo.phone }} - - - - - - {{ - v - }} - - {{ val.time }} - {{ - val.time ? "重新预约" : "预约时间" - }} - - - 体检医生 - {{ - yytjInfo?.doctor_name || "选择医生" - }} - - + + + + + {{ + userInfo.name + }} + + {{ userInfo.sex == 1 ? "男性" : "女性" }} + {{ + userInfo.married == 1 + ? "已婚" + : userInfo.married == 2 + ? "未婚" + : "未知" + }} + {{ userInfo.phone }} + + + + + + - { - 优惠券 - (共{{ couponList.length }}个) @@ -743,14 +595,14 @@ const toRouter = (url, status, index) => { - 预存款 - (剩余{{ save_money }}) @@ -761,13 +613,13 @@ const toRouter = (url, status, index) => { - - + + 选择“预约人”和“体检时间”后,请点击提交按钮,完成预约。 @@ -775,8 +627,8 @@ const toRouter = (url, status, index) => { 购买后如需退款,未到预约体检日期者可在“我的订单”中点击申请退款,体检当日取消或逾期未检者须至健康管理中心服务台办理 @@ -831,21 +683,14 @@ const toRouter = (url, status, index) => { - - - - ¥ - {{ netReceiptsPrice }} - + - + @@ -862,17 +707,9 @@ const toRouter = (url, status, index) => { .comboInfo { position: relative; z-index: 1; - &::after { - content: ""; - width: 100%; - height: 50rpx; - background-color: #239ea3; - position: absolute; - left: 0; - top: 0; - z-index: -1; - } - + background-color: #D8EEF3; + padding-top: 20rpx; + min-height: calc(100vh - 80rpx); .active { color: #239ea3; font-weight: bold; @@ -890,4 +727,9 @@ const toRouter = (url, status, index) => { } } } +.button{ + position: fixed; + bottom: 80rpx; + right: 40rpx; +}