From bd39beb2bc1e3a90a4de6ec89ae019f27f0318bd Mon Sep 17 00:00:00 2001 From: "1747191978@qq.com" <1942943850@qq.com> Date: Tue, 18 Feb 2025 12:24:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acupuncture-前台/package.json | 1 + acupuncture-前台/src/main.js | 2 + acupuncture-前台/src/views/index.vue | 377 +++++++++--------- acupuncture-前台/src/views/indexCom/query.vue | 8 +- 4 files changed, 191 insertions(+), 197 deletions(-) diff --git a/acupuncture-前台/package.json b/acupuncture-前台/package.json index fcc990f7..103e1305 100644 --- a/acupuncture-前台/package.json +++ b/acupuncture-前台/package.json @@ -48,6 +48,7 @@ "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "moment": "^2.30.1", "nprogress": "0.2.0", "quill": "2.0.2", "screenfull": "5.0.2", diff --git a/acupuncture-前台/src/main.js b/acupuncture-前台/src/main.js index 13c6cf29..1fa0ce5d 100644 --- a/acupuncture-前台/src/main.js +++ b/acupuncture-前台/src/main.js @@ -13,6 +13,7 @@ import router from './router' import directive from './directive' // directive import plugins from './plugins' // plugins import { download } from '@/utils/request' +import moment from 'moment'; import './assets/icons' // icon import './permission' // permission control @@ -48,6 +49,7 @@ Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree +Vue.prototype.$moment = moment // 全局组件挂载 Vue.component('DictTag', DictTag) diff --git a/acupuncture-前台/src/views/index.vue b/acupuncture-前台/src/views/index.vue index 6cfba258..3209a3ec 100644 --- a/acupuncture-前台/src/views/index.vue +++ b/acupuncture-前台/src/views/index.vue @@ -1,209 +1,204 @@ + >>>.el-card { + margin-bottom: 16px; + } + + >>>.el-card__body { + padding: 10px 20px; + } + \ No newline at end of file diff --git a/acupuncture-前台/src/views/indexCom/query.vue b/acupuncture-前台/src/views/indexCom/query.vue index fc740393..4b5ab797 100644 --- a/acupuncture-前台/src/views/indexCom/query.vue +++ b/acupuncture-前台/src/views/indexCom/query.vue @@ -6,7 +6,7 @@
- - - + -->