From 3f4e389b331482dfabb40a1b6733f894aebb2cc4 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 26 Mar 2026 11:03:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 13 +-- src/pages.json | 12 +++ src/pages/boxes/list.vue | 3 +- src/pages/canteen/detail.vue | 5 +- src/pages/canteen/food.vue | 4 +- src/pages/canteen/product-detail.vue | 4 +- src/pages/car/user-car/apply.vue | 4 +- src/pages/car/user-car/list.vue | 3 +- src/pages/common/content.vue | 42 +++++++++ src/pages/common/privacy-policy.rich.ts | 86 ++++++++++++++++++ src/pages/common/user-agreement.rich.ts | 84 +++++++++++++++++ src/pages/human-face/apply.vue | 3 +- src/pages/human-face/list.vue | 3 +- src/pages/integrated/notice/detail.vue | 5 +- src/pages/integrated/notice/index.vue | 5 +- src/pages/integrated/visitor/detail.vue | 5 +- .../integrated/visitor/invitation-record.vue | 15 +-- src/pages/integrated/visitor/invitation.vue | 5 +- src/pages/merchant/cancel-qrcode.vue | 6 +- src/pages/merchant/coupon-list.vue | 5 +- src/pages/merchant/detail.vue | 3 +- src/pages/merchant/merchant-activity.vue | 5 +- src/pages/merchant/my-act-list.vue | 4 +- src/pages/order/detail.vue | 3 +- src/pages/pay/scanPay.vue | 4 +- src/pages/pay/transferMoney.vue | 3 +- src/pages/prosperity-shop/categary-manage.vue | 3 +- .../components/product-cart.vue | 19 ++-- src/pages/prosperity-shop/goods-detail.vue | 4 +- src/pages/prosperity-shop/goods-form.vue | 4 +- src/pages/prosperity-shop/goods-manage.vue | 5 +- src/pages/prosperity-shop/goods-search.vue | 4 +- src/pages/prosperity-shop/settlement.vue | 40 ++++---- src/pages/prosperity-shop/shop-detail.vue | 4 +- src/pages/root/dashboard.vue | 7 +- src/pages/root/login.vue | 6 +- src/pages/root/pwd-login.vue | 6 +- src/pages/tabbar/cabinet.vue | 2 +- src/pages/tabbar/canteen.vue | 3 +- src/pages/tabbar/canteenAnalyse.vue | 5 +- src/pages/tabbar/coopMerchant.vue | 4 +- src/pages/tabbar/my.vue | 3 +- src/pages/tabbar/order.vue | 5 +- src/pages/tabbar/prosperityShop.vue | 4 +- src/pages/tabbar/prosperityShopMchList.vue | 4 +- src/pages/tabbar/selfMerchant.vue | 4 +- src/pages/third-app/happyMall.vue | 7 +- src/pages/wallet/detail.vue | 4 +- src/pages/wallet/list.vue | 3 +- src/pages/wallet/recharge.vue | 38 +++++--- src/sheep/api/index.ts | 1 + src/sheep/api/mini-platform.ts | 30 +++++- src/sheep/components/common/service-text.vue | 2 +- src/sheep/components/shop-categary-picker.vue | 2 +- src/sheep/components/time-range-picker.vue | 2 +- src/sheep/constant/index.ts | 2 + src/sheep/constant/service-image.ts | 10 ++ src/sheep/constant/storage-constant.ts | 1 + src/sheep/utils/mini-tool.ts | 38 ++++++++ src/static/icon/birthday_coupon.jpg | Bin 91457 -> 0 bytes src/static/page/blue-bg.png | Bin 94740 -> 0 bytes src/static/page/cart_empty.png | Bin 1690045 -> 0 bytes src/static/page/happy-mall.png | Bin 111827 -> 0 bytes 63 files changed, 502 insertions(+), 108 deletions(-) create mode 100644 src/pages/common/content.vue create mode 100644 src/pages/common/privacy-policy.rich.ts create mode 100644 src/pages/common/user-agreement.rich.ts create mode 100644 src/sheep/constant/service-image.ts create mode 100644 src/sheep/utils/mini-tool.ts delete mode 100644 src/static/icon/birthday_coupon.jpg delete mode 100644 src/static/page/blue-bg.png delete mode 100644 src/static/page/cart_empty.png delete mode 100644 src/static/page/happy-mall.png diff --git a/.env b/.env index 8a4ba1d..7e11634 100644 --- a/.env +++ b/.env @@ -17,15 +17,16 @@ VITE_PWD_ENC_KEY='pigxpigxpigxpigx' VITE_OAUTH2_APP_CLIENT='mini:mini' # --------------------------- start 开发环境 start ---------------------------------- -# VITE_APP_DEV_SERVICE = https://www.zianxin.com/api -VITE_APP_DEV_SERVICE = http://localhost:9999 -#VITE_APP_DEV_SERVICE = https://rj4jv5rwqs.by.takin.cc +# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api +# VITE_APP_DEV_SERVICE = http://localhost:9999 +VITE_APP_DEV_SERVICE = https://rj4jv5rwqs.by.takin.cc -VITE_IMAGE_DEV_PATH = http://localhost:9999 +# VITE_IMAGE_DEV_PATH = http://localhost:9999 +VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # VITE_IMAGE_DEV_PATH = https://rj4jv5rwqs.by.takin.cc # ----------------------------- end 开发环境 end ------------------------------------ # --------------------------- start 生产环境 start ---------------------------------- -VITE_APP_PROD_SERVICE = https://www.zianxin.com/api -VITE_APP_PROD_IMAGE = https://www.zianxin.com/api +VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/api +VITE_APP_PROD_IMAGE = https://stgl.pj.gov.cn/api # ----------------------------- end 生产环境 end ------------------------------------ diff --git a/src/pages.json b/src/pages.json index 5a69bb8..0792e7e 100644 --- a/src/pages.json +++ b/src/pages.json @@ -458,6 +458,18 @@ } } ] + }, + { + "root": "pages/common", + "pages": [ + { + "path": "content", + "style": { + "navigationBarTitleText": "内容(文章等等)", + "disableScroll": true + } + } + ] } ], "globalStyle": { diff --git a/src/pages/boxes/list.vue b/src/pages/boxes/list.vue index 1990880..aa7b869 100644 --- a/src/pages/boxes/list.vue +++ b/src/pages/boxes/list.vue @@ -5,6 +5,7 @@ import { isEmpty } from "radash" import { hooks, router } from "@@/index" import { boxesApi } from "@@/api" +import { SERVICE_IMAGE } from "@@/constant/index" import { filePath } from "@/sheep/utils/file" @@ -64,7 +65,7 @@ onShow(() => {