From 38b964f5cc9bb576fafa89eba6a9c1717d99c166 Mon Sep 17 00:00:00 2001
From: Huang <596417202@qq.com>
Date: Tue, 14 Jun 2022 17:54:25 +0800
Subject: [PATCH] =?UTF-8?q?feat-=E6=96=B0=E5=A2=9E=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 29 ++++++++++++++++++++++++++++-
src/pages/about/index.vue | 7 +++++++
src/pages/demo/index.vue | 7 +++++++
src/pages/template/index.vue | 7 +++++++
4 files changed, 49 insertions(+), 1 deletion(-)
create mode 100644 src/pages/about/index.vue
create mode 100644 src/pages/demo/index.vue
create mode 100644 src/pages/template/index.vue
diff --git a/src/pages.json b/src/pages.json
index f72d46c..922dd88 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -4,7 +4,19 @@
{
"path": "pages/index/index",
"style": {
- "navigationBarTitleText": "uni-app"
+ "navigationBarTitleText": "首页"
+ }
+ },
+ {
+ "path": "pages/demo/index",
+ "style": {
+ "navigationBarTitleText": "Demo"
+ }
+ },
+ {
+ "path": "pages/about/index",
+ "style": {
+ "navigationBarTitleText": "关于"
}
},
{
@@ -31,5 +43,20 @@
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
+ },
+ "tabBar": {
+ "color": "#222",
+ "selectedColor": "#000",
+ "backgroundColor": "#FFF",
+ "list": [{
+ "pagePath": "pages/index/index",
+ "text": "首页"
+ },{
+ "pagePath": "pages/demo/index",
+ "text": "Demo"
+ },{
+ "pagePath": "pages/about/index",
+ "text": "关于"
+ }]
}
}
diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue
new file mode 100644
index 0000000..3236d6a
--- /dev/null
+++ b/src/pages/about/index.vue
@@ -0,0 +1,7 @@
+
+ 页面模板
+
+
+
+
+
diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue
new file mode 100644
index 0000000..467ac6a
--- /dev/null
+++ b/src/pages/demo/index.vue
@@ -0,0 +1,7 @@
+
+ 页面模板,新建pages,将此页面内容复制粘贴到新建.vue文件
+
+
+
+
+
diff --git a/src/pages/template/index.vue b/src/pages/template/index.vue
new file mode 100644
index 0000000..467ac6a
--- /dev/null
+++ b/src/pages/template/index.vue
@@ -0,0 +1,7 @@
+
+ 页面模板,新建pages,将此页面内容复制粘贴到新建.vue文件
+
+
+
+
+