From 527cf837fc7abc4e375a0af0c45b9f541ebc402a Mon Sep 17 00:00:00 2001 From: sjeam <359824901@qq.com> Date: Sat, 30 Aug 2025 11:05:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env | 2 + src/pages.json | 10 +- src/pages/about/index.vue | 119 ++++++++++---------- src/pages/service/index.vue | 210 +++++++++++++++++++++++++++-------- src/pages/web_view/h5.vue | 95 ++++++++++++++++ src/pages/web_view/index.vue | 16 ++- src/style/index.scss | 14 +-- src/uni.scss | 4 +- src/utils/index.ts | 16 ++- 9 files changed, 357 insertions(+), 129 deletions(-) create mode 100644 src/pages/web_view/h5.vue diff --git a/env/.env b/env/.env index e943714..fbfe786 100644 --- a/env/.env +++ b/env/.env @@ -13,6 +13,8 @@ VITE_LOGIN_URL = '/pages/login/index' VITE_SERVER_BASEURL = 'https://test.shop.lihaink.cn/' VITE_UPLOAD_BASEURL = 'https://test.shop.lihaink.cn//upload' +VITE_SHOP_SERVER_BASEURL = 'https://shop.lihaink.cn' + # 有些同学可能需要在微信小程序里面根据 develop、trial、release 分别设置上传地址,参考代码如下。 # 下面的变量如果没有设置,会默认使用 VITE_SERVER_BASEURL or VITE_UPLOAD_BASEURL VITE_SERVER_BASEURL__WEIXIN_DEVELOP = 'https://test.shop.lihaink.cn/' diff --git a/src/pages.json b/src/pages.json index 82b7308..b15570e 100644 --- a/src/pages.json +++ b/src/pages.json @@ -112,13 +112,21 @@ } }, { - "path": "pages/web_view/index", + "path": "pages/web_view/h5", "type": "page", "layout": "heardbg", "style": { "navigationBarTitleText": "", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/web_view/index", + "type": "page", + "layout": "heardbg", + "style": { + "navigationBarTitleText": "" + } } ], "subPackages": [ diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index 0b3c21f..f0da28d 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -12,10 +12,67 @@