zhangzengfei
2022-10-11 ba2c435355a217ad20e41be3d30eb7ab3eef49ba
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
198
199
200
201
202
203
204
205
206
207
<template>
  <div id="app" class="colorNormal">
    <router-view></router-view>
  </div>
</template>
 
<script>
export default {};
</script>
 
<style lang="scss" >
@import "./assets/css/common.css";
 
* {
  margin: 0;
  padding: 0;
}
 
html,
body {
  height: 100%;
  min-width: 1280px;
}
 
#app {
  position: relative;
  min-height: 100%;
}
 
html {
  font-family: PingFang SC;
}
 
ul,
li {
  list-style: none;
  padding: 0px;
  margin: 0px;
}
 
.iconfont,
img {
  user-select: none;
}
 
a {
  text-decoration: none;
  color: inherit;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  border-bottom: none;
  display: block;
}
 
.el-input {
  .el-input__inner {
    width: 100%;
    color: #3d3d3d;
    border-radius: 0;
    border-color: #c0c5cc;
    &::-webkit-input-placeholder {
      color: #999999;
    }
 
    &:focus {
      border-color: #0065ff;
    }
  }
}
 
.el-select {
  width: 100%;
 
  input.el-input__inner:focus {
    border-color: #0065ff;
  }
 
  .el-input.is-focus input.el-input__inner {
    border-color: #0065ff;
  }
 
  input {
    border-radius: 0;
    height: 32px;
  }
}
 
.el-textarea {
  textarea {
    border: 1px solid #c0c5cc;
    border-radius: 0;
 
    &:focus {
      border-color: #0065ff;
    }
  }
}
 
.h32 {
  height: 32px;
  line-height: 32px;
 
  input {
    height: 32px;
  }
 
  .el-icon-arrow-up {
    line-height: 32px;
  }
 
  .el-icon-arrow-up {
    height: 32px;
  }
}
 
.scroll {
  overflow-y: auto;
  /*滚动条宽 长,滚动条整体部分,其中的属性有width,height,background,border等。*/
 
  &::-webkit-scrollbar {
    width: 6px;
  }
 
  /*滚动条的滑轨背景颜色,可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果。*/
 
  &::-webkit-scrollbar-track {
    display: none;
  }
 
  /* 滑块颜色 */
 
  &::-webkit-scrollbar-thumb {
    background-color: #e9ebee;
 
    border-radius: 3px;
  }
 
  /*滚动条两端的按钮。可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果。*/
 
  &::-webkit-scrollbar-button {
    display: none;
  }
 
  /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
 
  &::-webkit-scrollbar-corner {
    background-color: black;
  }
}
 
.limitRow2 {
  word-wrap: break-word;
  // 只要超过宽度就换行,不论中文还是英文
  word-break: break-all;
  // 让文本只能展示两行
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
.gutter {
  background-color: rgb(233, 235, 238);
  padding: 1px;
 
  &::after {
    display: none;
  }
 
  td.index .cell {
    padding-left: 16px;
    padding-right: 4px;
  }
 
  .has-gutter tr th {
    background: #f0f3f5;
    font-size: 16px;
    color: #3d3d3d;
    font-weight: 700;
  }
 
  td .cell {
    color: #3d3d3d;
  }
 
  tr:hover > td.el-table__cell {
    background-color: #fff;
  }
 
  .el-table__row--striped .el-table__cell {
    background-color: #f0f5fa !important;
  }
  tr:hover > td.el-table__cell {
    background-color: #fff;
  }
 
  .el-table__row--striped .el-table__cell {
    background-color: #f0f5fa !important;
  }
}
</style>