文件
shanghaipeiwan/pwuniapp/pages.json
xcbyy ca7f849b14 feat(notify): 新增站内消息通知中心(订阅消息兜底)+ 清理后台伪造数据
- 新表 user_notifications + 仓储方法(创建/列表/未读数/标记已读)
- 用户接口 GET /api/notifications、POST /api/notifications/read(生产需登录)
- 关键节点落库:订单开始服务/接单/拒单/申请完成/完成结算/提现到账/报名成功/退款受理
- 小程序新增「消息通知」页(pages/user/notifications) + 个人中心入口与未读角标;api.js 增加 getNotifications/markNotificationsRead
- 清理后台伪造数据:/api/user/certification 改空态、/api/user/my-project/list 改空数组、/api/user/info 去掉编造邮箱/电话/网址
- 更新 pages 数量断言(26→27);新增回归护栏 notification-center.spec.ts(92 套件/658 用例全绿);冒烟 9/9
2026-10-19 14:31:11 +08:00

304 行
8.5 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/expert/detail",
"style": {
"navigationBarTitleText": "陪玩大神主页",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
},
{
"path": "pages/expert/apply",
"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/activity/create",
"style": {
"navigationBarTitleText": "我要发单 / 发起组队",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
},
{
"path": "pages/expert/workspace",
"style": {
"navigationBarTitleText": "大神接单工作台",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
},
{
"path": "pages/community/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "友圈广场",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
},
{
"path": "pages/community/detail",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "动态详情",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
},
{
"path": "pages/expert/radar",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "我要接单",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
},
{
"path": "pages/expert/hall",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "接单大厅",
"navigationBarBackgroundColor": "#0A0F1D",
"navigationBarTextStyle": "white",
"backgroundColor": "#0A0F1D"
}
}
],
"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": "我的"
}
]
}
}