devicesmgt/sgzb-screen/src/App.vue

118 lines
3.3 KiB
Vue
Raw Normal View History

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>
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)
2023-12-25 13:25:16 +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);
2024-03-07 09:19:00 +08:00
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-05-13 12:06:42 +08:00
background: linear-gradient(to bottom, #2B313D, #3267A7) !important;
color: #fff !important;
2024-04-28 14:08:42 +08:00
border-bottom: 1px solid #84FCFD !important;
}
.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-05-13 12:06:42 +08:00
background-color: #25447D !important;
color: #fff !important;
2024-04-28 14:08:42 +08:00
}
.el-table td,.building-top .el-table th.is-leaf {
2024-05-13 12:06:42 +08:00
border-bottom: 1px solid #6983A5 !important;
2024-04-28 14:08:42 +08:00
}
.el-table::before{
2024-05-13 12:06:42 +08:00
border-bottom: 1px solid #6983A5 !important;
background-color: #6983A5 !important;
height: 1px !important;
2024-04-28 14:08:42 +08:00
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
2024-05-13 12:06:42 +08:00
background-color: #6983A5 !important;
2024-04-28 14:08:42 +08:00
}
.el-pagination__total {
2024-05-13 12:06:42 +08:00
color: #E1E3E6 !important;
2024-04-28 14:08:42 +08:00
}
.el-pagination__jump {
2024-05-13 12:06:42 +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;
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-05-13 12:06:42 +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-05-13 12:06:42 +08:00
color: #E3E4E7 !important;
border: 1px solid #E3E4E7 !important;
2024-04-28 14:08:42 +08:00
}
.el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li {
2024-05-13 12:06:42 +08:00
color: #E3E4E7 !important;
border: 1px solid #E3E4E7 !important;
background-color: transparent !important;
2024-04-28 14:08:42 +08:00
}
.el-pagination.is-background .btn-next {
2024-05-13 12:06:42 +08:00
color: #E3E4E7 !important;
border: 1px solid #E3E4E7 !important;
background-color: transparent !important;
2024-04-28 14:08:42 +08:00
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
2024-05-13 12:06:42 +08:00
background-color: #98F4FB !important;
color: #000 !important;
2024-04-28 14:08:42 +08:00
}
.el-button--primary {
2024-05-13 12:06:42 +08:00
background-color: #84FCFD !important;
border: #84FCFD !important;
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;
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-05-13 12:06:42 +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>