feat: 新增页面布局
This commit is contained in:
62
src/renderer/constant/menus.ts
Normal file
62
src/renderer/constant/menus.ts
Normal 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]',
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user