1 Star 0 Fork 0

YuanSun6363/uni-shop2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 2.52 KB
一键复制 编辑 原始数据 按行查看 历史
Sun 提交于 2022-10-20 21:31 . 完成了商品列表页面的开发
{
"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"
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuansun6363/uni-shop2.git
git@gitee.com:yuansun6363/uni-shop2.git
yuansun6363
uni-shop2
uni-shop2
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385