From 2e61a619d3a096025d926d02837fca25caa2e886 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Thu, 25 Dec 2025 00:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env | 12 ++++++------ src/bundle/setmeal/add.vue | 2 +- src/bundle/tea-room/detail.vue | 12 +++++++----- src/components/order/ComboCard.vue | 5 +++-- src/components/reserve/RoomList.vue | 4 ++-- src/manifest.json | 2 +- src/pages/index/index.vue | 19 +++++++++++-------- src/pages/login/login.vue | 18 ++++++++++++++++-- src/pages/my/my.vue | 10 +++++----- src/pages/order/order-detail.vue | 2 +- src/pages/store/device.vue | 6 +++--- src/pages/store/room-manage.vue | 8 +++++--- src/store/user.ts | 5 +++-- 13 files changed, 64 insertions(+), 41 deletions(-) diff --git a/env/.env b/env/.env index a3f1db8..a5193e5 100644 --- a/env/.env +++ b/env/.env @@ -1,4 +1,4 @@ -VITE_APP_TITLE = '茶址' +VITE_APP_TITLE = '茶址管理端' VITE_APP_PORT = 9002 VITE_UNI_APPID = '__UNI__D1E5001' @@ -10,17 +10,17 @@ VITE_APP_PUBLIC_BASE=/ # 登录页面 VITE_LOGIN_URL = '/pages/login/login' # 第一个请求地址 -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' # h5是否需要配置代理 VITE_APP_PROXY=true VITE_APP_PROXY_PREFIX = '/storeapi' # 第二个请求地址 (目前alova中可以使用) -VITE_SERVER_BASEURL = 'https://cz.stnav.com' +VITE_SERVER_BASEURL = 'https://76458.com' # 上传图片请求地址 -VITE_UPLOAD_BASEURL = 'https://cz.stnav.com/storeapi/upload/image' -VITE_UPLOAD_IMAGE_URL = 'https://cz.stnav.com/' \ No newline at end of file +VITE_UPLOAD_BASEURL = 'https://76458.com/storeapi/upload/image' +VITE_UPLOAD_IMAGE_URL = 'https://76458.com/' \ No newline at end of file diff --git a/src/bundle/setmeal/add.vue b/src/bundle/setmeal/add.vue index a9c5e8a..e38c6a5 100644 --- a/src/bundle/setmeal/add.vue +++ b/src/bundle/setmeal/add.vue @@ -652,7 +652,7 @@ return } - // 将图片URL中的 https://cz.stnav.com/ 替换为空 + // 将图片URL中的 https://76458.com/ 替换为空 formData.img = Add.fileList.map(item => { if (typeof item.url === 'string') { return item.url.replace(import.meta.env.VITE_UPLOAD_IMAGE_URL, '') diff --git a/src/bundle/tea-room/detail.vue b/src/bundle/tea-room/detail.vue index fc5035e..1c09e99 100644 --- a/src/bundle/tea-room/detail.vue +++ b/src/bundle/tea-room/detail.vue @@ -14,23 +14,23 @@ - + - 已售 {{ teaRoom.room.sold > 10 ? teaRoom.room.sold + '+': teaRoom.room.sold }} + 已售 {{ teaRoom.room.sold > 10 ? '10+': teaRoom.room.sold }} {{ teaRoom.room.title }}