From d504f6e8e3c7a9c8d0466184233d8f3a8b0beb9c Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Tue, 28 Sep 2021 11:25:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=8E=86=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goodsDetail/index.vue | 758 ++++++++---------- pages/order/confirm_order.vue | 3 + uview-ui/components/u-calendar/u-calendar.vue | 8 +- 3 files changed, 326 insertions(+), 443 deletions(-) diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue index fafc89b..88ba091 100644 --- a/pages/goodsDetail/index.vue +++ b/pages/goodsDetail/index.vue @@ -3,9 +3,12 @@ - + - + + @@ -24,7 +27,8 @@ - {{ item.tag }} + + {{ item.tag }} @@ -38,18 +42,23 @@ - - {{goods_detail.product.extends.field_2_name}} + + {{goods_detail.product.extends.field_2_name}} + - {{goods_detail.product.extends.field_2_address}} + + {{goods_detail.product.extends.field_2_address}} - + 景区开放时间 - + {{item.node}} {{item.summer}} {{item.winter}} @@ -60,26 +69,28 @@ 包含项目 - - + + {{item.name}} - {{item.num}} - {{item.price}} + + {{item.num}} + + {{item.price}} - + - + - ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} + + ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} 使用时间:{{ go_date }} @@ -87,20 +98,22 @@ 套餐类型 - {{item.name}} + + {{item.name}} 使用时间 - 使用时间 + 使用时间 - {{go_date}} + {{go_date}} @@ -110,21 +123,25 @@ - + - - {{goods_detail.product.extends.field_3_name}} + + {{goods_detail.product.extends.field_3_name}} + - {{goods_detail.product.extends.field_3_address}} + + {{goods_detail.product.extends.field_3_address}} - + 餐厅开放时间 - + - + {{item.section}} {{item.time}} {{item.week}} @@ -135,20 +152,25 @@ 包含套餐 - + {{item.name}} {{item.num}} {{item.price}} - + - + - - {{goods_detail.product.extends.field_1_name}} + + + {{goods_detail.product.extends.field_1_name}} - {{goods_detail.product.extends.field_1_address}} + + {{goods_detail.product.extends.field_1_address}} @@ -157,19 +179,25 @@ 酒店设施 - + {{item.tag}} - + + + - ¥{{ total_hotel_orginalprice || goods_detail.spec[type_index].original_price }} + + ¥{{ total_hotel_orginalprice || goods_detail.spec[type_index].original_price }} 酒店住房日期:{{live_date}}~{{leave_date}} @@ -177,55 +205,29 @@ 套餐类型 - {{item.name}} + {{item.name}} - 入住时间 - - - - - {{ live_date }} - - - - - - - 离店时间 + 住店时间 - - - {{ leave_date }} - + {{live_date}}~{{leave_date}} - - - 到店日期 - - - - - {{ arrive_date }} - - - - - + + + - 到店时间 + 到店时间 - - - {{ arrive_time }} - + {{arrive_date}} @@ -236,40 +238,44 @@ - + 包含项目 - - + + {{item.name}} - {{item.num}} - {{item.price}} + + {{item.num}} + + {{item.price}} - - + + 行程时间 - {{goods_detail.product.extends.field_0_date.start}}~{{goods_detail.product.extends.field_0_date.end}} + + {{goods_detail.product.extends.field_0_date.start}}~{{goods_detail.product.extends.field_0_date.end}} + - + - ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} + + ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} 套餐类型:{{goods_detail.spec[type_index].name}} @@ -277,19 +283,21 @@ 套餐类型 - {{item.name}} + + {{item.name}} - 使用时间 + 使用时间 - - + + {{go_date}} @@ -304,7 +312,8 @@ - ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} + + ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} 套餐类型:{{goods_detail.spec[type_index].name}} @@ -312,19 +321,21 @@ 套餐类型 - {{item.name}} + + {{item.name}} - 使用时间 + 使用时间 - - + + {{go_date}} @@ -339,7 +350,8 @@ - ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} + + ¥{{ choose_date_orangilprice || goods_detail.spec[type_index].original_price }} 套餐类型:{{goods_detail.spec[type_index].name}} @@ -347,7 +359,9 @@ 套餐类型 - {{item.name}} + + {{item.name}} @@ -356,13 +370,13 @@ - 使用时间 + 使用时间 - - + + {{go_date}} @@ -377,17 +391,18 @@ 购买须知 - + 商品详情 - + - + 首页 @@ -396,7 +411,8 @@ 客服 - + + {{ is_collect ? '已收藏' : '收藏' }} @@ -409,7 +425,8 @@ - + + @@ -418,8 +435,16 @@ \ No newline at end of file + diff --git a/pages/order/confirm_order.vue b/pages/order/confirm_order.vue index 89d009c..fc1f029 100644 --- a/pages/order/confirm_order.vue +++ b/pages/order/confirm_order.vue @@ -271,6 +271,7 @@ //图片上传 hostImg: '', img_list: [], // 反馈问题图片 + form_type: '' } }, onLoad(e) { @@ -279,6 +280,8 @@ this.goods_type = e.goods_type; this.btn_type = e.btn_type; this.order_id = e.order_id; + this.form_type = JSON.parse(decodeURIComponent(e.form_type));; + console.log('表单格式',this.form_type) var arr = e.spec_id.split(",") console.log(arr) this.hotel_specid = arr diff --git a/uview-ui/components/u-calendar/u-calendar.vue b/uview-ui/components/u-calendar/u-calendar.vue index 80ed3ee..012a5de 100644 --- a/uview-ui/components/u-calendar/u-calendar.vue +++ b/uview-ui/components/u-calendar/u-calendar.vue @@ -40,7 +40,8 @@ {{ index + 1 }} - ¥788 + ¥{{item2.price | filterFloat}} +