123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- {
- "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/user/personal/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/center",
- "style": {
- "navigationBarTitleText": "订单中心",
- "enablePullDownRefresh": true
- }
- },
- {
- "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"
- }
- }
- }
|