Merge branch 'main' of https://git.nianxx.cn/duanshuwen/zn-ai into feature/lishaohua

# Conflicts:
#	src/renderer/components/TaskList/index.vue
#	src/renderer/views/home/index.vue
This commit is contained in:
2025-12-08 19:00:47 +08:00
55 changed files with 7974 additions and 212 deletions

View 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,
}
]

View File

@@ -7,6 +7,7 @@ export interface MenuItem {
icon: any
color: string
activeColor: string
url: string
}
export const menus: MenuItem[] = [
@@ -16,6 +17,7 @@ export const menus: MenuItem[] = [
icon: RiHomeLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/home',
},
{
id: 2,
@@ -23,6 +25,7 @@ export const menus: MenuItem[] = [
icon: RiFileListLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/order',
},
{
id: 3,
@@ -30,6 +33,7 @@ export const menus: MenuItem[] = [
icon: RiHotelLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/stock',
},
{
id: 4,
@@ -37,6 +41,7 @@ export const menus: MenuItem[] = [
icon: RiChatQuoteLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/rate',
},
{
id: 5,
@@ -44,6 +49,7 @@ export const menus: MenuItem[] = [
icon: RiBarChartBoxAiLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/dashboard',
},
{
id: 6,
@@ -51,6 +57,7 @@ export const menus: MenuItem[] = [
icon: RiMoreLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/more',
},
{
id: 7,
@@ -58,5 +65,6 @@ export const menus: MenuItem[] = [
icon: RiSettingsLine,
color: '#525866',
activeColor: '#2B7FFF',
url: '/setting',
},
]

View File

@@ -0,0 +1,100 @@
import xc from '@assets/images/rate/xc.png'
import qne from '@assets/images/rate/qne.png'
import fz from '@assets/images/rate/fz.png'
import mt from '@assets/images/rate/mt.png'
import dy from '@assets/images/rate/dy.png'
// 菜单列表申明
interface Item {
id: number
name: string
icon: any
total: number,
score: number
}
export const channels: Item[] = [
{
id: 1,
name: '携程',
icon: xc,
total: 110,
score: 4.5
},
{
id: 2,
name: '去哪儿',
icon: qne,
total: 100,
score: 4.5
},
{
id: 3,
name: '飞猪',
icon: fz,
total: 90,
score: 4.5
},
{
id: 4,
name: '美团',
icon: mt,
total: 80,
score: 4.5
},
{
id: 5,
name: '抖音',
icon: dy,
total: 70,
score: 4.5
}
]
interface ListItem {
id: number
userName: string
content: string
createTime: string
channelName: string
channelIcon: any
imageList: any[]
score: number
}
export const commentList: ListItem[] = [
{
id: 1,
userName: '用户98882',
content: '环境不错,温泉也很好',
createTime: '2022-11-09 16:24:30',
channelName: '携程',
channelIcon: xc,
imageList: [
xc,
xc,
xc,
xc,
xc,
xc,
],
score: 5,
},
{
id: 2,
userName: '用户98882',
content: '环境不错,温泉也很好',
createTime: '2022-11-09 16:24:30',
channelName: '抖音',
channelIcon: dy,
imageList: [
dy,
dy,
dy,
dy,
dy,
dy,
],
score: 5,
},
]

View File

@@ -0,0 +1,46 @@
import { RiUserLine, RiHotelLine, RiHotelBedLine, RiSettingsLine } from '@remixicon/vue'
// 菜单列表申明
export interface MenuItem {
id: number
name: string
icon: any
color: string
activeColor: string
componentName: string
}
export const systemMenus: MenuItem[] = [
{
id: 1,
name: '账号',
icon: RiUserLine,
color: '#525866',
activeColor: '#2B7FFF',
componentName: 'AccountSetting',
},
{
id: 2,
name: '渠道管理',
icon: RiHotelLine,
color: '#525866',
activeColor: '#2B7FFF',
componentName: 'ChannelSetting',
},
{
id: 3,
name: '房型管理',
icon: RiHotelBedLine,
color: '#525866',
activeColor: '#2B7FFF',
componentName: 'RoomTypeSetting',
},
{
id: 4,
name: '通用设置',
icon: RiSettingsLine,
color: '#525866',
activeColor: '#2B7FFF',
componentName: 'Version',
},
]