feat:eslint格式 scss样式

This commit is contained in:
fit2cloud-chenyw 2021-03-08 12:29:11 +08:00
parent 8b71b94b6c
commit d16cd853ca
8 changed files with 19 additions and 14 deletions

View File

@ -41,9 +41,13 @@ export default {
type: Array,
default: () => []
},
// eslint-disable-next-line vue/require-default-prop
localKey: String, // Key
// eslint-disable-next-line vue/require-default-prop
header: String,
// eslint-disable-next-line vue/require-default-prop
searchConfig: Object,
// eslint-disable-next-line vue/require-default-prop
paginationConfig: Object
},
data() {

View File

@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1583752001956" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9290" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M891.8 320H608V39.2L891.8 320zM704 384v260c0 133.6-73 200.2-226.6 200.2H288V169.6h189.4c24 0 46.2 1.6 66.2 5v-168C521.8 2.2 498.8 0 474.4 0H96v1024h378.4C755.4 1024 896 894.8 896 636.2V384h-192z" fill="#707070" p-id="9291"></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1583752001956" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9290" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M891.8 320H608V39.2L891.8 320zM704 384v260c0 133.6-73 200.2-226.6 200.2H288V169.6h189.4c24 0 46.2 1.6 66.2 5v-168C521.8 2.2 498.8 0 474.4 0H96v1024h378.4C755.4 1024 896 894.8 896 636.2V384h-192z" p-id="9291"></path></svg>

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 598 B

View File

@ -21,7 +21,7 @@
<div class="right-menu">
<template>
<el-tooltip content="项目文档" effect="dark" placement="bottom">
<Doc class="right-menu-item hover-effect" />
<doc class="right-menu-item hover-effect" />
</el-tooltip>
<el-tooltip content="全屏缩放" effect="dark" placement="bottom">

View File

@ -59,7 +59,8 @@
padding: 10px 8px;
height: 100%;
font-size: 18px;
color: #5a5e66;
// color: #5a5e66;
color: $menuText;
vertical-align: text-bottom;
&.hover-effect {
@ -67,7 +68,7 @@
transition: background .3s;
&:hover {
background: rgba(0, 0, 0, .025)
background-color: rgba(0, 0, 0, .025)
}
}
}

View File

@ -26,7 +26,7 @@ $--font-path: "~element-ui/lib/theme-chalk/fonts";
@import "~fit2cloud-ui/src/styles/common/variables";
// sidebar
$menuText:#bfcbd9;
$menuText:rgba(255,255,255,0.87);
$menuActiveText:#409EFF;
$topMenuActiveText:#f4f4f5;
$subMenuActiveText:#f4f4f5; //https://github.com/ElemeFE/element/issues/12951

View File

@ -47,10 +47,10 @@ export default {
options: []
}
},
watch: {},
mounted() {
this.initDataSource()
},
watch: {},
methods: {
initDataSource() {
listDatasource().then(response => {

View File

@ -31,14 +31,14 @@
</el-table>
<el-row style="margin-top: 10px;text-align: right;">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[100, 200, 300, 400]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="1000">
</el-pagination>
:total="1000"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
</el-row>
</el-row>