From 40eada19f8def833a8440f4db317f496c0ff4a76 Mon Sep 17 00:00:00 2001
From: chen <2659004835@qq.com>
Date: Tue, 15 Mar 2022 10:26:04 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=A1=B5=E9=9D=A2=E7=BC=BA?=
=?UTF-8?q?=E5=A4=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jsFile/tools.js | 3 ---
manifest.json | 5 +++--
pages.json | 22 +++++++++-------------
pages/login/login.vue | 8 ++++++--
pagesA/test/test.vue | 22 ++++++++++++++++++++++
5 files changed, 40 insertions(+), 20 deletions(-)
create mode 100644 pagesA/test/test.vue
diff --git a/jsFile/tools.js b/jsFile/tools.js
index 438bacf..e51524c 100644
--- a/jsFile/tools.js
+++ b/jsFile/tools.js
@@ -460,9 +460,6 @@ const tools = {
},
// 禁止小程序使用分享
disableShareEv(){
- // #ifdef APP-PLUS
- uni.hideShareMenu();
- // #endif
// #ifdef MP-WEIXIN
wx.hideShareMenu({
menus: ['shareAppMessage', 'shareTimeline']
diff --git a/manifest.json b/manifest.json
index 13e9e9e..e2a3eff 100644
--- a/manifest.json
+++ b/manifest.json
@@ -55,7 +55,8 @@
"appid" : "wx2654bc27c419ada6",
"UniversalLinks" : ""
}
- }
+ },
+ "ad" : {}
}
},
"splashscreen" : {
@@ -68,7 +69,7 @@
/* 快应用特有相关 */
"mp-weixin" : {
/* 小程序特有相关 */
- "appid" : "wx2654bc27c419ada6",
+ "appid" : "wx705dfb975654e53a",
"setting" : {
"urlCheck" : true,
"es6" : true
diff --git a/pages.json b/pages.json
index afed55b..111a279 100644
--- a/pages.json
+++ b/pages.json
@@ -67,19 +67,15 @@
{//A包
"root": "pagesA",
"pages": [
- {
- "path" : "",
- "style" : {}
- }
- ]
- },
- {//B包
- "root": "pagesB",
- "pages": [
- {
- "path" : "",
- "style" :{}
- }
+ {
+ "path" : "test/test",
+ "style" :
+ {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }
]
}
],
diff --git a/pages/login/login.vue b/pages/login/login.vue
index fe5449a..17110bc 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,5 +1,5 @@
-
+
登录页
@@ -14,7 +14,11 @@
},
methods: {
-
+ gohome(){
+ uni.reLaunch({
+ url:'/pages/tabbar/pagehome/pagehome'
+ })
+ }
}
}
diff --git a/pagesA/test/test.vue b/pagesA/test/test.vue
new file mode 100644
index 0000000..8183fd0
--- /dev/null
+++ b/pagesA/test/test.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+