From 7f8cb39fc1ac979d1b51805fe0462c774978e881 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 13 Sep 2024 14:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 22 ++++++++++++++++++++-- subPackages/order/detail.vue | 21 ++++++++++++++++----- subPackages/user/travelerList.vue | 2 +- 3 files changed, 37 insertions(+), 8 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 20fa6c0..7fee848 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -44,7 +44,7 @@ - + {{scenic.title}} @@ -102,7 +102,7 @@ 更多 > - + {{item.goods.image_tag}} {{item.goods.low_money / 100}} @@ -279,6 +279,24 @@ break; } }, + // 景点详情 + gotoScenic(item) { + this.goOtherDetail(item) + if(!item.link_type) { + uni.navigateTo({ + url:'/subPackages/ticketBooking/detail?id='+item.id + }) + } + }, + // 美食详情 + gotoFood(item) { + this.goOtherDetail(item) + if(!item.link_type) { + uni.navigateTo({ + url: '/subPackages/food/foodDetail?id=' + item.id + }); + } + }, // 游记攻略、线路详情 goCalendarDetail(item,type) { this.goOtherDetail(item) diff --git a/subPackages/order/detail.vue b/subPackages/order/detail.vue index 33b3240..0415720 100644 --- a/subPackages/order/detail.vue +++ b/subPackages/order/detail.vue @@ -171,7 +171,7 @@ - 导航 @@ -184,7 +184,7 @@ 购买信息 - + {{foodInfo.title}} @@ -197,6 +197,10 @@ + + {{info.order_child[0].contact_name}} + {{info.order_child[0].phone}} + @@ -273,13 +277,13 @@ - 地址地址地址地址地址地址地址地 址地址地址地址地址地址 - + {{info.order_child[0].scenic_data.address}} + 地图 - + 电话 @@ -1010,6 +1014,13 @@ } // 美食 + .food-name { + font-weight: bold; + font-size: 31rpx; + color: #000000; + margin-bottom: 40rpx; + } + .shop-detail { width: 697rpx; height: auto; diff --git a/subPackages/user/travelerList.vue b/subPackages/user/travelerList.vue index ded3ab9..bd74aea 100644 --- a/subPackages/user/travelerList.vue +++ b/subPackages/user/travelerList.vue @@ -136,7 +136,7 @@ title: res.msg }) } - that.getList() + that.init() }) } else if (res.cancel) { console.log('用户点击取消');