feat: 新增评论组件
This commit is contained in:
@@ -49,4 +49,52 @@ export const channels: Item[] = [
|
||||
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,
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user