From f5e77e997b0f48331a9047fd7125fda9bda133fd Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Mon, 12 Jan 2026 17:39:48 +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 --- env/.env.development | 8 +- src/api/home.ts | 7 + src/api/user.ts | 11 +- src/bundle/components/DouYinExcharge.vue | 172 +++++++++++++++++++++ src/bundle/contact/contact.vue | 51 ++++++ src/bundle/order/douyin/excharge.vue | 10 +- src/bundle/settle-in/parten.vue | 3 +- src/bundle/settle-in/tea-room.vue | 3 +- src/bundle/settle-in/tea-specialist.vue | 3 +- src/bundle/tea-room/detail.vue | 2 +- src/bundle/tea-room/room.vue | 32 ++-- src/bundle/user/store-balance.vue | 69 +++++++++ src/bundle/wallet/recharge.vue | 68 ++++---- src/bundle_b/pages/tea-specialist/list.vue | 18 +-- src/components/reserve/RoomList.vue | 67 +++++++- src/pages.json | 18 +++ src/pages/index/index.vue | 8 +- src/pages/login/login.vue | 9 +- src/pages/my/my.vue | 28 +++- src/pages/notice/reserve.vue | 8 + src/utils/pay.ts | 1 + 21 files changed, 498 insertions(+), 98 deletions(-) create mode 100644 src/bundle/components/DouYinExcharge.vue create mode 100644 src/bundle/contact/contact.vue create mode 100644 src/bundle/user/store-balance.vue diff --git a/env/.env.development b/env/.env.development index b5f5349..5f65f42 100644 --- a/env/.env.development +++ b/env/.env.development @@ -8,10 +8,10 @@ VITE_DELETE_CONSOLE = false VITE_SHOW_SOURCEMAP = true # 请求地址 -VITE_SERVER_BASEURL = 'https://cz.stnav.com' +VITE_SERVER_BASEURL = 'https://76458.com' # 图片上传路径 -VITE_UPLOAD_BASEURL = 'https://cz.stnav.com/upload' +VITE_UPLOAD_BASEURL = 'https://76458.com/upload' # 上传图片请求地址 -VITE_UPLOAD_BASEURL = 'https://cz.stnav.com/api/upload/image' -VITE_UPLOAD_IMAGE_URL = 'https://cz.stnav.com/' \ No newline at end of file +VITE_UPLOAD_BASEURL = 'https://76458.com/api/upload/image' +VITE_UPLOAD_IMAGE_URL = 'https://76458.com/' \ No newline at end of file diff --git a/src/api/home.ts b/src/api/home.ts index 94125ce..23f4f53 100644 --- a/src/api/home.ts +++ b/src/api/home.ts @@ -16,4 +16,11 @@ export function getHomeBannerList() { */ export function getHomeCouponPopup() { return http.Post('api/UserCoupon/isCoupin') +} + +/** + * 首页领取88元优惠券 + */ +export function claimIndexCoupon() { + return http.Post('/api/UserCoupon/shouyeCoupon', {}) } \ No newline at end of file diff --git a/src/api/user.ts b/src/api/user.ts index 6c98f7b..dea9734 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -95,7 +95,7 @@ export interface IGetMyCouponsParams { type_id: number } export function getMyCoupons(data: IGetMyCouponsParams) { - return http.Post('/api/UserCoupon/orderCoupinList', data) + return http.Post('/api/UserCoupon/UserCoupinList', data) } /** @@ -188,4 +188,11 @@ export function getMobileByMnp(code: string) { */ export function openLock(order_id: number, type: number) { return http.Post('/api/Common/ce_ttlock', {order_id, type}) -} \ No newline at end of file +} + +/** + * 门店余额记录 + */ +export function getStoreBalanceLog() { + return http.Post('/api/user/userStoreMoneyList', {}) +} diff --git a/src/bundle/components/DouYinExcharge.vue b/src/bundle/components/DouYinExcharge.vue new file mode 100644 index 0000000..45afa04 --- /dev/null +++ b/src/bundle/components/DouYinExcharge.vue @@ -0,0 +1,172 @@ + + + + + \ No newline at end of file diff --git a/src/bundle/contact/contact.vue b/src/bundle/contact/contact.vue new file mode 100644 index 0000000..d45e78c --- /dev/null +++ b/src/bundle/contact/contact.vue @@ -0,0 +1,51 @@ + +{ + "needLogin": true, + "layout": "default", + "style": { + "navigationStyle": "custom" + } +} + + + + + + + diff --git a/src/bundle/order/douyin/excharge.vue b/src/bundle/order/douyin/excharge.vue index 438336c..8428a50 100644 --- a/src/bundle/order/douyin/excharge.vue +++ b/src/bundle/order/douyin/excharge.vue @@ -23,7 +23,7 @@ 抖音兑换 - + - 确定 + 确定 @@ -184,10 +184,4 @@ page { background-color: #fff; } - - .coupon-bg { - background-image: url(#{$OSS}images/order/order_image2.png); - background-repeat: no-repeat; - background-size: 100% 100%; - } diff --git a/src/bundle/settle-in/parten.vue b/src/bundle/settle-in/parten.vue index 2311472..1772e6b 100644 --- a/src/bundle/settle-in/parten.vue +++ b/src/bundle/settle-in/parten.vue @@ -113,7 +113,7 @@ - 联系我们 + 联系我们 提交申请 @@ -121,6 +121,7 @@ + + diff --git a/src/bundle/wallet/recharge.vue b/src/bundle/wallet/recharge.vue index 580c23c..e63c70b 100644 --- a/src/bundle/wallet/recharge.vue +++ b/src/bundle/wallet/recharge.vue @@ -57,10 +57,10 @@ diff --git a/src/utils/pay.ts b/src/utils/pay.ts index 0b2547c..a242749 100644 --- a/src/utils/pay.ts +++ b/src/utils/pay.ts @@ -63,6 +63,7 @@ export enum PayOrderType { ComboRefund = 5, // 套餐退款 TeaRoomRefund = 6, // 茶室退款 RenewRoom = 7, // 续订包间 + TeaRoomRecharge = 9, // 茶室充值 TeaSpecialis = 10, // 茶艺师 RenewTeaSpecialist = 11, // 续订茶艺师服务 }