duwendi преди 1 година
родител
ревизия
8c042911dd
променени са 3 файла, в които са добавени 3 реда и са изтрити 395 реда
  1. 1 394
      src/assets/css/element_ui.css
  2. 1 1
      src/pages/index/components/berth_list.vue
  3. 1 0
      src/pages/index/index.js

+ 1 - 394
src/assets/css/element_ui.css

@@ -1,396 +1,3 @@
1
-/* 重置下拉框样式 */
2
-.el-form {
3
-  margin-left: 20px;
4
-}
5
-
6
-.el-form .el-form-item {
7
-  margin-bottom: 0px;
8
-}
9
-
10
-
11
-.el-select-dropdown__item.hover,
12
-.el-select-dropdown__item:hover {
13
-  background-color: #515354;
14
-}
15
-
16
-.el-select-dropdown {
17
-  background-color: #2D3744;
18
-  border: 1px solid #535557;
19
-}
20
-
21
-.el-select-dropdown__item {
22
-  color: #fff;
23
-  border-bottom: 1px solid #535557;
24
-}
25
-
26
-.el-select-dropdown__item:last-child {
27
-  border-bottom: none;
28
-}
29
-
30
-.el-popper[x-placement^="bottom"] {
31
-  margin-top: 0px;
32
-}
33
-
34
-.el-popper[x-placement^="bottom"] .popper__arrow::after {
35
-  border-bottom-color: #19446E;
36
-}
37
-
38
-/* 重置种植动态搜索区域 */
39
-.el-form {
40
-  height: 30px;
41
-}
42
-
43
-.el-form .el-form-item__content {
44
-  line-height: 30px;
45
-}
46
-
47
-
48
-
49
-
50
-.el-input-group>.el-input__inner {
51
-  position: relative;
52
-  /*width: 220px;*/
53
-  height: 40px;
54
-  font-size: 14px;
55
-  padding: 0px 6px;
56
-  background-color: transparent;
57
-  color: #ffffff;
58
-  border: 1px solid #333;
59
-  border-radius: 4px;
60
-}
61
-
62
-.el-select .el-input__inner {
63
-  cursor: pointer;
64
-  padding-right: 35px;
65
-  width: 100%;
66
-  height: 30px;
67
-  font-size: 14px;
68
-  padding: 0px 6px;
69
-  /*background-color: #041841;*/
70
-  /*color: #92CCFA;*/
71
-  /*border: 1px solid #19446E;*/
72
-}
73
-
74
-.el-select .el-input__inner:focus {
75
-  border-color: #19446E !important;
76
-}
77
-
78
-.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
79
-  background: #2a2a2a;
80
-}
81
-
82
-.el-button--text {
83
-  color: #bbc2d0;
84
-}
85
-
86
-.el-select-dropdown__item.selected {
87
-  color: #fff;
88
-  font-weight: 700;
89
-}
90
-
91
-.el-input__suffix .el-input__suffix-inner {
92
-  display: flex;
93
-  align-items: center;
94
-}
95
-
96
-.el-select:hover .el-input__inner {
97
-  border-color: #19446E;
98
-}
99
-
100
-/*.el-select-dropdown__item {*/
101
-/*  color: #92CCFA;*/
102
-/*}*/
103
-
104
-/*.el-icon-arrow-up:before {*/
105
-/*  color: #92CCFA;*/
106
-/*}*/
107
-
108
-.el-popper[x-placement^=bottom] .popper__arrow {
109
-  display: none;
110
-}
111
-
112
-.el-popper[x-placement^="bottom"] {
113
-  margin-top: 3px;
114
-}
115
-
116
-.el-input-group__append {
117
-  background: #1b222c;
118
-  color: #a9b1bc;
119
-  border: 1px solid #333;
120
-}
121
-
122
-.el-button {
123
-  height: 30px;
124
-  padding: 0px 10px;
125
-}
126
-
127
-/* 重置列表翻页按钮 */
128
-.el-pagination.is-background .btn-prev,
129
-.el-pagination.is-background .btn-next {
130
-  background-color: transparent;
131
-  width: 35px;
132
-  height: 20px;
133
-  color: #00ccff;
134
-  border: 1px solid #00ccff;
135
-  border-radius: 4px;
136
-}
137
-
138
-.el-pagination.is-background .btn-prev:active,
139
-.el-pagination.is-background .btn-prev:hover,
140
-.el-pagination.is-background .btn-next:active,
141
-.el-pagination.is-background .btn-next:hover {
142
-  background-color: #00ccff;
143
-  color: #fff;
144
-}
145
-
146
-/* 表格公共样式 */
147
-.el-table--mini th {
148
-  padding: 1px 0;
149
-}
150
-
151
-.el-table__fixed-right::before, .el-table__fixed::before {
152
-  height:0;
153
-}
154
-
155
-.el-table {
156
-  color: #bbc2d0 !important;
157
-  font-size: 14px !important;
158
-  background: rgb(42, 42, 42);
159
-  border-color: rgb(51, 51, 51);
160
-}
161
-
162
-.el-table__body-wrapper::-webkit-scrollbar {
163
-  width: 3px;
164
-  height: 4px;
165
-}
166
-
167
-.el-table__body-wrapper::-webkit-scrollbar-thumb {
168
-  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
169
-  width: 3px;
170
-  height: 4px;
171
-  background: #09f;
172
-  border-radius: 2px;
173
-}
174
-
175
-
176
-.el-table__body-wrapper::-webkit-scrollbar-track {
177
-  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
178
-  height: 4px;
179
-  background: rgb(5, 9, 24);
180
-}
181
-
182
-
183
-.el-table thead {
184
-  color: #bbc2d0;
185
-}
186
-.el-table th.el-table__cell {
187
-  background: #333;
188
-}
189
-.el-pagination__total {
190
-  color: #a9a9aa;
191
-}
192
-.el-pager li{
193
-    background: transparent;
194
-    color: #a9a9aa;
195
-}
196
-.el-pagination .btn-next, .el-pagination .btn-prev {
197
-  background: center center no-repeat transparent;
198
-}
199
-.el-pagination button:disabled {
200
-  background: transparent;
201
-}
202
-
203
-.el-table td,
204
-.el-table th.is-leaf {
205
-  border: #333;
206
-}
207
-
208
-.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf {
209
-  border-bottom: 1px solid #333;
210
-}
211
-
212
-.el-table th,
213
-.el-table tr {
214
-  background: rgba(27, 34, 44, 1);
215
-}
216
-
217
-.el-table--mini td,
218
-.el-table--mini th {
219
-  padding: 1px 0;
220
-}
221
-
222
-.el-table__body tr.current-row>td {
223
-  background-color: #082030;
224
-}
225
-
226
-.el-table--enable-row-hover .el-table__body tr:hover>td {
227
-  background-color: #082030;
228
-}
229
-
230
-.el-table::before {
231
-  height: 1px;
232
-}
233
-
234
-.el-table--border::after,
235
-.el-table--group::after,
236
-.el-table::before {
237
-  background-color: #09131a;
238
-}
239
-
240
-.el-table .line-row {
241
-  height: 36px;
242
-  background-color: rgba(0, 0, 0, 0) !important;
243
-  background-size: 100% 100%;
244
-}
245
-
246
-.el-table .dark-row {
247
-  background-color: rgba(0, 0, 0, 0) !important;
248
-}
249
-
250
-.el-table__fixed {
251
-  background-color: #0f1027;
252
-  height: 103%!important;
253
-}
254
-
255
-/* 走马灯公共样式 */
256
-
257
-.swiper-container-horizontal>.slider-pagination-bullets {
258
-  bottom: 0px !important;
259
-  left: 0;
260
-  width: 100%;
261
-  background-color: rgba(0, 0, 0, 0.6);
1
+.el-pagination {
262 2
   text-align: right;
263 3
 }
264
-
265
-.swiper-container-horizontal .slider-pagination-bullet-active {
266
-  background: #fff !important;
267
-}
268
-
269
-.swiper-container-horizontal .slider-pagination-bullet {
270
-  background: #BEBEBE !important;
271
-}
272
-
273
-/* 日期选择公共样式 */
274
-.el-input--mini .el-input__icon {
275
-  line-height: 25px;
276
-}
277
-
278
-.el-input__icon {
279
-  width: 12px;
280
-}
281
-
282
-.el-input--prefix .el-input__inner {
283
-  padding-left: 20px;
284
-}
285
-
286
-.el-input--suffix .el-input__inner {
287
-  padding-right: 5px;
288
-}
289
-
290
-cur-select {
291
-  background: #ccc;
292
-}
293
-
294
-/*.el-date-editor.el-input,*/
295
-/*.el-date-editor.el-input__inner {*/
296
-/*  width: 90px;*/
297
-/*}*/
298
-
299
-.el-date-editor .el-range-input {
300
-  background: transparent;
301
-  color: #fff;
302
-}
303
-
304
-.el-picker-panel {
305
-  color: #fff;
306
-  /*border: 1px solid #09f;*/
307
-  background: #2d3744;
308
-  margin: 5px 0;
309
-}
310
-
311
-.el-form-item__label {
312
-  color: #bbc2d0;
313
-}
314
-
315
-.el-date-table td.in-range div, .el-date-table td.in-range div:hover, .el-date-table.is-week-mode .el-date-table__row.current div, .el-date-table.is-week-mode .el-date-table__row:hover div {
316
-  background: #747272;
317
-}
318
-
319
-.el-input--mini .el-input__inner {
320
-  height: 25px;
321
-  line-height: 25px;
322
-}
323
-
324
-.el-input__icon {
325
-  line-height: 25px;
326
-}
327
-
328
-.el-input__inner {
329
-  /*background-color: #060042;*/
330
-  /*border: 1px solid #09f;*/
331
-  color: #fff;
332
-}
333
-
334
-.el-input__inner:hover {
335
-  border-color: white;
336
-}
337
-
338
-.el-radio-button__inner {
339
-  background-color: rgba(255, 255, 255, 0);
340
-  border: 1px solid #fff;
341
-  color: #fff;
342
-  border-radius: 0 8px 8px 0;
343
-  padding: 9px 12px;
344
-}
345
-
346
-/* progress进度条样式重置 */
347
-.el-progress {
348
-  width: 80%;
349
-
350
-}
351
-
352
-.el-progress-bar__outer {
353
-  background-color: transparent;
354
-}
355
-
356
-.el-progress__text {
357
-  color: #09f;
358
-}
359
-
360
-/* .el-progress-bar__inner {
361
-  background-image: linear-gradient(to right, #0001fe, #0093fc);
362
-} */
363
-
364
-/* .progress1 .el-progress-bar__inner {
365
-  background-image: linear-gradient(to right, #eb5a48, #bd4bdc);
366
-}
367
-
368
-.progress2 .el-progress-bar__inner {
369
-  background-image: linear-gradient(to right, #f9bd01, #ff6962);
370
-}
371
-
372
-.progress3 .el-progress-bar__inner {
373
-  background-image: linear-gradient(to right, #00fb6a, #009dfa);
374
-} */
375
-.datePickerLight {
376
-  color: #606266 !important;
377
-  border: 1px solid #E4E7ED !important;
378
-  box-shadow: 0 2px 12px 0 rgba(0,0,0,.1) !important;
379
-  background: #FFF !important;
380
-}
381
-.el-dropdown-menu {
382
-  width: 300px !important;
383
-  background-color: rgb(2, 4, 50) !important;
384
-  border: 1px solid rgb(2, 4, 50) !important;
385
-}
386
-.el-dropdown-menu__item:focus,
387
-.el-dropdown-menu__item:not(.is-disabled):hover {
388
-  background-color: rgb(12, 24, 94) !important;
389
-  color: #66b1ff;
390
-}
391
-.el-dropdown-menu__item {
392
-  color: #fff !important;
393
-}
394
-.el-tabs__item {
395
-  color: #bbc2d0
396
-}

+ 1 - 1
src/pages/index/components/berth_list.vue

@@ -10,7 +10,7 @@
10 10
         </el-form-item>
11 11
         </el-form>
12 12
         <br>
13
-        <el-table :data="tableData" style="background: #F0FFFF;border-color: #333;">
13
+        <el-table :data="tableData">
14 14
           <el-table-column v-for="(item, index) in columns" :key="index" :label="item.label" :prop="item.key">
15 15
           </el-table-column>
16 16
         </el-table>

+ 1 - 0
src/pages/index/index.js

@@ -2,6 +2,7 @@ import Vue from 'vue'
2 2
 import ElementUI from "element-ui"
3 3
 import "element-ui/lib/theme-chalk/index.css"
4 4
 import "../../assets/css/global.css"
5
+import "../../assets/css/element_ui.css"
5 6
 import mixins from '../../mixins'
6 7
 import index from './index.vue'
7 8
 import router from "../../router/index"