diff --git a/components/tabbar/tabbar.vue b/components/tabbar/tabbar.vue index 6e96724..5251721 100644 --- a/components/tabbar/tabbar.vue +++ b/components/tabbar/tabbar.vue @@ -49,6 +49,16 @@ { id: 2, centerItem: false, + width: 52, + height: 61, + "text": "书籍", + "pagePath": "/pages/book/index", + "iconPath": require("@/static/icon4.png"), + "selectedIconPath": require("@/static/icon4-cur.png") + }, + { + id: 3, + centerItem: false, width: 54, height: 60, "text": "我的", diff --git a/pages.json b/pages.json index f17040e..77d35b1 100644 --- a/pages.json +++ b/pages.json @@ -17,6 +17,11 @@ "style": { "navigationStyle": "custom" } + }, { + "path": "pages/book/index", + "style": { + "navigationStyle": "custom" + } }, { "path": "pages/me/me", "style": { @@ -84,6 +89,12 @@ "pagePath": "pages/line/line", "iconPath": "/static/icon2.png", "selectedIconPath": "/static/icon2-cur.png" + }, + { + "text": "书籍", + "pagePath": "pages/book/index", + "iconPath": "/static/icon4.png", + "selectedIconPath": "/static/icon4-cur.png" }, { "text": "我的", diff --git a/pages/book/index.vue b/pages/book/index.vue new file mode 100644 index 0000000..62a5283 --- /dev/null +++ b/pages/book/index.vue @@ -0,0 +1,188 @@ + + + + + \ No newline at end of file diff --git a/pages/me/me.vue b/pages/me/me.vue index 0455594..ebc1d24 100644 --- a/pages/me/me.vue +++ b/pages/me/me.vue @@ -91,7 +91,7 @@ 提 交 - + diff --git a/static/icon4-cur.png b/static/icon4-cur.png new file mode 100644 index 0000000..81fc236 Binary files /dev/null and b/static/icon4-cur.png differ diff --git a/static/icon4.png b/static/icon4.png new file mode 100644 index 0000000..8733efc Binary files /dev/null and b/static/icon4.png differ