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 @@ 优惠券 - 优惠券 + 茶址优惠券