- pages/expert(大神主页/入驻/工作台/雷达/大厅)与 pages/community(友圈/动态详情)改为分包,路由路径不变 - 首页预下载两个分包,避免首次进入等待 - 解决微信开发者工具上传报 source size 超 2MB 的问题
332 行
9.2 KiB
JSON
332 行
9.2 KiB
JSON
{
|
|
"easycom": {
|
|
"autoscan": true,
|
|
"custom": {
|
|
"^AppTabBar$": "@/components/CustomTabBar.vue",
|
|
"^app-tab-bar$": "@/components/CustomTabBar.vue",
|
|
"^CustomTabBar$": "@/components/CustomTabBar.vue",
|
|
"^custom-tab-bar$": "@/components/CustomTabBar.vue"
|
|
}
|
|
},
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "陪玩中心",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/auth/login",
|
|
"style": {
|
|
"navigationBarTitleText": "账号登录与注册",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/common/protocol",
|
|
"style": {
|
|
"navigationBarTitleText": "服务协议与隐私政策",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/list",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "附近活动",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "活动详情",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/my-ticket",
|
|
"style": {
|
|
"navigationBarTitleText": "我的活动门票",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/create",
|
|
"style": {
|
|
"navigationBarTitleText": "确认预约订单",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/list",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的订单",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "个人中心",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/recharge",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "钱包充值",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/withdraw",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "收益提现",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/favorites",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的收藏",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/withdraw-records",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "提现审批明细",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/bill-records",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "账单明细",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/promote",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "推广赚钱",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/settings",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "系统与隐私设置",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/reports",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的举报与维权",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/help-faq",
|
|
"style": {
|
|
"navigationBarTitleText": "帮助中心与常见问题",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/notifications",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "消息通知",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/coupons",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "优惠券",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/create",
|
|
"style": {
|
|
"navigationBarTitleText": "我要发单 / 发起组队",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
}
|
|
],
|
|
"subPackages": [
|
|
{
|
|
"root": "pages/expert",
|
|
"pages": [
|
|
{
|
|
"path": "detail",
|
|
"style": {
|
|
"navigationBarTitleText": "陪玩大神主页",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "apply",
|
|
"style": {
|
|
"navigationBarTitleText": "大神入驻认证",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "workspace",
|
|
"style": {
|
|
"navigationBarTitleText": "大神接单工作台",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "radar",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我要接单",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "hall",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "接单大厅",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"root": "pages/community",
|
|
"pages": [
|
|
{
|
|
"path": "index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "友圈广场",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "detail",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "动态详情",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preloadRule": {
|
|
"pages/index/index": {
|
|
"network": "all",
|
|
"packages": ["pages/expert", "pages/community"]
|
|
}
|
|
},
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "white",
|
|
"navigationBarTitleText": "陪玩中心",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"backgroundColor": "#0A0F1D"
|
|
},
|
|
"tabBar": {
|
|
"color": "#94A3B8",
|
|
"selectedColor": "#6366F1",
|
|
"backgroundColor": "#151D30",
|
|
"borderStyle": "black",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "首页"
|
|
},
|
|
{
|
|
"pagePath": "pages/activity/list",
|
|
"text": "活动项目"
|
|
},
|
|
{
|
|
"pagePath": "pages/order/list",
|
|
"text": "订单中心"
|
|
},
|
|
{
|
|
"pagePath": "pages/user/index",
|
|
"text": "我的"
|
|
}
|
|
]
|
|
}
|
|
}
|