2023-12-16 18:10:04 +08:00
|
|
|
<template>
|
|
|
|
|
<div id="app">
|
|
|
|
|
<router-view></router-view>
|
2023-12-25 13:25:16 +08:00
|
|
|
</div>
|
2023-12-16 18:10:04 +08:00
|
|
|
</template>
|
|
|
|
|
<script>
|
2024-08-23 08:54:51 +08:00
|
|
|
import autofit from 'autofit.js'
|
2023-12-25 13:25:16 +08:00
|
|
|
export default {
|
|
|
|
|
name: 'app',
|
|
|
|
|
created() {
|
2024-03-07 09:19:00 +08:00
|
|
|
// console.log(this.$route)
|
|
|
|
|
// localStorage.setItem('token', this.$route.query.token)
|
2024-08-23 08:54:51 +08:00
|
|
|
var link =
|
|
|
|
|
document.querySelector("link[rel*='icon']") ||
|
|
|
|
|
document.createElement('link')
|
|
|
|
|
link.type = 'image/x-icon'
|
|
|
|
|
link.rel = 'shortcut icon'
|
|
|
|
|
link.href = require('./assets/img/myImage/logo.png')
|
|
|
|
|
document.getElementsByTagName('head')[0].appendChild(link)
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
autofit.init({
|
|
|
|
|
designHeight: 1080, //高度
|
|
|
|
|
designWidth: 1920, //宽度
|
|
|
|
|
renderDom: '#app',
|
|
|
|
|
resize: true,
|
|
|
|
|
})
|
2023-12-25 13:25:16 +08:00
|
|
|
},
|
|
|
|
|
}
|
2023-12-16 18:10:04 +08:00
|
|
|
</script>
|
|
|
|
|
<style lang="less">
|
2024-04-26 17:34:08 +08:00
|
|
|
.el-dialog {
|
|
|
|
|
// 背景色透明
|
2024-05-13 12:06:42 +08:00
|
|
|
background: rgba(0, 0, 0, 0.5) !important;
|
|
|
|
|
background-image: url('./assets/img/dialog/window.png') !important;
|
|
|
|
|
background-size: 100% 100% !important;
|
|
|
|
|
background-repeat: no-repeat !important;
|
2024-04-26 17:34:08 +08:00
|
|
|
.el-dialog__headerbtn {
|
|
|
|
|
width: 83px;
|
|
|
|
|
height: 44px;
|
2024-05-13 12:06:42 +08:00
|
|
|
background-image: url('./assets/img/dialog/icon_close.png') !important;
|
2024-04-26 17:34:08 +08:00
|
|
|
background-size: cover;
|
|
|
|
|
// 去除原来的 x 按钮
|
|
|
|
|
.el-dialog__close {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.el-form-item__label {
|
2024-05-13 12:06:42 +08:00
|
|
|
color: #fff !important;
|
2024-04-26 17:34:08 +08:00
|
|
|
}
|
2024-04-28 14:08:42 +08:00
|
|
|
|
|
|
|
|
.el-table th {
|
|
|
|
|
// #253855 #30619B 背景色从上到下渐变
|
2024-08-23 08:54:51 +08:00
|
|
|
background: linear-gradient(to bottom, #2b313d, #3267a7) !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
color: #fff !important;
|
2024-08-23 08:54:51 +08:00
|
|
|
border-bottom: 1px solid #84fcfd !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-table tr {
|
2024-05-13 12:06:42 +08:00
|
|
|
background-color: #335684 !important;
|
|
|
|
|
color: #fff !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-table--striped .el-table__body tr.el-table__row--striped td {
|
2024-08-23 08:54:51 +08:00
|
|
|
background-color: #25447d !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
color: #fff !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
2024-08-23 08:54:51 +08:00
|
|
|
.el-table td,
|
|
|
|
|
.building-top .el-table th.is-leaf {
|
|
|
|
|
border-bottom: 1px solid #6983a5 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
2024-08-23 08:54:51 +08:00
|
|
|
.el-table::before {
|
|
|
|
|
border-bottom: 1px solid #6983a5 !important;
|
|
|
|
|
background-color: #6983a5 !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
height: 1px !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
2024-08-23 08:54:51 +08:00
|
|
|
.el-table--enable-row-hover .el-table__body tr:hover > td {
|
|
|
|
|
background-color: #6983a5 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-pagination__total {
|
2024-08-23 08:54:51 +08:00
|
|
|
color: #e1e3e6 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-pagination__jump {
|
2024-08-23 08:54:51 +08:00
|
|
|
color: #e1e3e6 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-input__inner {
|
2024-05-13 12:06:42 +08:00
|
|
|
background-color: transparent !important;
|
2024-08-23 08:54:51 +08:00
|
|
|
border: 1px solid #77e2e7 !important;
|
|
|
|
|
color: #e1e3e6 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-pagination__sizes .el-input .el-input__inner {
|
2024-08-23 08:54:51 +08:00
|
|
|
color: #e3e4e7 !important;
|
|
|
|
|
border: 1px solid #e3e4e7 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-pagination__editor.el-input .el-input__inner {
|
2024-08-23 08:54:51 +08:00
|
|
|
color: #e3e4e7 !important;
|
|
|
|
|
border: 1px solid #e3e4e7 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
2024-08-23 08:54:51 +08:00
|
|
|
.el-pagination.is-background .btn-prev,
|
|
|
|
|
.el-pagination.is-background .el-pager li {
|
|
|
|
|
color: #e3e4e7 !important;
|
|
|
|
|
border: 1px solid #e3e4e7 !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
background-color: transparent !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-pagination.is-background .btn-next {
|
2024-08-23 08:54:51 +08:00
|
|
|
color: #e3e4e7 !important;
|
|
|
|
|
border: 1px solid #e3e4e7 !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
background-color: transparent !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-pagination.is-background .el-pager li:not(.disabled).active {
|
2024-08-23 08:54:51 +08:00
|
|
|
background-color: #98f4fb !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
color: #000 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-button--primary {
|
2024-08-23 08:54:51 +08:00
|
|
|
background-color: #84fcfd !important;
|
|
|
|
|
border: #84fcfd !important;
|
2024-05-13 12:06:42 +08:00
|
|
|
color: #285050 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-button--default {
|
2024-05-13 12:06:42 +08:00
|
|
|
background-color: transparent !important;
|
2024-08-23 08:54:51 +08:00
|
|
|
border: 1px solid #84fcfd !important;
|
|
|
|
|
color: #d5d6da !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
.el-table__empty-block {
|
2024-05-13 12:06:42 +08:00
|
|
|
background-color: #335684 !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
.el-table__empty-text {
|
2024-08-23 08:54:51 +08:00
|
|
|
color: #d5d6da !important;
|
2024-04-28 14:08:42 +08:00
|
|
|
}
|
|
|
|
|
}
|
2024-04-26 17:34:08 +08:00
|
|
|
}
|
2023-12-16 18:10:04 +08:00
|
|
|
</style>
|