From 3b2fb9ff5286e9d6b26d360567f52051e0919671 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Tue, 5 Dec 2023 10:11:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=AE=B2=E4=B9=A6=E8=AF=84?= =?UTF-8?q?=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 31 ++++++ src/router/index.js | 1 + src/views/modules/book/commentsList.vue | 126 ++++++++++++++++++++++++ src/views/modules/book/talkBook.vue | 5 +- 4 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 src/views/modules/book/commentsList.vue diff --git a/package-lock.json b/package-lock.json index b333277..b1f083e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "lodash": "4.17.5", "node-sass": "^6.0.1", "npm": "^6.9.0", + "quill-image-resize-module": "^3.0.0", "sass-loader": "6.0.6", "svg-sprite-loader": "3.7.3", "vue": "2.5.16", @@ -19190,6 +19191,16 @@ "node": ">=0.10" } }, + "node_modules/quill-image-resize-module": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/quill-image-resize-module/-/quill-image-resize-module-3.0.0.tgz", + "integrity": "sha512-1TZBnUxU/WIx5dPyVjQ9yN7C6mLZSp04HyWBEMqT320DIq4MW4JgzlOPDZX5ZpBM3bU6sacU4kTLUc8VgYQZYw==", + "dependencies": { + "lodash": "^4.17.4", + "quill": "^1.2.2", + "raw-loader": "^0.5.1" + } + }, "node_modules/quill/node_modules/clone": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", @@ -19267,6 +19278,11 @@ "node": ">= 0.8" } }, + "node_modules/raw-loader": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", + "integrity": "sha512-sf7oGoLuaYAScB4VGr0tzetsYlS8EJH6qnTCfQ/WVEa89hALQ4RQfCKt5xCyPQKPDUbVUAIP1QsxAwfAjlDp7Q==" + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -39740,6 +39756,16 @@ "fast-diff": "1.1.2" } }, + "quill-image-resize-module": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/quill-image-resize-module/-/quill-image-resize-module-3.0.0.tgz", + "integrity": "sha512-1TZBnUxU/WIx5dPyVjQ9yN7C6mLZSp04HyWBEMqT320DIq4MW4JgzlOPDZX5ZpBM3bU6sacU4kTLUc8VgYQZYw==", + "requires": { + "lodash": "^4.17.4", + "quill": "^1.2.2", + "raw-loader": "^0.5.1" + } + }, "randomatic": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", @@ -39794,6 +39820,11 @@ "unpipe": "1.0.0" } }, + "raw-loader": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", + "integrity": "sha512-sf7oGoLuaYAScB4VGr0tzetsYlS8EJH6qnTCfQ/WVEa89hALQ4RQfCKt5xCyPQKPDUbVUAIP1QsxAwfAjlDp7Q==" + }, "read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", diff --git a/src/router/index.js b/src/router/index.js index 4daa3dd..e52cdb1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -55,6 +55,7 @@ const mainRoutes = { { path: '/acupointList', component: _import('modules/acupoint/acupointList'), name: 'acupointList', meta: { title: '经穴文章列表', isTab: true } }, { path: '/acupointDetail', component: _import('modules/acupoint/acupointDetail'), name: 'acupointDetail', meta: { title: '穴位详细', isTab: true } }, { path: '/countyManagement', component: _import('modules/county/countyManagement'), name: 'countyManagement', meta: { title: '国家区域管理', isTab: true } }, + { path: '/commentsList', component: _import('modules/book/commentsList'), name: 'commentsList', meta: { title: '评论管理', isTab: true } }, ], beforeEnter (to, from, next) { let token = Vue.cookie.get('token') diff --git a/src/views/modules/book/commentsList.vue b/src/views/modules/book/commentsList.vue new file mode 100644 index 0000000..601f7c9 --- /dev/null +++ b/src/views/modules/book/commentsList.vue @@ -0,0 +1,126 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/book/talkBook.vue b/src/views/modules/book/talkBook.vue index 6f958b8..4448372 100644 --- a/src/views/modules/book/talkBook.vue +++ b/src/views/modules/book/talkBook.vue @@ -67,8 +67,11 @@ align="center" width="150" label="操作"> -