acdr/acdr-ui/pages.config.ts

652 lines
16 KiB
TypeScript
Raw Normal View History

2024-09-02 07:40:26 +08:00
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
globalStyle: {
navigationStyle: 'default',
navigationBarTitleText: '宠屋',
navigationBarBackgroundColor: '#f8f8f8',
navigationBarTextStyle: 'black',
backgroundColor: '#FFFFFF',
2024-10-01 09:11:18 +08:00
'app-plus': {
bounce: 'none',
},
2024-09-02 07:40:26 +08:00
},
easycom: {
autoscan: true,
custom: {
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
'z-paging/components/z-paging$1/z-paging$1.vue',
2024-10-01 09:11:18 +08:00
'^s-(.*)': '@/modules/mall/sheep/components/s-$1/s-$1.vue',
'^su-(.*)': '@/modules/mall/sheep/ui/su-$1/su-$1.vue',
2024-09-08 14:01:29 +08:00
// components 所有的组件自动映射到页面
2024-09-02 07:40:26 +08:00
},
},
2024-09-05 14:05:15 +08:00
subPackages: [
{
2024-10-01 09:11:18 +08:00
"root": "modules/mall",
"pages": [
2024-09-05 14:05:15 +08:00
{
2024-10-01 09:11:18 +08:00
"path": "index/index",
"aliasPath": "/mall",
"style": {
"navigationBarTitleText": "宠物商城",
"enablePullDownRefresh": true
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": false,
"sync": true,
"title": "宠物商城",
"group": "商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "index/user",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": true
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "个人中心",
"group": "商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "index/category",
"style": {
"navigationBarTitleText": "商品分类"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "商品分类",
"group": "商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "index/cart",
"style": {
"navigationBarTitleText": "购物车"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "购物车",
"group": "商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "index/login",
"style": {
"navigationBarTitleText": "登录"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "index/search",
"style": {
"navigationBarTitleText": "搜索"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "搜索",
"group": "商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "index/page",
"style": {
"navigationBarTitleText": ""
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": false,
"sync": true,
"title": "自定义页面",
"group": "商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "goods/index",
"style": {
"navigationBarTitleText": "商品详情"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "普通商品",
"group": "商品"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "goods/groupon",
"style": {
"navigationBarTitleText": "拼团商品"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "拼团商品",
"group": "商品"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "goods/seckill",
"style": {
"navigationBarTitleText": "秒杀商品"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "秒杀商品",
"group": "商品"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "goods/list",
"style": {
"navigationBarTitleText": "商品列表"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "商品列表",
"group": "商品"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "goods/comment/add",
"style": {
"navigationBarTitleText": "评价商品"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "goods/comment/list",
"style": {
"navigationBarTitleText": "商品评价"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/detail",
"style": {
"navigationBarTitleText": "订单详情"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "订单详情"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/confirm",
"style": {
"navigationBarTitleText": "确认订单"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "确认订单"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/list",
"style": {
"navigationBarTitleText": "我的订单",
"enablePullDownRefresh": true
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "用户订单",
"group": "订单中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/aftersale/apply",
"style": {
"navigationBarTitleText": "申请售后"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "申请售后"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/aftersale/return-delivery",
"style": {
"navigationBarTitleText": "退货物流"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "退货物流"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/aftersale/list",
"style": {
"navigationBarTitleText": "售后列表"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "售后订单",
"group": "订单中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/aftersale/detail",
"style": {
"navigationBarTitleText": "售后详情"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "售后详情"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/aftersale/log",
"style": {
"navigationBarTitleText": "售后进度"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "售后进度"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "order/express/log",
"style": {
"navigationBarTitleText": "物流轨迹"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "物流轨迹"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/info",
"style": {
"navigationBarTitleText": "我的信息"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "用户信息",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/goods-collect",
"style": {
"navigationBarTitleText": "我的收藏"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "商品收藏",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/goods-log",
"style": {
"navigationBarTitleText": "我的足迹"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "浏览记录",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/address/list",
"style": {
"navigationBarTitleText": "收货地址"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "地址管理",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/address/edit",
"style": {
"navigationBarTitleText": "编辑地址"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"title": "编辑地址"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/goods_details_store/index",
"style": {
"navigationBarTitleText": "自提门店"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "地址管理",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/wallet/money",
"style": {
"navigationBarTitleText": "我的余额"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "用户余额",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "user/wallet/score",
"style": {
"navigationBarTitleText": "我的积分"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "用户积分",
"group": "用户中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/index",
"style": {
"navigationBarTitleText": "分销"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "分销中心",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/wallet",
"style": {
"navigationBarTitleText": "我的佣金"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "用户佣金",
"group": "分销中心"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/goods",
"style": {
"navigationBarTitleText": "推广商品"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "推广商品",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/order",
"style": {
"navigationBarTitleText": "分销订单"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "分销订单",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/team",
"style": {
"navigationBarTitleText": "我的团队"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "我的团队",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/promoter",
"style": {
"navigationBarTitleText": "推广人排行榜"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "推广人排行榜",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/commission-ranking",
"style": {
"navigationBarTitleText": "佣金排行榜"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "佣金排行榜",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "commission/withdraw",
"style": {
"navigationBarTitleText": "申请提现"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "申请提现",
"group": "分销商城"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "app/sign",
"style": {
"navigationBarTitleText": "签到中心"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "签到中心",
"group": "应用"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "public/setting",
"style": {
"navigationBarTitleText": "系统设置"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "系统设置",
"group": "通用"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "public/richtext",
"style": {
"navigationBarTitleText": "富文本"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "富文本",
"group": "通用"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "public/faq",
"style": {
"navigationBarTitleText": "常见问题"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "常见问题",
"group": "通用"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "public/error",
"style": {
"navigationBarTitleText": "错误页面"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "public/webview",
"style": {
"navigationBarTitleText": ""
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "coupon/list",
"style": {
"navigationBarTitleText": "领券中心"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "领券中心",
"group": "优惠券"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "coupon/detail",
"style": {
"navigationBarTitleText": "优惠券"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": false,
"sync": true,
"title": "优惠券详情",
"group": "优惠券"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "chat/index",
"style": {
"navigationBarTitleText": "客服"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "客服",
"group": "客服"
}
},
{
"path": "pay/index",
"style": {
"navigationBarTitleText": "收银台"
}
},
{
"path": "pay/result",
"style": {
"navigationBarTitleText": "支付结果"
}
},
{
"path": "pay/recharge",
"style": {
"navigationBarTitleText": "充值余额"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "充值余额",
"group": "支付"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "pay/recharge-log",
"style": {
"navigationBarTitleText": "充值记录"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "充值记录",
"group": "支付"
}
},
{
"path": "activity/groupon/detail",
"style": {
"navigationBarTitleText": "拼团详情"
}
},
{
"path": "activity/groupon/order",
"style": {
"navigationBarTitleText": "我的拼团",
"enablePullDownRefresh": true
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"auth": true,
"sync": true,
"title": "拼团订单",
"group": "营销活动"
}
2024-09-05 14:05:15 +08:00
},
{
2024-10-01 09:11:18 +08:00
"path": "activity/index",
"style": {
"navigationBarTitleText": "营销商品"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "营销商品",
"group": "营销活动"
}
},
{
"path": "activity/groupon/list",
"style": {
"navigationBarTitleText": "拼团活动"
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
"meta": {
"sync": true,
"title": "拼团活动",
"group": "营销活动"
}
2024-09-05 14:05:15 +08:00
},
2024-10-01 09:11:18 +08:00
{
"path": "activity/seckill/list",
"style": {
"navigationBarTitleText": "秒杀活动"
},
"meta": {
"sync": true,
"title": "秒杀活动",
"group": "营销活动"
}
}
]
2024-09-05 14:05:15 +08:00
},
],
2024-09-02 07:40:26 +08:00
tabBar: {
color: '#999999',
selectedColor: '#000000',
backgroundColor: '#F8F8F8',
borderStyle: 'black',
height: '50px',
fontSize: '10px',
iconWidth: '24px',
spacing: '3px',
list: [
{
pagePath: 'pages/index/index',
},
{
2024-10-01 09:11:18 +08:00
pagePath: 'pages/index/404',
2024-09-02 07:40:26 +08:00
},
],
},
})