diff --git a/src/App.vue b/src/App.vue
index 1d90ea6..a29745a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -23,6 +23,7 @@ export default {
@import "@/static/iconfont/iconfont.css";
page {
background-color: #f0f0f0;
- min-height: 100vh;
+ min-height: 100vh; /* 固定高度为视口高度 */
}
+
diff --git a/src/pages.json b/src/pages.json
index be3161b..7477830 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -2,7 +2,9 @@
"pages": [
{
"path": "pages/home/home",
- "style": {}
+ "style": {
+ "navigationBarTitleText": "uni-app"
+ }
},
{
"path": "pages/category/index",
diff --git a/src/pages/category/index.vue b/src/pages/category/index.vue
index 598162a..4b8f6dc 100644
--- a/src/pages/category/index.vue
+++ b/src/pages/category/index.vue
@@ -1,5 +1,36 @@
- {{title}}
+
+
+
+ 上海
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/src/pages/home/home.vue b/src/pages/home/home.vue
index c1634f2..a5ae030 100644
--- a/src/pages/home/home.vue
+++ b/src/pages/home/home.vue
@@ -1,25 +1,29 @@
-
-
- 上海
-
+
+
+
+ 上海
+
+
+
+ 火热开团中
+
-
- 火热开团中
-
-
+
+
+