From 5997a364d305d86b7f21d93aa78f9bced898e2a8 Mon Sep 17 00:00:00 2001 From: liuyx <1517482303@qq.com> Date: Wed, 28 Dec 2022 14:38:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=8E=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/.env.development | 2 +- admin/package-lock.json | 13 +++++++------ admin/package.json | 1 + admin/src/assets/scss/index.scss | 7 ++++++- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/admin/.env.development b/admin/.env.development index 81c0f2b..c53b512 100644 --- a/admin/.env.development +++ b/admin/.env.development @@ -1 +1 @@ -VITE_BASIC_URL = http://127.0.0.1:4523/m1/1852803-0-default \ No newline at end of file +VITE_BASIC_URL = http://127.0.0.1:3000 \ No newline at end of file diff --git a/admin/package-lock.json b/admin/package-lock.json index 9293e13..adb6407 100644 --- a/admin/package-lock.json +++ b/admin/package-lock.json @@ -11,6 +11,7 @@ "@element-plus/icons-vue": "^2.0.10", "@kangc/v-md-editor": "^2.3.15", "axios": "^1.1.3", + "dayjs": "^1.11.7", "element-plus": "^2.2.19", "pinia": "^2.0.23", "pinia-plugin-persist": "^1.0.0", @@ -1897,9 +1898,9 @@ } }, "node_modules/dayjs": { - "version": "1.11.6", - "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.6.tgz", - "integrity": "sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ==" + "version": "1.11.7", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.7.tgz", + "integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==" }, "node_modules/debug": { "version": "4.3.4", @@ -7549,9 +7550,9 @@ } }, "dayjs": { - "version": "1.11.6", - "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.6.tgz", - "integrity": "sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ==" + "version": "1.11.7", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.7.tgz", + "integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==" }, "debug": { "version": "4.3.4", diff --git a/admin/package.json b/admin/package.json index cd7f8c5..e51840c 100644 --- a/admin/package.json +++ b/admin/package.json @@ -12,6 +12,7 @@ "@element-plus/icons-vue": "^2.0.10", "@kangc/v-md-editor": "^2.3.15", "axios": "^1.1.3", + "dayjs": "^1.11.7", "element-plus": "^2.2.19", "pinia": "^2.0.23", "pinia-plugin-persist": "^1.0.0", diff --git a/admin/src/assets/scss/index.scss b/admin/src/assets/scss/index.scss index 2ec0d04..aacfd38 100644 --- a/admin/src/assets/scss/index.scss +++ b/admin/src/assets/scss/index.scss @@ -1,6 +1,11 @@ @import './element.scss'; @import './mine.scss'; +@font-face { + font-family: 'SourceHanSansCN'; + src: url('https://typora-lyx.oss-cn-guangzhou.aliyuncs.com/SourceHanSansCN-Normal.otf') +} + * { margin: 0; padding: 0; @@ -8,5 +13,5 @@ #app { height: 100vh; - font-family: 'Times New Roman', '仿宋'; + font-family: 'Times New Roman', 'SourceHanSansCN', serif; } \ No newline at end of file