From 8950a8d205f4991ec1b952a849eb72335973d1c5 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Sun, 7 Dec 2025 22:31:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/constant/rate.ts | 48 +++++++++++++++++++ .../components/RateContentSection/index.vue | 9 +++- .../rate/components/RateListSection/index.vue | 37 ++++++++++++++ 3 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 src/renderer/views/rate/components/RateListSection/index.vue 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 @@