Initial CMPP frontend prototype

This commit is contained in:
hectorzhao
2026-06-30 16:09:46 +08:00
commit 2f3c274a30
98 changed files with 25255 additions and 0 deletions
+76
View File
@@ -0,0 +1,76 @@
import {
BadgeDollarSign,
ClipboardList,
FileText,
Home,
ImageIcon,
MessageSquareText,
PenLine,
ReceiptText,
Settings,
ShieldCheck,
Users,
} from 'lucide-react';
import { AppShell } from '@/layouts/AppShell';
export function ClientLayout() {
return (
<AppShell
title="CMPP 客户端"
subtitle="短信服务控制台"
workspaceName="华东一区客户空间"
userName="赵先生"
userRole="企业管理员"
navSections={[
{
title: '概览',
items: [{ label: '工作台', to: '/client', icon: Home }],
},
{
title: '短信业务',
items: [
{ label: '短信发送', to: '/client/send', icon: MessageSquareText },
{ label: '查看批量任务', to: '/client/batch-tasks', icon: ClipboardList },
{ label: '短信发送详情', to: '/client/send-detail', icon: ClipboardList },
{ label: '查看上行短信', to: '/client/uplink-messages', icon: MessageSquareText },
],
},
{
title: '短信基础配置',
items: [
{ label: '短信应用', to: '/client/applications', icon: FileText },
{ label: '模板管理', to: '/client/templates', icon: FileText },
{ label: '签名与引流信息', to: '/client/signatures', icon: PenLine },
],
},
{
title: '彩信服务',
items: [
{ label: '签名报备', to: '/client/mms-signatures', icon: PenLine },
{ label: '彩信模板管理', to: '/client/mms-templates', icon: ImageIcon },
{ label: '发送彩信', to: '/client/mms-send', icon: MessageSquareText },
{ label: '查看批量任务', to: '/client/mms-batch-tasks', icon: ClipboardList },
{ label: '彩信发送详情', to: '/client/mms-send-detail', icon: ClipboardList },
{ label: '查看上行彩信', to: '/client/mms-uplink-messages', icon: ImageIcon },
],
},
{
title: '账户',
items: [
{ label: '充值套餐', to: '/client/billing', icon: BadgeDollarSign },
{ label: '账单流水', to: '/client/invoices', icon: ReceiptText },
{ label: '账号设置', to: '/client/settings', icon: Settings },
],
},
{
title: '系统管理',
items: [
{ label: '企业认证', to: '/client/enterprise-auth', icon: ShieldCheck },
{ label: '用户管理', to: '/client/users', icon: Users },
{ label: '系统日志', to: '/client/system-logs', icon: FileText },
],
},
]}
/>
);
}