Merge pull request '修改tabbar报错' (#6) from dengjie into dev
Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/6
This commit is contained in:
30
pages.json
30
pages.json
@@ -51,32 +51,32 @@
|
|||||||
"list": [{
|
"list": [{
|
||||||
"pagePath": "pages/index/index",
|
"pagePath": "pages/index/index",
|
||||||
"text": "首页",
|
"text": "首页",
|
||||||
"iconPath": "static/tabbar/sy_icon_syh.png",
|
"iconPath": "static/tabBar/sy_icon_syh.png",
|
||||||
"selectedIconPath": "static/tabbar/sy_icon_sy(1).png"
|
"selectedIconPath": "static/tabBar/sy_icon_sy(1).png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/report/report",
|
"pagePath": "pages/report/report",
|
||||||
"text": "行业报告",
|
"text": "行业报告",
|
||||||
"iconPath": "static/tabbar/sy_icon_hyh.png",
|
"iconPath": "static/tabBar/sy_icon_hyh.png",
|
||||||
"selectedIconPath": "static/tabbar/sy_icon_sy.png"
|
"selectedIconPath": "static/tabBar/sy_icon_sy.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/ideasAndNeeds/ideasAndNeeds",
|
"pagePath": "pages/ideasAndNeeds/ideasAndNeeds",
|
||||||
"text": "创意&需求",
|
"text": "创意&需求",
|
||||||
"iconPath": "static/tabbar/sy_icon_cyh.png",
|
"iconPath": "static/tabBar/sy_icon_cyh.png",
|
||||||
"selectedIconPath": "static/tabbar/sy_icon_cy.png"
|
"selectedIconPath": "static/tabBar/sy_icon_cy.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/product/product",
|
"pagePath": "pages/product/product",
|
||||||
"text": "产品分类",
|
"text": "产品分类",
|
||||||
"iconPath": "static/tabbar/sy_icon_cph.png",
|
"iconPath": "static/tabBar/sy_icon_cph.png",
|
||||||
"selectedIconPath": "static/tabbar/sy_icon_cp.png"
|
"selectedIconPath": "static/tabBar/sy_icon_cp.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/my/my",
|
"pagePath": "pages/my/my",
|
||||||
"text": "我的",
|
"text": "我的",
|
||||||
"iconPath": "static/tabbar/sy_icon_wdh.png",
|
"iconPath": "static/tabBar/sy_icon_wdh.png",
|
||||||
"selectedIconPath": "static/tabbar/sy_icon_wd.png"
|
"selectedIconPath": "static/tabBar/sy_icon_wd.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -86,5 +86,13 @@
|
|||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
"backgroundColor": "#F8F8F8"
|
"backgroundColor": "#F8F8F8"
|
||||||
},
|
},
|
||||||
"uniIdRouter": {}
|
"uniIdRouter": {},
|
||||||
|
"condition": { //模式配置,仅开发期间生效
|
||||||
|
"current": 0, //当前激活的模式(list 的索引项)
|
||||||
|
"list": [{
|
||||||
|
"name": "", //模式名称
|
||||||
|
"path": "", //启动页面,必选
|
||||||
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||||||
|
}]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,22 @@
|
|||||||
<!-- 首页 -->
|
<!-- 首页 -->
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
首页
|
首页1111
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user