From 4a67bd7dbb6fb12baf5ced815c996e2d752a5a3e Mon Sep 17 00:00:00 2001 From: sc Date: Thu, 12 Aug 2021 15:52:21 +0800 Subject: [PATCH] Squashed commit of the following: commit 7664eafb02dc21efe875b272e98d6355862bf933 Author: sc Date: Thu Aug 12 15:49:17 2021 +0800 UP commit ec3da821dd866ff730492f12200e890cec7ef01d Author: sc Date: Thu Aug 12 15:34:16 2021 +0800 UP commit 118a335cd7187ecf0d9cfad13ee71bbd1b6ccfb0 Author: sakuya <81883387@qq.com> Date: Wed Aug 11 23:16:30 2021 +0800 UP commit 606235450c26f3c38183ba74cc0c7336a9800c3a Author: sc Date: Wed Aug 11 16:55:17 2021 +0800 UP commit e743599ea8da42bb34d2cfbbf5193d9a43e489f2 Author: sc Date: Tue Aug 10 13:44:54 2021 +0800 up commit d57ef8e8bad8da65071c28324a4b534de4435c64 Author: sc Date: Mon Aug 9 16:59:47 2021 +0800 Update dark.less commit 2d4e0c314b8fe1114406e7b7487e2b4eadbd3531 Author: sc Date: Mon Aug 9 14:59:41 2021 +0800 UP commit bd7f3d67e6a79a7058265556fecfd11da6bc5d7e Author: sc Date: Mon Aug 9 09:25:10 2021 +0800 Update dark.less commit 8fe2040d832900601885df87885e82713c10563b Author: sakuya <81883387@qq.com> Date: Sun Aug 8 21:07:57 2021 +0800 haha commit c7893075c26ac63726de99e7c6f98d915ded68c6 Author: sakuya <81883387@qq.com> Date: Fri Aug 6 19:09:54 2021 +0800 Update fix.less commit 0ab4885d4f8dfcd16eb1d39ad9e8f07a9acb1681 Author: sc Date: Fri Aug 6 15:46:18 2021 +0800 UP --- package.json | 7 +- public/index.html | 9 + src/App.vue | 14 +- src/components/scEcharts/echarts-theme-T.js | 15 +- src/components/scFilterBar/index.vue | 4 + src/components/scFilterBar/my.vue | 2 + src/components/scSelect/index.vue | 2 + src/components/scStatistic/index.vue | 2 + src/config/index.js | 3 + src/locales/index.js | 28 +++ src/locales/lang/en.js | 11 + src/locales/lang/zh-cn.js | 11 + src/main.js | 6 +- src/store/modules/global.js | 5 + src/style/{app.less => app.scss} | 8 +- src/style/{fix.less => fix.scss} | 2 + src/style/{media.less => media.scss} | 4 +- src/style/{pages.less => pages.scss} | 0 src/style/style.less | 8 - src/style/style.scss | 5 + src/style/theme/dark.scss | 213 ++++++++++++++++++++ src/views/home/stats/index.vue | 2 + src/views/home/work/components/myapp.vue | 2 +- src/views/template/chartlist.vue | 4 + src/views/userCenter/index.vue | 55 ++--- src/views/userCenter/login.vue | 149 +++++++------- vue.config.js | 1 + 27 files changed, 446 insertions(+), 126 deletions(-) create mode 100644 src/locales/index.js create mode 100644 src/locales/lang/en.js create mode 100644 src/locales/lang/zh-cn.js rename src/style/{app.less => app.scss} (95%) rename src/style/{fix.less => fix.scss} (96%) rename src/style/{media.less => media.scss} (90%) rename src/style/{pages.less => pages.scss} (100%) delete mode 100644 src/style/style.less create mode 100644 src/style/style.scss create mode 100644 src/style/theme/dark.scss diff --git a/package.json b/package.json index c492312f..23daf694 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,12 @@ "cropperjs": "1.5.12", "crypto-js": "4.0.0", "echarts": "5.1.2", - "element-plus": "1.0.2-beta.54", + "element-plus": "1.0.2-beta.70", "nprogress": "0.2.0", "sortablejs": "1.13.0", "tinymce": "5.8.2", "vue": "3.1.4", + "vue-i18n": "9.1.7", "vue-router": "4.0.10", "vuedraggable": "4.0.3", "vuex": "4.0.2" @@ -31,8 +32,8 @@ "babel-eslint": "10.1.0", "eslint": "6.8.0", "eslint-plugin-vue": "7.12.1", - "less": "3.13.1", - "less-loader": "7.3.0" + "sass": "1.37.5", + "sass-loader": "10.1.1" }, "eslintConfig": { "root": true, diff --git a/public/index.html b/public/index.html index ebee01ee..29d0cdd9 100644 --- a/public/index.html +++ b/public/index.html @@ -15,6 +15,12 @@ We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue. +