feat: 新增系统设置页面
This commit is contained in:
46
src/renderer/constant/channel.ts
Normal file
46
src/renderer/constant/channel.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
import pms from '@assets/images/channel/pms.png'
|
||||
import xc from '@assets/images/channel/xc.png'
|
||||
import qne from '@assets/images/channel/qne.png'
|
||||
import fz from '@assets/images/channel/fz.png'
|
||||
import mt from '@assets/images/channel/mt.png'
|
||||
import dy from '@assets/images/channel/dy.png'
|
||||
|
||||
// 菜单列表申明
|
||||
interface Item {
|
||||
id: number
|
||||
name: string
|
||||
icon: any
|
||||
}
|
||||
|
||||
export const channel: Item[] = [
|
||||
{
|
||||
id: 1,
|
||||
name: 'PMS',
|
||||
icon: pms,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: '携程',
|
||||
icon: xc,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: '去哪儿',
|
||||
icon: qne,
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: '飞猪',
|
||||
icon: fz,
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: '美团',
|
||||
icon: mt,
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: '抖音',
|
||||
icon: dy,
|
||||
}
|
||||
]
|
||||
@@ -7,7 +7,7 @@ export interface MenuItem {
|
||||
icon: any
|
||||
color: string
|
||||
activeColor: string
|
||||
url: string
|
||||
componentName: string
|
||||
}
|
||||
|
||||
export const systemMenus: MenuItem[] = [
|
||||
@@ -17,7 +17,7 @@ export const systemMenus: MenuItem[] = [
|
||||
icon: RiUserLine,
|
||||
color: '#525866',
|
||||
activeColor: '#2B7FFF',
|
||||
url: '/home',
|
||||
componentName: 'AccountSetting',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
@@ -25,7 +25,7 @@ export const systemMenus: MenuItem[] = [
|
||||
icon: RiHotelLine,
|
||||
color: '#525866',
|
||||
activeColor: '#2B7FFF',
|
||||
url: '/order',
|
||||
componentName: 'ChannelSetting',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
@@ -33,7 +33,7 @@ export const systemMenus: MenuItem[] = [
|
||||
icon: RiHotelBedLine,
|
||||
color: '#525866',
|
||||
activeColor: '#2B7FFF',
|
||||
url: '/order',
|
||||
componentName: 'RoomTypeSetting',
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
@@ -41,6 +41,6 @@ export const systemMenus: MenuItem[] = [
|
||||
icon: RiSettingsLine,
|
||||
color: '#525866',
|
||||
activeColor: '#2B7FFF',
|
||||
url: '/stock',
|
||||
componentName: 'Version',
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user