优化主题切换按钮下移问题、优化tabs被footer遮挡问题
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
"html-webpack-plugin": "3.2.0",
|
"html-webpack-plugin": "3.2.0",
|
||||||
"husky": "1.3.1",
|
"husky": "1.3.1",
|
||||||
"lint-staged": "8.1.5",
|
"lint-staged": "8.1.5",
|
||||||
"node-sass": "^4.13.0",
|
"node-sass": "^4.13.1",
|
||||||
"plop": "2.3.0",
|
"plop": "2.3.0",
|
||||||
"runjs": "^4.3.2",
|
"runjs": "^4.3.2",
|
||||||
"sass-loader": "^7.1.0",
|
"sass-loader": "^7.1.0",
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
height: 30.5px;
|
height: 30.5px !important;
|
||||||
width: 223px !important;
|
width: 223px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -101,3 +101,8 @@
|
|||||||
font-family: Courier New, serif;
|
font-family: Courier New, serif;
|
||||||
font-size: 12px
|
font-size: 12px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-tabs{
|
||||||
|
padding-left: 8px;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
}
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.crud-opts {
|
.crud-opts {
|
||||||
padding: 6px 0;
|
padding: 4px 0;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="Element-UI Icons">
|
<el-tab-pane label="Element-UI Icons">
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
@@ -69,7 +69,7 @@ export default {
|
|||||||
.icons-container {
|
.icons-container {
|
||||||
margin: 10px 20px 0;
|
margin: 10px 20px 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ export default {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-image:url(https://api.isoyu.com/bing_images.php);
|
background-image:url(http://api.neweb.top/bing.php?type=rand);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
.title {
|
.title {
|
||||||
|
|||||||
@@ -97,7 +97,9 @@ export default {
|
|||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
crud.crudMethod.edit(data).then(() => {
|
crud.crudMethod.edit(data).then(() => {
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
crud.notify(this.dict.label.job_status[val] + '成功', 'success')
|
crud.notify(this.dict.label.job_status[val] + '成功', 'success')
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
data.enabled = !data.enabled
|
data.enabled = !data.enabled
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-tabs v-model="activeName" style="padding-left: 8px;" @tab-click="tabClick">
|
<el-tabs v-model="activeName" @tab-click="tabClick">
|
||||||
<el-tab-pane label="本地存储" name="first">
|
<el-tab-pane label="本地存储" name="first">
|
||||||
<Local ref="local" />
|
<Local ref="local" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|||||||
Reference in New Issue
Block a user