feat: 新增页面布局

This commit is contained in:
duanshuwen
2025-12-01 22:16:34 +08:00
parent edd8b939d3
commit ae19c6c551
13 changed files with 174 additions and 16 deletions

View File

@@ -0,0 +1,62 @@
import { RiHomeLine, RiFileListLine, RiHotelLine, RiChatQuoteLine, RiBarChartBoxAiLine, RiMoreLine, RiSettingsLine } from '@remixicon/vue'
// 菜单列表申明
export interface MenuItem {
id: number
name: string
icon: any
color: string
activeColor: string
}
export const menus: MenuItem[] = [
{
id: 1,
name: '首页',
icon: RiHomeLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
{
id: 2,
name: '订单',
icon: RiFileListLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
{
id: 3,
name: '库存',
icon: RiHotelLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
{
id: 4,
name: '评价',
icon: RiChatQuoteLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
{
id: 5,
name: '数据看板',
icon: RiBarChartBoxAiLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
{
id: 6,
name: '更多',
icon: RiMoreLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
{
id: 7,
name: '设置',
icon: RiSettingsLine,
color: '#525866',
activeColor: 'text-[#2B7FFF]',
},
]