dengjie commit: tabbar样式修改完成
This commit is contained in:
73
pages.json
73
pages.json
@@ -4,13 +4,82 @@
|
||||
},
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
{
|
||||
"path": "pages/index/tabbar",
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "食瞳",
|
||||
"navigationStyle": "custom"
|
||||
// "navigationBarTextStyle": "white",
|
||||
//导航栏取消
|
||||
// "navigationStyle": "custom",
|
||||
//是否开启下拉刷新
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/report/report",
|
||||
"style": {
|
||||
"navigationBarTitleText": "行业报告",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/ideasAndNeeds/ideasAndNeeds",
|
||||
"style": {
|
||||
"navigationBarTitleText": "创意&需求",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/product/product",
|
||||
"style": {
|
||||
"navigationBarTitleText": "产品分类",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/my",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
"color": "#CCCCCC",
|
||||
"selectedColor": "#0EBB5B",
|
||||
"borderStyle": "none",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "首页",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/ideasAndNeeds/ideasAndNeeds",
|
||||
"text": "创意&需求",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/my",
|
||||
"text": "我的",
|
||||
"iconPath": "static/tabbar/sy_icon_wdh.png",
|
||||
"selectedIconPath": "static/tabbar/sy_icon_wd.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
|
||||
Reference in New Issue
Block a user