|
|
@ -59,7 +59,7 @@
|
|
|
|
:style="{ width: widthLeftForToolsHideButton + 'px' }"
|
|
|
|
:style="{ width: widthLeftForToolsHideButton + 'px' }"
|
|
|
|
@click="toolIsShow = !toolIsShow"
|
|
|
|
@click="toolIsShow = !toolIsShow"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="el-icon-arrow-right" />
|
|
|
|
<i class="el-icon-arrow-right"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
<div
|
|
|
@ -94,49 +94,80 @@
|
|
|
|
content="导入"
|
|
|
|
content="导入"
|
|
|
|
placement="bottom"
|
|
|
|
placement="bottom"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="iconfont iconyulan" @click="importDashboard"></i>
|
|
|
|
|
|
|
|
</el-tooltip>
|
|
|
|
<el-upload class="el-upload"
|
|
|
|
</span>
|
|
|
|
ref="upload"
|
|
|
|
<span class="btn">
|
|
|
|
:action="uploadUrl"
|
|
|
|
<el-tooltip
|
|
|
|
:headers="headers"
|
|
|
|
class="item"
|
|
|
|
accept=".zip"
|
|
|
|
effect="dark"
|
|
|
|
:on-success="handleUpload"
|
|
|
|
content="导出"
|
|
|
|
:on-error="handleError"
|
|
|
|
placement="bottom"
|
|
|
|
:show-file-list="false"
|
|
|
|
>
|
|
|
|
:limit="1">
|
|
|
|
<i class="iconfont iconyulan" @click="exportDashboard"></i>
|
|
|
|
<i class="iconfont iconxiazai"></i>
|
|
|
|
|
|
|
|
</el-upload>
|
|
|
|
</el-tooltip>
|
|
|
|
</el-tooltip>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<!-- <span class="btn border-left">
|
|
|
|
<span class="btn border-left">
|
|
|
|
<ul class="nav">
|
|
|
|
<ul class="nav">
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<i class="el-icon-brush"></i><i class="el-icon-arrow-down"></i>
|
|
|
|
<i class="iconfont iconfenxiang_2"></i><i class="el-icon-arrow-down"></i>
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<div>
|
|
|
|
<el-tooltip
|
|
|
|
<i class="el-icon-full-screen mr10"></i>边框
|
|
|
|
class="item"
|
|
|
|
<i class="el-icon-arrow-right ml20"></i>
|
|
|
|
effect="dark"
|
|
|
|
</div>
|
|
|
|
content="适合当前系统"
|
|
|
|
<ul class="three-level">
|
|
|
|
placement="right"
|
|
|
|
<li><a href="#">边框1</a></li>
|
|
|
|
>
|
|
|
|
<li><a href="#">边框2</a></li>
|
|
|
|
<div @click="exportDashboard(1)">导出(包含数据集)</div>
|
|
|
|
<li><a href="#">边框3</a></li>
|
|
|
|
</el-tooltip>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<div>
|
|
|
|
<el-tooltip
|
|
|
|
<i class="el-icon-magic-stick mr10"></i>装饰<i
|
|
|
|
class="item"
|
|
|
|
class="el-icon-arrow-right ml20"
|
|
|
|
effect="dark"
|
|
|
|
></i>
|
|
|
|
content="适合跨系统"
|
|
|
|
</div>
|
|
|
|
placement="right"
|
|
|
|
<ul class="three-level">
|
|
|
|
>
|
|
|
|
<li><a href="#">装饰1</a></li>
|
|
|
|
<div @click="exportDashboard(0)">导出(不包含数据集)</div>
|
|
|
|
</ul>
|
|
|
|
</el-tooltip>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</span> -->
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<!-- <span class="btn border-left">
|
|
|
|
|
|
|
|
<ul class="nav">
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<i class="el-icon-brush"></i><i class="el-icon-arrow-down"></i>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<i class="el-icon-full-screen mr10"></i>边框
|
|
|
|
|
|
|
|
<i class="el-icon-arrow-right ml20"></i>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="three-level">
|
|
|
|
|
|
|
|
<li><a href="#">边框1</a></li>
|
|
|
|
|
|
|
|
<li><a href="#">边框2</a></li>
|
|
|
|
|
|
|
|
<li><a href="#">边框3</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<i class="el-icon-magic-stick mr10"></i>装饰<i
|
|
|
|
|
|
|
|
class="el-icon-arrow-right ml20"
|
|
|
|
|
|
|
|
></i>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="three-level">
|
|
|
|
|
|
|
|
<li><a href="#">装饰1</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</span>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="workbench-container"
|
|
|
|
class="workbench-container"
|
|
|
@ -246,13 +277,15 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { insertDashboard, detailDashboard, importDashboard, exportDashboard } from "@/api/bigscreen";
|
|
|
|
import {insertDashboard, detailDashboard, importDashboard, exportDashboard} from "@/api/bigscreen";
|
|
|
|
import { widgetTools, getToolByCode } from "./tools";
|
|
|
|
import {widgetTools, getToolByCode} from "./tools";
|
|
|
|
import widget from "./widget/widget.vue";
|
|
|
|
import widget from "./widget/widget.vue";
|
|
|
|
import dynamicForm from "./form/dynamicForm.vue";
|
|
|
|
import dynamicForm from "./form/dynamicForm.vue";
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
import VueRulerTool from "vue-ruler-tool"; // 大屏设计页面的标尺插件
|
|
|
|
import VueRulerTool from "vue-ruler-tool"; // 大屏设计页面的标尺插件
|
|
|
|
import contentMenu from "./form/contentMenu";
|
|
|
|
import contentMenu from "./form/contentMenu";
|
|
|
|
|
|
|
|
import {getToken} from "@/utils/auth";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Login",
|
|
|
|
name: "Login",
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -264,6 +297,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
uploadUrl: process.env.BASE_API + '/reportDashboard/import/' + this.$route.query.reportCode,
|
|
|
|
grade: false,
|
|
|
|
grade: false,
|
|
|
|
layerWidget: [],
|
|
|
|
layerWidget: [],
|
|
|
|
widgetTools: widgetTools, // 左侧工具栏的组件图标,将js变量加入到当前作用域
|
|
|
|
widgetTools: widgetTools, // 左侧工具栏的组件图标,将js变量加入到当前作用域
|
|
|
@ -330,6 +364,11 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
|
|
|
|
headers() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
Authorization: getToken(), // 直接从本地获取token就行
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
// 左侧折叠切换时,动态计算中间区的宽度
|
|
|
|
// 左侧折叠切换时,动态计算中间区的宽度
|
|
|
|
middleWidth() {
|
|
|
|
middleWidth() {
|
|
|
|
var widthLeftAndRight = 0;
|
|
|
|
var widthLeftAndRight = 0;
|
|
|
@ -402,7 +441,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async initEchartData() {
|
|
|
|
async initEchartData() {
|
|
|
|
const reportCode = this.$route.query.reportCode;
|
|
|
|
const reportCode = this.$route.query.reportCode;
|
|
|
|
const { code, data } = await detailDashboard(reportCode);
|
|
|
|
const {code, data} = await detailDashboard(reportCode);
|
|
|
|
if (code != 200) return;
|
|
|
|
if (code != 200) return;
|
|
|
|
const processData = this.handleInitEchartsData(data);
|
|
|
|
const processData = this.handleInitEchartsData(data);
|
|
|
|
const screenData = this.handleBigScreen(data.dashboard);
|
|
|
|
const screenData = this.handleBigScreen(data.dashboard);
|
|
|
@ -502,7 +541,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
widgets: this.widgets
|
|
|
|
widgets: this.widgets
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const { code, data } = await insertDashboard(screenData);
|
|
|
|
const {code, data} = await insertDashboard(screenData);
|
|
|
|
if (code == "200") {
|
|
|
|
if (code == "200") {
|
|
|
|
this.$message.success("保存成功!");
|
|
|
|
this.$message.success("保存成功!");
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -511,14 +550,19 @@ export default {
|
|
|
|
viewScreen() {
|
|
|
|
viewScreen() {
|
|
|
|
var routeUrl = this.$router.resolve({
|
|
|
|
var routeUrl = this.$router.resolve({
|
|
|
|
path: "/bigscreen/viewer",
|
|
|
|
path: "/bigscreen/viewer",
|
|
|
|
query: { reportCode: this.$route.query.reportCode }
|
|
|
|
query: {reportCode: this.$route.query.reportCode}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
window.open(routeUrl.href, "_blank");
|
|
|
|
window.open(routeUrl.href, "_blank");
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 导出
|
|
|
|
// 导出
|
|
|
|
async exportDashboard() {
|
|
|
|
async exportDashboard(val) {
|
|
|
|
const fileName = this.$route.query.reportCode + ".zip"
|
|
|
|
const fileName = this.$route.query.reportCode + ".zip"
|
|
|
|
exportDashboard(this.$route.query.reportCode).then(res=>{
|
|
|
|
|
|
|
|
|
|
|
|
const param = {
|
|
|
|
|
|
|
|
reportCode:this.$route.query.reportCode,
|
|
|
|
|
|
|
|
showDataSet:val
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
exportDashboard(param).then(res => {
|
|
|
|
const blob = new Blob([res], {type: "application/octet-stream"});
|
|
|
|
const blob = new Blob([res], {type: "application/octet-stream"});
|
|
|
|
if (window.navigator.msSaveOrOpenBlob) {//msSaveOrOpenBlob方法返回bool值
|
|
|
|
if (window.navigator.msSaveOrOpenBlob) {//msSaveOrOpenBlob方法返回bool值
|
|
|
|
navigator.msSaveBlob(blob, fileName);//本地保存
|
|
|
|
navigator.msSaveBlob(blob, fileName);//本地保存
|
|
|
@ -532,11 +576,24 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// 上传成功的回调
|
|
|
|
// 导入
|
|
|
|
handleUpload(response, file, fileList) {
|
|
|
|
importDashboard() {
|
|
|
|
//清除el-upload组件中的文件
|
|
|
|
alert("导入,开发中")
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
|
|
|
//刷新大屏页面
|
|
|
|
|
|
|
|
this.initEchartData();
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
|
|
|
message: '导入成功!',
|
|
|
|
|
|
|
|
type: 'success',
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
handleError() {
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
|
|
|
message: '上传失败!',
|
|
|
|
|
|
|
|
type: 'error',
|
|
|
|
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
// 在缩放模式下的大小
|
|
|
|
// 在缩放模式下的大小
|
|
|
|
getPXUnderScale(px) {
|
|
|
|
getPXUnderScale(px) {
|
|
|
|
return this.bigscreenScaleInWorkbench * px;
|
|
|
|
return this.bigscreenScaleInWorkbench * px;
|
|
|
@ -792,22 +849,28 @@ export default {
|
|
|
|
.mr10 {
|
|
|
|
.mr10 {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ml20 {
|
|
|
|
.ml20 {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.border-right {
|
|
|
|
.border-right {
|
|
|
|
border-right: 1px solid #273b4d;
|
|
|
|
border-right: 1px solid #273b4d;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.border-left {
|
|
|
|
.border-left {
|
|
|
|
border-left: 1px solid #273b4d;
|
|
|
|
border-left: 1px solid #273b4d;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.el-icon-arrow-down {
|
|
|
|
.el-icon-arrow-down {
|
|
|
|
font-size: 10px;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.is-active {
|
|
|
|
.is-active {
|
|
|
|
background: #31455d !important;
|
|
|
|
background: #31455d !important;
|
|
|
|
color: #bfcbd9 !important;
|
|
|
|
color: #bfcbd9 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.layout {
|
|
|
|
.layout {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: -ms-flexbox;
|
|
|
@ -817,6 +880,7 @@ export default {
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
.layout-left {
|
|
|
|
.layout-left {
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
@ -849,6 +913,7 @@ export default {
|
|
|
|
border: 1px solid #3a4659;
|
|
|
|
border: 1px solid #3a4659;
|
|
|
|
background: #282a30;
|
|
|
|
background: #282a30;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tools-item-text {
|
|
|
|
.tools-item-text {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -865,6 +930,7 @@ export default {
|
|
|
|
background-color: #242a30;
|
|
|
|
background-color: #242a30;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
padding-top: 26%;
|
|
|
|
padding-top: 26%;
|
|
|
|
|
|
|
|
|
|
|
|
i {
|
|
|
|
i {
|
|
|
|
font-size: 18px;
|
|
|
|
font-size: 18px;
|
|
|
|
width: 18px;
|
|
|
|
width: 18px;
|
|
|
@ -886,18 +952,21 @@ export default {
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
.top-button {
|
|
|
|
.top-button {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
height: 40px;
|
|
|
|
height: 40px;
|
|
|
|
line-height: 40px;
|
|
|
|
line-height: 40px;
|
|
|
|
margin-left: 9px;
|
|
|
|
margin-left: 9px;
|
|
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
.btn {
|
|
|
|
color: #788994;
|
|
|
|
color: #788994;
|
|
|
|
width: 55px;
|
|
|
|
width: 55px;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
.el-icon-arrow-down {
|
|
|
|
.el-icon-arrow-down {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
-ms-transform: rotate(0deg); /* IE 9 */
|
|
|
|
-ms-transform: rotate(0deg); /* IE 9 */
|
|
|
@ -906,8 +975,10 @@ export default {
|
|
|
|
-o-transform: rotate(0deg); /* Opera */
|
|
|
|
-o-transform: rotate(0deg); /* Opera */
|
|
|
|
transition: all 0.4s ease-in-out;
|
|
|
|
transition: all 0.4s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&:hover {
|
|
|
|
background: rgb(25, 29, 34);
|
|
|
|
background: rgb(25, 29, 34);
|
|
|
|
|
|
|
|
|
|
|
|
.el-icon-arrow-down {
|
|
|
|
.el-icon-arrow-down {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
transform: rotate(180deg);
|
|
|
|
-ms-transform: rotate(180deg); /* IE 9 */
|
|
|
|
-ms-transform: rotate(180deg); /* IE 9 */
|
|
|
@ -919,6 +990,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.workbench-container {
|
|
|
|
.workbench-container {
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
-webkit-transform-origin: 0 0;
|
|
|
|
-webkit-transform-origin: 0 0;
|
|
|
@ -927,10 +999,12 @@ export default {
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
.vueRuler {
|
|
|
|
.vueRuler {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
padding: 18px 0px 0px 18px;
|
|
|
|
padding: 18px 0px 0px 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.workbench {
|
|
|
|
.workbench {
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
@ -943,6 +1017,7 @@ export default {
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bg-grid {
|
|
|
|
.bg-grid {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
top: 0;
|
|
|
@ -953,11 +1028,12 @@ export default {
|
|
|
|
background-image: linear-gradient(
|
|
|
|
background-image: linear-gradient(
|
|
|
|
hsla(0, 0%, 100%, 0.1) 1px,
|
|
|
|
hsla(0, 0%, 100%, 0.1) 1px,
|
|
|
|
transparent 0
|
|
|
|
transparent 0
|
|
|
|
),
|
|
|
|
),
|
|
|
|
linear-gradient(90deg, hsla(0, 0%, 100%, 0.1) 1px, transparent 0);
|
|
|
|
linear-gradient(90deg, hsla(0, 0%, 100%, 0.1) 1px, transparent 0);
|
|
|
|
// z-index: 2;
|
|
|
|
// z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bottom-text {
|
|
|
|
.bottom-text {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
color: #a0a0a0;
|
|
|
|
color: #a0a0a0;
|
|
|
@ -972,36 +1048,43 @@ export default {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-tabs--border-card {
|
|
|
|
/deep/ .el-tabs--border-card {
|
|
|
|
border: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
|
|
|
|
.el-tabs__header {
|
|
|
|
.el-tabs__header {
|
|
|
|
.el-tabs__nav {
|
|
|
|
.el-tabs__nav {
|
|
|
|
.el-tabs__item {
|
|
|
|
.el-tabs__item {
|
|
|
|
background-color: #242f3b;
|
|
|
|
background-color: #242f3b;
|
|
|
|
border: 0px;
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.el-tabs__item.is-active {
|
|
|
|
.el-tabs__item.is-active {
|
|
|
|
background-color: #31455d;
|
|
|
|
background-color: #31455d;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.el-tabs__content {
|
|
|
|
.el-tabs__content {
|
|
|
|
background-color: #242a30;
|
|
|
|
background-color: #242a30;
|
|
|
|
height: calc(100vh - 39px);
|
|
|
|
height: calc(100vh - 39px);
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
|
|
|
|
.el-tab-pane {
|
|
|
|
.el-tab-pane {
|
|
|
|
color: #bfcbd9;
|
|
|
|
color: #bfcbd9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 5px;
|
|
|
|
width: 5px;
|
|
|
|
height: 14px;
|
|
|
|
height: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track,
|
|
|
|
&::-webkit-scrollbar-track,
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 1px;
|
|
|
|
border-radius: 1px;
|
|
|
|
border: 0 solid transparent;
|
|
|
|
border: 0 solid transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track-piece {
|
|
|
|
&::-webkit-scrollbar-track-piece {
|
|
|
|
/*修改滚动条的背景和圆角*/
|
|
|
|
/*修改滚动条的背景和圆角*/
|
|
|
|
background: #29405c;
|
|
|
|
background: #29405c;
|
|
|
@ -1011,14 +1094,17 @@ export default {
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
box-shadow: 1px 1px 5px rgba(116, 148, 170, 0.5) inset;
|
|
|
|
box-shadow: 1px 1px 5px rgba(116, 148, 170, 0.5) inset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
min-height: 20px;
|
|
|
|
min-height: 20px;
|
|
|
|
background-clip: content-box;
|
|
|
|
background-clip: content-box;
|
|
|
|
box-shadow: 0 0 0 5px rgba(116, 148, 170, 0.5) inset;
|
|
|
|
box-shadow: 0 0 0 5px rgba(116, 148, 170, 0.5) inset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-corner {
|
|
|
|
&::-webkit-scrollbar-corner {
|
|
|
|
background: transparent;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*修改垂直滚动条的样式*/
|
|
|
|
/*修改垂直滚动条的样式*/
|
|
|
|
&::-webkit-scrollbar-thumb:vertical {
|
|
|
|
&::-webkit-scrollbar-thumb:vertical {
|
|
|
|
background-color: #00113a;
|
|
|
|
background-color: #00113a;
|
|
|
@ -1033,34 +1119,41 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ul,
|
|
|
|
li {
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
.nav {
|
|
|
|
width: 40px;
|
|
|
|
width: 40px;
|
|
|
|
padding: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
list-style: none;
|
|
|
|
/* overflow: hidden; */
|
|
|
|
/* overflow: hidden; */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
.nav {
|
|
|
|
zoom: 1;
|
|
|
|
zoom: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav:before,
|
|
|
|
.nav:before,
|
|
|
|
.nav:after {
|
|
|
|
.nav:after {
|
|
|
|
content: "";
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav:after {
|
|
|
|
.nav:after {
|
|
|
|
clear: both;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav li {
|
|
|
|
.nav li {
|
|
|
|
width: 55px;
|
|
|
|
width: 55px;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav li a {
|
|
|
|
.nav li a {
|
|
|
|
float: left;
|
|
|
|
float: left;
|
|
|
|
padding: 12px 30px;
|
|
|
|
padding: 12px 30px;
|
|
|
@ -1068,9 +1161,11 @@ li {
|
|
|
|
font: bold 12px;
|
|
|
|
font: bold 12px;
|
|
|
|
text-decoration: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav li:hover {
|
|
|
|
.nav li:hover {
|
|
|
|
color: #788994;
|
|
|
|
color: #788994;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav li ul {
|
|
|
|
.nav li ul {
|
|
|
|
visibility: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
@ -1085,14 +1180,17 @@ li {
|
|
|
|
width: 120px;
|
|
|
|
width: 120px;
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav li:hover > ul {
|
|
|
|
.nav li:hover > ul {
|
|
|
|
opacity: 1;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
visibility: visible;
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
li:hover {
|
|
|
|
li:hover {
|
|
|
|
background-color: rgb(25, 29, 34);
|
|
|
|
background-color: rgb(25, 29, 34);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav ul li {
|
|
|
|
.nav ul li {
|
|
|
|
float: left;
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
@ -1100,6 +1198,7 @@ li {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 12px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav ul a {
|
|
|
|
.nav ul a {
|
|
|
|
padding: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
@ -1110,12 +1209,15 @@ li {
|
|
|
|
background-color: rgb(25, 29, 34);
|
|
|
|
background-color: rgb(25, 29, 34);
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav ul a:hover {
|
|
|
|
.nav ul a:hover {
|
|
|
|
border: 1px solid #3c5e88;
|
|
|
|
border: 1px solid #3c5e88;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav ul li:first-child > a:hover:before {
|
|
|
|
.nav ul li:first-child > a:hover:before {
|
|
|
|
border-bottom-color: #04acec;
|
|
|
|
border-bottom-color: #04acec;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav ul ul {
|
|
|
|
.nav ul ul {
|
|
|
|
top: 0;
|
|
|
|
top: 0;
|
|
|
|
left: 120px;
|
|
|
|
left: 120px;
|
|
|
@ -1125,6 +1227,7 @@ li {
|
|
|
|
padding: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
_margin: 0;
|
|
|
|
_margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav ul ul li {
|
|
|
|
.nav ul ul li {
|
|
|
|
width: 120px;
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
height: 120px;
|
|
|
@ -1132,10 +1235,12 @@ li {
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/deep/.vue-ruler-h {
|
|
|
|
|
|
|
|
|
|
|
|
/deep/ .vue-ruler-h {
|
|
|
|
opacity: 0.3;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/deep/.vue-ruler-v {
|
|
|
|
|
|
|
|
|
|
|
|
/deep/ .vue-ruler-v {
|
|
|
|
opacity: 0.3;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|