王飞
2025-01-23 b108c63ceb09716fb04a62cc155a404b236b6794
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<template>
  <div id="app">
    <router-view />
  </div>
</template>
 
<script>
export default {
  name: 'App',
  lastpath: '',
  watch: {
    $route(to, from) {
      if (from.path != '/large' && from.path != '/') {
        // var  = ''
        if (to.path == '/large') {
          console.log(from.path);
          
          this.$router.push({ path: from.path })
          // '/dpdv'
          window.open( '/#/dpdv');
          // window.open('http://39.106.210.13:8084/#/large');
          // window.open('http://localhost:8084/#/large');
        } else {
 
          this.lastpath = to.fullPath
        }
      }
    }
  },
}
 
 
</script>
<style lang="scss">
 
.el-popover {
  // height: 200px;
  // overflow: auto;
  position: absolute;
  background: rgb(8, 17, 56) !important;
  min-width: 150px;
  border-radius: 4px;
  border: 0;
  padding: 12px;
  z-index: 2000;
  color: #606266;
  line-height: 1.4;
  text-align: justify;
  font-size: 14px;
  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  word-break: break-all;
  .el-table__body tr:hover>td {
  background-color: transparent !important;
}
}
 
//修改title颜色
.el-popover__title {
  display: flex;
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
  //   height: 90vh;           /* 容器高度 */
  color: white;
}
 
/* 鼠标悬浮后的设置 */
.monitor_left_bnt:hover {
  color: #ffffff;
  text-decoration: underline;
}
 
/* 鼠标悬浮后的设置 */
.standard_left_bnt:hover {
  color: #ffffff;
  text-decoration: underline;
}
 
.offline_left_bnt:hover {
  color: #ffffff;
  text-decoration: underline;
}
 
 
 
 
//修改下面的小三角,属性名根据组件的placement位置做相应修改
// .monitor-yt-popover .popper__arrow::after {
//   border-top-color: #090d29 !important;
// }
.dptable.el-table th.el-table__cell.is-leaf,
.dptable.el-table td.el-table__cell {
  border-bottom: 0;
}
 
/* 定义滚动容器的滚动条样式 */
.el-table__body-wrapper::-webkit-scrollbar {
 
  width: 5px;
  /* 定义滚动条的宽度 */
  height: 10px;
  /* 定义滚动条的高度 */
}
 
/* 定义滚动条滑块的样式 */
.el-table__body-wrapper::-webkit-scrollbar-thumb {
  background-color: #8e979b !important;
  /* 定义滑块的颜色 */
  border-radius: 5px;
  /* 定义滑块的圆角 */
}
 
 
//去除表头轨道
.el-table th.gutter {
  display: none !important;
  //   width: 100px !important;
}
 
.dptable.el-table {
  position: relative;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  max-width: 100%;
  background-color: rgb(8, 17, 56) !important;
  font-size: 14px;
  color: #B2C9EE;
}
 
.dptable.el-table th.el-table__cell {
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: rgb(8, 17, 56) !important;
}
 
// 头部样式
.dptable.el-table th {
  background-color: rgb(8, 17, 56);
  color: #fff;
}
 
// 表头边框
.dptable.el-table tr {
  background-color: transparent !important;
}
 
// 内容行样色
.dptable.el-table__row {
  background-color: rgb(14, 27, 71) !important;
  color: #B2C9EE;
}
 
/* // 去掉最下面的那一条线  */
.dptable.el-table::before {
  height: 0px;
}
// .logradio.el-radio__input {
//     white-space: nowrap;
//     cursor: pointer;
//     outline: none;
//     display: inline-block;
//     line-height: 1;
//     position: relative;
//     vertical-align: middle;
//     top: -5px;
//     width: 10px;
// }
// .el-radio__input {
//     white-space: nowrap;
//     cursor: pointer;
//     outline: none;
//     display: inline-block;
//     line-height: 1;
//     position: relative;
//     vertical-align: middle;
//     top: -5px;
//     width: 10px;
// }
#app {
 
  #app .sidebar-container .el-submenu .el-menu-item,
  #app .sidebar-container .nest-menu .el-submenu>.el-submenu__title {
    min-width: 210px !important;
    // background-color: #1f2d3d !important;
  }
}
</style>