From 4db8e935d12c902a2118d6ff9f85657cc819caeb Mon Sep 17 00:00:00 2001 From: loveflow <5269966+loveflow@user.noreply.gitee.com> Date: Sun, 7 Jan 2024 19:31:07 +0800 Subject: [PATCH] update --- package.json | 8 ++- src/loveflow/assets/index.less | 52 +++++++++++--- src/loveflow/components/echart/line.vue | 71 +++++++++++++++++++ src/loveflow/components/modal/formDialog.vue | 14 ++-- .../mixins/tableList.global.mixins.js | 2 +- src/main.js | 4 ++ src/utils/request.js | 1 - .../enterpriseManage/recordManage/index.vue | 67 +++++++++++++++++ 8 files changed, 196 insertions(+), 23 deletions(-) create mode 100644 src/loveflow/components/echart/line.vue diff --git a/package.json b/package.json index 26cdb73..9245544 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "vue-template-compiler": "^2.6.11" }, "eslintConfig": { - "root": false, + "root": true, "env": { "node": true }, @@ -51,11 +51,13 @@ "parserOptions": { "parser": "babel-eslint" }, - "rules": {} + "rules": { + "no-unused-vars": "off" + } }, "browserslist": [ "> 1%", "last 2 versions", "not dead" ] -} +} \ No newline at end of file diff --git a/src/loveflow/assets/index.less b/src/loveflow/assets/index.less index 8ff17b6..52e0902 100644 --- a/src/loveflow/assets/index.less +++ b/src/loveflow/assets/index.less @@ -1,12 +1,42 @@ -.fontWeight { - font-weight: bold; -} -.textGreen { - color: green; -} -.textRed { - color: red; -} -.textBlue { - color: blue; +.loveflow { + /* 定位 START */ + .absolute { + position: absolute; + } + .relative { + position: relative; + } + .flex { + display: flex; + } + .flex-center { + display: flex; + justify-content: center; + align-items: center; + } + /* 定位 END */ + + /* 间距 START*/ + .mt6 { + margin-top: 6px; + } + .mr6 { + margin-right: 6px; + } + /* 间距 END*/ + + /* 字体 START */ + .fontWeight { + font-weight: bold; + } + .textGreen { + color: green; + } + .textRed { + color: red; + } + .textBlue { + color: blue; + } + /* 字体 END */ } diff --git a/src/loveflow/components/echart/line.vue b/src/loveflow/components/echart/line.vue new file mode 100644 index 0000000..31f1e55 --- /dev/null +++ b/src/loveflow/components/echart/line.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/src/loveflow/components/modal/formDialog.vue b/src/loveflow/components/modal/formDialog.vue index f4b1f00..c1de773 100644 --- a/src/loveflow/components/modal/formDialog.vue +++ b/src/loveflow/components/modal/formDialog.vue @@ -6,9 +6,9 @@ :before-close="handleClose" > - - + @@ -90,8 +90,8 @@ style="width: 100%" > - +