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%" > - +