From 10ab6380c4da6d5fb43e5b4f87d74bffde3325f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=8A=E9=92=8A?= <13512071256@163.com> Date: Fri, 27 Dec 2024 08:30:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A8=E8=8D=90=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=8F=8A=E4=BC=98=E5=8C=96=E8=AF=84=E8=AE=BA=E3=80=81?= =?UTF-8?q?=E7=AC=94=E8=AE=B0=E3=80=81=E6=A0=87=E7=AD=BE=E7=AD=89=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/manage/scenic/index.ts | 12 +++ src/components/commentRows/index.vue | 52 +++++++----- src/components/noteList/index.vue | 8 +- src/components/partyList/index.vue | 68 +++++++++++++++- src/views/manage/dyUser/index.vue | 37 +++++---- src/views/manage/scenic/index.vue | 113 +++++++++++++++++++++------ src/views/manage/tag/index.vue | 10 ++- src/views/manage/userLevel/index.vue | 2 +- 8 files changed, 234 insertions(+), 68 deletions(-) diff --git a/src/api/manage/scenic/index.ts b/src/api/manage/scenic/index.ts index 0381e30..08fb130 100644 --- a/src/api/manage/scenic/index.ts +++ b/src/api/manage/scenic/index.ts @@ -105,3 +105,15 @@ export const commentList = (query: any): AxiosPromise => { params: query }); }; +/** + * + * @param query + * @returns + */ +export const recommend = (query: any) => { + return request({ + url: '/manage/notebook/recommend-list', + method: 'get', + params: query + }); +}; diff --git a/src/components/commentRows/index.vue b/src/components/commentRows/index.vue index b9001cc..5dbefd8 100644 --- a/src/components/commentRows/index.vue +++ b/src/components/commentRows/index.vue @@ -10,8 +10,8 @@
{{ comment.nickName }}
-
-
{{ comment.replyNickName }}
+
@@ -21,21 +21,26 @@ IP: {{ comment.address?comment.address:'未知' }}
- + +
+
+ {{ reply.nickName }} +
+ {{ reply.replyNickName }} +
+
{{ reply.content }}
+
+ {{ reply.createTime }} + IP: {{ reply.address?reply.address:'未知' }}
- --> + { .reply-to { width: 0; height: 0; - margin-top: 5px; border-top: 6px solid transparent; /* 上边框透明 */ border-bottom: 6px solid transparent; /* 下边框透明 */ border-left: 6px solid #999; /* 左边框为箭头颜色,这里设为黑色,可按需更改 */ + + margin: 0px 8px; + margin-top: 5px; } .reply-to-username { @@ -130,12 +137,12 @@ const getCommentList = async () => { .user-details { margin-left: 35px; + } - .comment-content { - color: #000; - font-size: 16px; - padding: 3px 0px; - } + .comment-content { + color: #000; + font-size: 16px; + padding: 3px 0px; } } } @@ -145,6 +152,15 @@ const getCommentList = async () => { margin-left: 15px; } +.replies { + margin-left: 35px; + + .reply-item { + margin-top: 5px; + padding: 5px 0px; + } +} + #table_page { height: 50px !important; margin-top: 10px !important; diff --git a/src/components/noteList/index.vue b/src/components/noteList/index.vue index ab9b585..7f27590 100644 --- a/src/components/noteList/index.vue +++ b/src/components/noteList/index.vue @@ -3,7 +3,7 @@
- + @@ -28,16 +28,16 @@ - diff --git a/src/views/manage/dyUser/index.vue b/src/views/manage/dyUser/index.vue index 30cb7af..a9bb3ab 100644 --- a/src/views/manage/dyUser/index.vue +++ b/src/views/manage/dyUser/index.vue @@ -32,8 +32,9 @@ - 搜索 - 重置 + 搜索 + 重置 @@ -90,46 +91,50 @@ - + + + - - + + - - + + - - - + - + - + + + - - + + +