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