diff --git a/pages.json b/pages.json index 6c2ff98..de1c1f6 100644 --- a/pages.json +++ b/pages.json @@ -51,32 +51,32 @@ "list": [{ "pagePath": "pages/index/index", "text": "首页", - "iconPath": "static/tabbar/sy_icon_syh.png", - "selectedIconPath": "static/tabbar/sy_icon_sy(1).png" + "iconPath": "static/tabBar/sy_icon_syh.png", + "selectedIconPath": "static/tabBar/sy_icon_sy(1).png" }, { "pagePath": "pages/report/report", "text": "行业报告", - "iconPath": "static/tabbar/sy_icon_hyh.png", - "selectedIconPath": "static/tabbar/sy_icon_sy.png" + "iconPath": "static/tabBar/sy_icon_hyh.png", + "selectedIconPath": "static/tabBar/sy_icon_sy.png" }, { "pagePath": "pages/ideasAndNeeds/ideasAndNeeds", "text": "创意&需求", - "iconPath": "static/tabbar/sy_icon_cyh.png", - "selectedIconPath": "static/tabbar/sy_icon_cy.png" + "iconPath": "static/tabBar/sy_icon_cyh.png", + "selectedIconPath": "static/tabBar/sy_icon_cy.png" }, { "pagePath": "pages/product/product", "text": "产品分类", - "iconPath": "static/tabbar/sy_icon_cph.png", - "selectedIconPath": "static/tabbar/sy_icon_cp.png" + "iconPath": "static/tabBar/sy_icon_cph.png", + "selectedIconPath": "static/tabBar/sy_icon_cp.png" }, { "pagePath": "pages/my/my", "text": "我的", - "iconPath": "static/tabbar/sy_icon_wdh.png", - "selectedIconPath": "static/tabbar/sy_icon_wd.png" + "iconPath": "static/tabBar/sy_icon_wdh.png", + "selectedIconPath": "static/tabBar/sy_icon_wd.png" } ] }, @@ -86,5 +86,13 @@ "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, - "uniIdRouter": {} + "uniIdRouter": {}, + "condition": { //模式配置,仅开发期间生效 + "current": 0, //当前激活的模式(list 的索引项) + "list": [{ + "name": "", //模式名称 + "path": "", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + }] + } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 95fe12e..ed32f16 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,6 +1,22 @@ + + +