diff --git a/src/pages.json b/src/pages.json index 7c111be2..1474d3ee 100644 --- a/src/pages.json +++ b/src/pages.json @@ -89,6 +89,20 @@ // "group": "商城" // } // }, + { + "path": "pages/wechat-tabbar/index", + "style": { + "navigationBarTitleText": "邀请福利", + "navigationStyle": "custom" + } + }, + { + "path": "pages/wechat-tabbar/me", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom" + } + }, { "path": "pages/home/home", "style": { @@ -320,13 +334,6 @@ { "root": "pages/wechat", "pages": [ - { - "path": "index", - "style": { - "navigationBarTitleText": "邀请福利", - "navigationStyle": "custom" - } - }, { "path": "pages/gift/index", "style": { @@ -967,6 +974,23 @@ "selectedColor": "#D29E52", "backgroundColor": "#222222", "borderStyle": "black", + /* #ifdef MP-WEIXIN */ + "list": [ + { + "pagePath": "pages/wechat-tabbar/index", + "text": "邀请福利", + "iconPath": "static/tabbar/moments.png", + "selectedIconPath": "static/tabbar/moments-active.png" + }, + { + "pagePath": "pages/wechat-tabbar/me", + "text": "我的", + "iconPath": "static/tabbar/profile.png", + "selectedIconPath": "static/tabbar/profile-active.png" + } + ], + /* #endif MP-WEIXIN */ + /* #ifndef MP-WEIXIN */ "list": [ { "pagePath": "pages/home/home", @@ -993,5 +1017,6 @@ "selectedIconPath": "static/tabbar/profile-active.png" } ] + /* #endif MP-WEIXIN */ } -} +} \ No newline at end of file diff --git a/src/pages/wechat/index.vue b/src/pages/wechat-tabbar/index.vue similarity index 100% rename from src/pages/wechat/index.vue rename to src/pages/wechat-tabbar/index.vue diff --git a/src/pages/wechat-tabbar/me.vue b/src/pages/wechat-tabbar/me.vue new file mode 100644 index 00000000..677c0e0a --- /dev/null +++ b/src/pages/wechat-tabbar/me.vue @@ -0,0 +1,8 @@ + + + \ No newline at end of file