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 @@ - + + + - - + + - - + + - - - + - + - + + + - - + + +