Files
bdrp-app/pages.config.ts
2026-06-03 15:04:47 +08:00

52 lines
3.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
pages: [
// 必须为首屏uni-app 仅 pages[0] 为 entryPagePath勿依赖 launch 再 redirectiOS 上易失败)
{ path: 'pages/privacy-consent', style: { navigationStyle: 'custom', navigationBarTitleText: '隐私政策授权' } },
{ path: 'pages/launch', style: { navigationStyle: 'custom', navigationBarTitleText: '' } },
{ path: 'pages/index', style: { navigationBarTitleText: '首页' } },
{ path: 'pages/agent', style: { navigationBarTitleText: '代理中心' } },
{ path: 'pages/agent-manage-agreement', style: { navigationBarTitleText: '代理管理协议', navigationStyle: 'default' } },
{ path: 'pages/agent-promote-details', auth: true, style: { navigationBarTitleText: '收益明细' } },
{ path: 'pages/agent-rewards-details', auth: true, style: { navigationBarTitleText: '奖励明细' } },
{ path: 'pages/agent-service-agreement', style: { navigationBarTitleText: '信息技术服务合同', navigationStyle: 'default' } },
{ path: 'pages/agent-vip', auth: true, style: { navigationBarTitleText: '代理会员' } },
{ path: 'pages/agent-vip-apply', auth: true, style: { navigationBarTitleText: 'VIP代理申请' } },
{ path: 'pages/agent-vip-config', auth: true, style: { navigationBarTitleText: '代理报告配置' } },
{ 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' } },
{ path: 'pages/promote', auth: true, style: { navigationBarTitleText: '推广' } },
{ 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' } },
{ path: 'pages/subordinate-detail', auth: true, style: { navigationBarTitleText: '下级贡献详情' } },
{ 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: {
backgroundColor: '#fcfcfc',
backgroundColorBottom: '#fcfcfc',
backgroundColorTop: '#fcfcfc',
backgroundTextStyle: 'dark',
navigationBarBackgroundColor: '#ffffff',
navigationBarTextStyle: 'black',
navigationBarTitleText: 'BDRP',
navigationStyle: 'custom',
},
})