diff --git a/src/pages.json b/src/pages.json
index 8b52ddc..f1f751d 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -6,7 +6,25 @@
{
"path": "pages/index/index",
"style": {
- "navigationBarTitleText": "uni-app"
+ "navigationBarTitleText": "首页"
+ }
+ },
+ {
+ "path": "pages/category/category",
+ "style": {
+ "navigationBarTitleText": "分类"
+ }
+ },
+ {
+ "path": "pages/cart/cart",
+ "style": {
+ "navigationBarTitleText": "购物车"
+ }
+ },
+ {
+ "path": "pages/my/my",
+ "style": {
+ "navigationBarTitleText": "我的"
}
}
],
@@ -15,5 +33,35 @@
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
- }
+ },
+ "tabBar": {
+ "color": "#7A7E83",
+ "selectedColor": "#3cc51f",
+ "borderStyle": "black",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/index/index",
+ "iconPath": "static/icons/home.png",
+ "selectedIconPath": "static/icons/home-o.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages/category/category",
+ "iconPath": "static/icons/order.png",
+ "selectedIconPath": "static/icons/order-o.png",
+ "text": "分类"
+ },
+ {
+ "pagePath": "pages/cart/cart",
+ "iconPath": "static/icons/cart.png",
+ "selectedIconPath": "static/icons/cart-o.png",
+ "text": "购物车"
+ },
+ {
+ "pagePath": "pages/my/my",
+ "iconPath": "static/icons/user.png",
+ "selectedIconPath": "static/icons/user-o.png",
+ "text": "我的"
+ }]
+ }
}
diff --git a/src/pages/cart/cart.vue b/src/pages/cart/cart.vue
new file mode 100644
index 0000000..d1195ee
--- /dev/null
+++ b/src/pages/cart/cart.vue
@@ -0,0 +1,13 @@
+
+ cart
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue
new file mode 100644
index 0000000..f9a2f19
--- /dev/null
+++ b/src/pages/category/category.vue
@@ -0,0 +1,15 @@
+
+
+ category
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/my/my.vue b/src/pages/my/my.vue
new file mode 100644
index 0000000..2208db1
--- /dev/null
+++ b/src/pages/my/my.vue
@@ -0,0 +1,13 @@
+
+ my
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/icons/cart-o.png b/src/static/icons/cart-o.png
new file mode 100644
index 0000000..c7929fa
Binary files /dev/null and b/src/static/icons/cart-o.png differ
diff --git a/src/static/icons/cart.png b/src/static/icons/cart.png
new file mode 100644
index 0000000..20b2426
Binary files /dev/null and b/src/static/icons/cart.png differ
diff --git a/src/static/icons/home-o.png b/src/static/icons/home-o.png
new file mode 100644
index 0000000..09daed6
Binary files /dev/null and b/src/static/icons/home-o.png differ
diff --git a/src/static/icons/home.png b/src/static/icons/home.png
new file mode 100644
index 0000000..a4ace9f
Binary files /dev/null and b/src/static/icons/home.png differ
diff --git a/src/static/icons/more-o.png b/src/static/icons/more-o.png
new file mode 100644
index 0000000..e652eb8
Binary files /dev/null and b/src/static/icons/more-o.png differ
diff --git a/src/static/icons/more.png b/src/static/icons/more.png
new file mode 100644
index 0000000..8080449
Binary files /dev/null and b/src/static/icons/more.png differ
diff --git a/src/static/icons/order-o.png b/src/static/icons/order-o.png
new file mode 100644
index 0000000..65196a6
Binary files /dev/null and b/src/static/icons/order-o.png differ
diff --git a/src/static/icons/order.png b/src/static/icons/order.png
new file mode 100644
index 0000000..9ec0b0d
Binary files /dev/null and b/src/static/icons/order.png differ
diff --git a/src/static/icons/user-o.png b/src/static/icons/user-o.png
new file mode 100644
index 0000000..fae4a16
Binary files /dev/null and b/src/static/icons/user-o.png differ
diff --git a/src/static/icons/user.png b/src/static/icons/user.png
new file mode 100644
index 0000000..7f21225
Binary files /dev/null and b/src/static/icons/user.png differ