1 Star 0 Fork 1.1K

夏叶。/萤火商城V2.0-uniapp端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pages.json 5.89 KB
一键复制 编辑 原始数据 按行查看 历史
Yahoo 提交于 2021-12-25 16:29 . 样式优化宽屏兼容性
{
"tabBar": {
"color": "#000000",
"selectedColor": "#fa2209",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/home-active.png",
"text": "首页"
}, {
"pagePath": "pages/category/index",
"iconPath": "static/tabbar/cate.png",
"selectedIconPath": "static/tabbar/cate-active.png",
"text": "分类"
}, {
"pagePath": "pages/cart/index",
"iconPath": "static/tabbar/cart.png",
"selectedIconPath": "static/tabbar/cart-active.png",
"text": "购物车"
}, {
"pagePath": "pages/user/index",
"iconPath": "static/tabbar/user.png",
"selectedIconPath": "static/tabbar/user-active.png",
"text": "我的"
}]
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/category/index",
"style": {
"navigationBarTitleText": "全部分类"
}
},
{
"path": "pages/cart/index",
"style": {
"navigationBarTitleText": "购物车"
}
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},
{
"path": "pages/custom/index",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/search/index",
"style": {
"navigationBarTitleText": "商品搜索"
}
},
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "会员登录"
}
},
{
"path": "pages/user/bind/index",
"style": {
"navigationBarTitleText": "绑定手机"
}
},
{
"path": "pages/article/index",
"style": {
"navigationBarTitleText": "资讯列表"
}
},
{
"path": "pages/article/detail",
"style": {
"navigationBarTitleText": "资讯详情"
}
},
{
"path": "pages/help/index",
"style": {
"navigationBarTitleText": "帮助中心"
}
},
{
"path": "pages/coupon/index",
"style": {
"navigationBarTitleText": "领券中心"
}
},
{
"path": "pages/goods/list",
"style": {
"navigationBarTitleText": "商品列表",
"enablePullDownRefresh": true
}
},
{
"path": "pages/goods/detail",
"style": {
"navigationBarTitleText": "商品详情页"
}
},
{
"path": "pages/comment/index",
"style": {
"navigationBarTitleText": "商品评价页"
}
},
{
"path": "pages/my-coupon/index",
"style": {
"navigationBarTitleText": "我的优惠券"
}
},
{
"path": "pages/address/index",
"style": {
"navigationBarTitleText": "收货地址"
}
},
{
"path": "pages/address/create",
"style": {
"navigationBarTitleText": "新增收货地址"
}
},
{
"path": "pages/address/update",
"style": {
"navigationBarTitleText": "编辑收货地址"
}
},
{
"path": "pages/points/log",
"style": {
"navigationBarTitleText": "账单明细"
}
},
{
"path": "pages/wallet/index",
"style": {
"navigationBarTitleText": "我的钱包"
}
},
{
"path": "pages/wallet/balance/log",
"style": {
"navigationBarTitleText": "账单详情"
}
},
{
"path": "pages/wallet/recharge/index",
"style": {
"navigationBarTitleText": "充值中心"
}
},
{
"path": "pages/wallet/recharge/order",
"style": {
"navigationBarTitleText": "充值记录"
}
},
{
"path": "pages/checkout/index",
"style": {
"navigationBarTitleText": "订单结算台"
}
},
{
"path": "pages/order/index",
"style": {
"navigationBarTitleText": "我的订单",
"enablePullDownRefresh": true
}
},
{
"path": "pages/order/detail",
"style": {
"navigationBarTitleText": "订单详情",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#e8c269"
}
},
{
"path": "pages/order/express/index",
"style": {
"navigationBarTitleText": "物流跟踪"
}
},
{
"path": "pages/order/comment/index",
"style": {
"navigationBarTitleText": "订单评价"
}
},
{
"path": "pages/refund/index",
"style": {
"navigationBarTitleText": "退换/售后"
}
},
{
"path": "pages/refund/detail",
"style": {
"navigationBarTitleText": "售后详情"
}
},
{
"path": "pages/refund/apply",
"style": {
"navigationBarTitleText": "申请售后"
}
}
],
"globalStyle": {
// #ifdef H5
// "navigationStyle": "custom",
"maxWidth": 750,
"rpxCalcMaxDeviceWidth": 750, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960
"rpxCalcBaseDeviceWidth": 560, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375
"rpxCalcIncludeWidth": 9999, // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750
// #endif
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "",
"navigationBarTextStyle": "black",
"backgroundTextStyle": "dark"
},
"easycom": {
"autoscan": true,
"custom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lfywh12/yoshop2.0-uniapp.git
git@gitee.com:lfywh12/yoshop2.0-uniapp.git
lfywh12
yoshop2.0-uniapp
萤火商城V2.0-uniapp端
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385