diff --git a/src/renderer/constant/rate.ts b/src/renderer/constant/rate.ts index c3522a6..736a65a 100644 --- a/src/renderer/constant/rate.ts +++ b/src/renderer/constant/rate.ts @@ -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, + }, ] \ No newline at end of file diff --git a/src/renderer/views/rate/components/RateContentSection/index.vue b/src/renderer/views/rate/components/RateContentSection/index.vue index 40da24a..3cdc4d2 100644 --- a/src/renderer/views/rate/components/RateContentSection/index.vue +++ b/src/renderer/views/rate/components/RateContentSection/index.vue @@ -1,12 +1,14 @@