Files
bdrp-app/pages.config.ts

52 lines
3.9 KiB
TypeScript
Raw Normal View History

2026-04-20 16:42:28 +08:00
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
pages: [
2026-06-03 15:04:47 +08:00
// 必须为首屏uni-app 仅 pages[0] 为 entryPagePath勿依赖 launch 再 redirectiOS 上易失败)
{ path: 'pages/privacy-consent', style: { navigationStyle: 'custom', navigationBarTitleText: '隐私政策授权' } },
2026-04-23 14:57:35 +08:00
{ path: 'pages/launch', style: { navigationStyle: 'custom', navigationBarTitleText: '' } },
{ path: 'pages/index', style: { navigationBarTitleText: '首页' } },
2026-04-20 16:42:28 +08:00
{ path: 'pages/agent', style: { navigationBarTitleText: '代理中心' } },
{ path: 'pages/agent-manage-agreement', style: { navigationBarTitleText: '代理管理协议', navigationStyle: 'default' } },
2026-04-30 16:06:57 +08:00
{ path: 'pages/agent-promote-details', auth: true, style: { navigationBarTitleText: '收益明细' } },
{ path: 'pages/agent-rewards-details', auth: true, style: { navigationBarTitleText: '奖励明细' } },
2026-04-20 16:42:28 +08:00
{ path: 'pages/agent-service-agreement', style: { navigationBarTitleText: '信息技术服务合同', navigationStyle: 'default' } },
{ path: 'pages/agent-vip', auth: true, style: { navigationBarTitleText: '代理会员' } },
2026-04-30 16:06:57 +08:00
{ path: 'pages/agent-vip-apply', auth: true, style: { navigationBarTitleText: 'VIP代理申请' } },
2026-05-18 13:06:12 +08:00
{ path: 'pages/agent-vip-config', auth: true, style: { navigationBarTitleText: '代理报告配置' } },
2026-04-20 16:42:28 +08:00
{ path: 'pages/authorization', style: { navigationBarTitleText: '授权书', navigationStyle: 'default' } },
{ path: 'pages/help', style: { navigationBarTitleText: '帮助中心' } },
{ path: 'pages/help-detail', style: { navigationBarTitleText: '帮助详情' } },
{ path: 'pages/help-guide', style: { navigationBarTitleText: '引导指南' } },
{ path: 'pages/history-query', auth: true, style: { navigationBarTitleText: '历史报告' } },
{ path: 'pages/inquire', style: { navigationBarTitleText: '查询报告' } },
{ path: 'pages/invitation', auth: true, style: { navigationBarTitleText: '邀请下级' } },
{ path: 'pages/invitation-agent-apply', auth: true, style: { navigationBarTitleText: '代理申请' } },
{ path: 'pages/login', style: { navigationBarTitleText: '登录' } },
{ path: 'pages/me', style: { navigationBarTitleText: '我的' } },
{ path: 'pages/cancel-account', auth: true, style: { navigationBarTitleText: '注销账号', navigationStyle: 'default' } },
{ path: 'pages/not-found', style: { navigationBarTitleText: '页面不存在' } },
{ path: 'pages/payment-result', auth: true, style: { navigationBarTitleText: '支付结果' } },
{ path: 'pages/privacy-policy', style: { navigationBarTitleText: '隐私政策', navigationStyle: 'default' } },
2026-04-30 16:06:57 +08:00
{ path: 'pages/promote', auth: true, style: { navigationBarTitleText: '推广' } },
2026-04-20 16:42:28 +08:00
{ path: 'pages/report-example-webview', style: { navigationBarTitleText: '示例报告', navigationStyle: 'default' } },
{ path: 'pages/report-result-webview', auth: true, style: { navigationBarTitleText: '报告结果', navigationStyle: 'default' } },
{ path: 'pages/report-share', style: { navigationBarTitleText: '报告分享', navigationStyle: 'default' } },
2026-04-30 16:06:57 +08:00
{ path: 'pages/subordinate-detail', auth: true, style: { navigationBarTitleText: '下级贡献详情' } },
2026-04-20 16:42:28 +08:00
{ path: 'pages/subordinate-list', auth: true, style: { navigationBarTitleText: '我的下级' } },
{ path: 'pages/user-agreement', style: { navigationBarTitleText: '用户协议', navigationStyle: 'default' } },
{ path: 'pages/withdraw', auth: true, style: { navigationBarTitleText: '提现' } },
{ path: 'pages/withdraw-details', auth: true, style: { navigationBarTitleText: '提现记录' } },
],
globalStyle: {
2026-06-03 11:53:48 +08:00
backgroundColor: '#fcfcfc',
backgroundColorBottom: '#fcfcfc',
backgroundColorTop: '#fcfcfc',
backgroundTextStyle: 'dark',
2026-04-20 16:42:28 +08:00
navigationBarBackgroundColor: '#ffffff',
navigationBarTextStyle: 'black',
navigationBarTitleText: 'BDRP',
navigationStyle: 'custom',
},
})