代码拉取完成,页面将自动刷新
{
"pages": [{
"path": "pages/home/home",
"style": {
}
}, {
"path": "pages/cart/cart",
"style": {
}
}, {
"path": "pages/my/my",
"style": {
}
}, {
"path": "pages/cate/cate",
"style": {
}
}],
"subPackages": [
{
"root": "subpkg",
"pages": [{
"path" : "goods_detail/goods_detail",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "goods_list/goods_list",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": true,
"onReachBottomDistance": 150,
"backgroundColor": "#F8F8F8"
}
}
,{
"path" : "search/search",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
}
],
// 全局样式配置
"globalStyle": {
// 导航栏样式配置
"navigationBarTextStyle": "white",
"navigationBarTitleText": "优购",
"navigationBarBackgroundColor": "#C00000",
"backgroundColor": "#FFFFFF"
},
// 配置tabbar
"tabBar": {
// tab上选中时的文字颜色
"selectedColor": "#C00000",
// 配置tabbar里的项
"list": [{
// 页面路径
"pagePath": "pages/home/home",
// tab上按钮文字
"text": "首页",
// 未选中时图片路径
"iconPath": "static/tab_icons/home.png",
// 选中时图片路径
"selectedIconPath": "static/tab_icons/home-active.png"
},
{
"pagePath": "pages/cate/cate",
"text": "分类",
"iconPath": "static/tab_icons/cate.png",
"selectedIconPath": "static/tab_icons/cate-active.png"
},
{
"pagePath": "pages/cart/cart",
"text": "购物车",
"iconPath": "static/tab_icons/cart.png",
"selectedIconPath": "static/tab_icons/cart-active.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/tab_icons/my.png",
"selectedIconPath": "static/tab_icons/my-active.png"
}
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。