From 074b53f307b04c136c470422b79b0ab29f7a4fd3 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Tue, 30 Jan 2024 15:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8A=96=E9=9F=B3=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +++ src/manifest.json | 8 +++++++- src/pages.json | 2 +- src/pages/index/index.vue | 30 +++++++++--------------------- 4 files changed, 20 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 07e5a3e..755d9b8 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "scripts": { "dev:h5": "uni", "dev": "uni -p mp-weixin", + "dev:dy": "uni -p mp-toutiao", "build:h5": "uni build", "build": "uni build -p mp-weixin", + "build:dy": "uni build -p mp-toutiao", "build-test:mp-weixin": "uni --mode test -p mp-weixin" }, "dependencies": { @@ -14,6 +16,7 @@ "@dcloudio/uni-components": "3.0.0-alpha-3060420220922001", "@dcloudio/uni-h5": "3.0.0-alpha-3060420220922001", "@dcloudio/uni-mp-weixin": "3.0.0-alpha-3060420220922001", + "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3060420220922001", "jsencrypt-plus": "^0.1.0", "pinia": "2.0.36", "pinia-plugin-persist-uni": "^1.2.0", diff --git a/src/manifest.json b/src/manifest.json index 6a0fa1a..523fea4 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -66,7 +66,13 @@ "usingComponents" : true }, "mp-toutiao" : { - "usingComponents" : true + "usingComponents" : true, + "appid" : "ttbbd1cd6c24e1c00801", + "setting" : { + "es6" : true, + "postcss" : true, + "minified" : true + } }, "uniStatistics" : { "enable" : false diff --git a/src/pages.json b/src/pages.json index 94ec62b..c85fb59 100644 --- a/src/pages.json +++ b/src/pages.json @@ -8,7 +8,7 @@ { "path": "pages/index/index", "style": { - "navigationStyle": "custom", + "navigationBarTitleText": "金武联驾考", "enablePullDownRefresh": false } }, diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index a43679b..4a60fe4 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,6 +1,6 @@