From bd10660fcd0d29508e3a22955812ad64a3fa02e4 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Wed, 6 May 2026 11:00:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home.ts | 14 +++++++++++- src/bundle/package/reserve.vue | 18 ++++++++++----- src/bundle/tea-room/detail.vue | 3 ++- src/bundle_b/pages/tea-specialist/list.vue | 22 ++++++++++++++++++- src/bundle_b/pages/tea-specialist/reserve.vue | 18 ++++++++++----- src/pages/index/index.vue | 22 ++++++++++++++----- src/utils/teaSpecialist.ts | 7 ++++++ 7 files changed, 86 insertions(+), 18 deletions(-) diff --git a/src/api/home.ts b/src/api/home.ts index 763ed90..df54968 100644 --- a/src/api/home.ts +++ b/src/api/home.ts @@ -4,7 +4,7 @@ import { http } from '@/http/alova' * 获取首页轮播图 */ export function getHomeBannerList() { - return http.Post<{ list: Array<{ address: string;}> }>('/api/index/carouselLists', null, + return http.Post<{ list: Array<{ address: string;}> }>('/api/index/carouselLists', {}, { meta: { ignoreAuth: true } } @@ -28,3 +28,15 @@ export function claimIndexCoupon(id: number) { export function getWxacode() { return http.Post('/api/wxCode/getWxacode', {}) } + + +/** + * 获取茶艺师入口图 + */ +export function getTeaArtistEntrance() { + return http.Post('/api/index/homeImage', {}, + { + meta: { ignoreAuth: true } + } + ) +} \ No newline at end of file diff --git a/src/bundle/package/reserve.vue b/src/bundle/package/reserve.vue index 24eadc0..3147bfa 100644 --- a/src/bundle/package/reserve.vue +++ b/src/bundle/package/reserve.vue @@ -15,7 +15,7 @@ - + 选择时间 @@ -49,9 +49,9 @@ 重置 + @tap.stop.prevent="Door.handleResetTime">重置 确定({{ totalHour }}小时) + @tap.stop.prevent="Door.handleConfirmHour">确定({{ totalHour }}小时) @@ -372,10 +372,11 @@ 优惠券 - 优惠券 + 茶址优惠券