From 2a3b81de4d37fb9171df1d0157838306676a6b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Thu, 20 Jul 2023 15:16:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E7=AD=91=E5=9C=A8=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 123 ++++++++++++++++++++++-------- env/yzdev.js | 6 ++ manifest.json | 2 +- package.json | 10 +++ pages/index/guide.vue | 69 ++++++++++------- pages/index/index.vue | 172 ++++++++++++++++++++++++++++++++++-------- utils/domain.js | 4 + 7 files changed, 294 insertions(+), 92 deletions(-) create mode 100644 env/yzdev.js diff --git a/App.vue b/App.vue index 48286a2..0aba66a 100644 --- a/App.vue +++ b/App.vue @@ -1,13 +1,15 @@ diff --git a/env/yzdev.js b/env/yzdev.js new file mode 100644 index 0000000..1614ffb --- /dev/null +++ b/env/yzdev.js @@ -0,0 +1,6 @@ +const ENV_PATH = { + baseUrl: 'https://zh.aihxz.com', // 销讲助手 + domain: 'zh.aihxz.com', // 主域名 +} + +module.exports = ENV_PATH \ No newline at end of file diff --git a/manifest.json b/manifest.json index 82f8d3e..0036ab9 100644 --- a/manifest.json +++ b/manifest.json @@ -72,7 +72,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wx8f883dca5ecc5510", + "appid" : "wx3c3f25187e6b6176", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/package.json b/package.json index 5afe7f0..36b8c42 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,16 @@ "define": { "WXSC-PLATFORM": true } + }, + "weixin:yzdev": { + "title": "云筑数智助手 生产", + "env": { + "UNI_PLATFORM": "mp-weixin", + "ENV_PATH": "@/env/yzdev.js" + }, + "define": { + "WXSC-PLATFORM": true + } } } } diff --git a/pages/index/guide.vue b/pages/index/guide.vue index 7112b21..646f6eb 100644 --- a/pages/index/guide.vue +++ b/pages/index/guide.vue @@ -1,36 +1,40 @@