@hbisty/qj-common 5.1.3 → 5.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
Binary file
|
package/src/main.js
CHANGED
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
@mixin glass-panel {
|
|
2
|
+
background-color: rgba(255, 255, 255, .2);
|
|
3
|
+
backdrop-filter: blur(15px);
|
|
4
|
+
}
|
|
5
|
+
@mixin theme-bgcolor {
|
|
6
|
+
background-color: #3a7bfe !important;
|
|
7
|
+
}
|
|
8
|
+
@mixin theme-color {
|
|
9
|
+
color: #3a7bfe !important;
|
|
10
|
+
}
|
|
11
|
+
@mixin theme-border-color {
|
|
12
|
+
border-color: #3a7bfe;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.app-wrapper.typc{
|
|
16
|
+
background-size: cover;
|
|
17
|
+
background-position: center;
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
|
|
20
|
+
//左侧菜单栏
|
|
21
|
+
.el-menu-vertical-demo{
|
|
22
|
+
background-color: rgba(58, 123, 253, .1);
|
|
23
|
+
*{
|
|
24
|
+
background-color: transparent !important;
|
|
25
|
+
}
|
|
26
|
+
.el-menu-vertical{
|
|
27
|
+
.el-menu-item{
|
|
28
|
+
color: #3f3f3f;
|
|
29
|
+
a{
|
|
30
|
+
transition: all 0.15s;
|
|
31
|
+
}
|
|
32
|
+
&:hover{
|
|
33
|
+
color: #fff;
|
|
34
|
+
background-image: linear-gradient(to right, #7c99e3, #e9f0fc);
|
|
35
|
+
a{
|
|
36
|
+
color: #fff;
|
|
37
|
+
transform: scale(1.15)
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&.is-active{
|
|
41
|
+
color: #fff;
|
|
42
|
+
background-image: linear-gradient(to right, #356cea, #e9f0fc);
|
|
43
|
+
a{
|
|
44
|
+
color: #fff;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.tool-menu-svg{
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
.app-scroll-container{
|
|
53
|
+
margin-top: 0;
|
|
54
|
+
}
|
|
55
|
+
.app-menu-fixed{
|
|
56
|
+
hr{
|
|
57
|
+
height: 1px;
|
|
58
|
+
background-color: #fff !important;
|
|
59
|
+
}
|
|
60
|
+
ul li{
|
|
61
|
+
color: #3f3f3f;
|
|
62
|
+
a{
|
|
63
|
+
display: block;
|
|
64
|
+
transition: all 0.15s;
|
|
65
|
+
}
|
|
66
|
+
&:hover{
|
|
67
|
+
background-image: linear-gradient(to right, #7c99e3, #e9f0fc);
|
|
68
|
+
a{
|
|
69
|
+
color: #fff;
|
|
70
|
+
transform: scale(1.15)
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
&.c-theme{
|
|
74
|
+
background-image: linear-gradient(to right, #356cea, #e9f0fc);
|
|
75
|
+
a{
|
|
76
|
+
color: #fff;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.left-menu-container{
|
|
83
|
+
.sidebar-container{
|
|
84
|
+
background-color: transparent !important;
|
|
85
|
+
border: none !important;
|
|
86
|
+
*{
|
|
87
|
+
background-color: transparent !important;
|
|
88
|
+
}
|
|
89
|
+
.el-menu-item{
|
|
90
|
+
background-color: transparent !important;
|
|
91
|
+
span{
|
|
92
|
+
transition: all 0.15s;
|
|
93
|
+
display: block;
|
|
94
|
+
color: #333;
|
|
95
|
+
}
|
|
96
|
+
&.is-active{
|
|
97
|
+
background-image: linear-gradient(to right, #356cea, #e9f0fc);
|
|
98
|
+
span{
|
|
99
|
+
color: #fff !important;
|
|
100
|
+
font-weight: bold;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
&:hover{
|
|
104
|
+
background-image: linear-gradient(to right, #7c99e3, #e9f0fc);
|
|
105
|
+
span{
|
|
106
|
+
color: #fff !important;
|
|
107
|
+
transform: scale(1.15);
|
|
108
|
+
font-weight: bold;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
//右侧内容
|
|
117
|
+
.main-container{
|
|
118
|
+
//顶部导航栏
|
|
119
|
+
.navbar.el-menu{
|
|
120
|
+
background-color: transparent !important;
|
|
121
|
+
border: none !important;
|
|
122
|
+
.navbar-title{
|
|
123
|
+
li, i{
|
|
124
|
+
@include theme-color;
|
|
125
|
+
font-weight: bold;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
.nav-head{
|
|
129
|
+
color: #3f3f3f;
|
|
130
|
+
.msg-badge{
|
|
131
|
+
&:hover{
|
|
132
|
+
color: #356cea;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
//主内容区域
|
|
138
|
+
.app-main{
|
|
139
|
+
background-color: transparent;
|
|
140
|
+
// 全局组件样式
|
|
141
|
+
.el-switch.is-checked .el-switch__core{
|
|
142
|
+
@include theme-bgcolor;
|
|
143
|
+
@include theme-border-color;
|
|
144
|
+
}
|
|
145
|
+
.el-button--primary{
|
|
146
|
+
@include theme-bgcolor;
|
|
147
|
+
}
|
|
148
|
+
.el-button--text{
|
|
149
|
+
@include theme-color;
|
|
150
|
+
}
|
|
151
|
+
.el-tabs__item.is-active{
|
|
152
|
+
@include theme-color;
|
|
153
|
+
}
|
|
154
|
+
.el-checkbox{
|
|
155
|
+
&.is-checked{
|
|
156
|
+
.el-checkbox__inner{
|
|
157
|
+
@include theme-bgcolor;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
.el-checkbox__inner{
|
|
161
|
+
@include theme-border-color;
|
|
162
|
+
width: 18px;
|
|
163
|
+
height: 18px;
|
|
164
|
+
&::after{
|
|
165
|
+
position: absolute;
|
|
166
|
+
height: 7px;
|
|
167
|
+
left: 6px;
|
|
168
|
+
top: 2px;
|
|
169
|
+
border: 2px solid #fff;
|
|
170
|
+
border-left: 0;
|
|
171
|
+
border-top: 0;
|
|
172
|
+
}
|
|
173
|
+
&::before{
|
|
174
|
+
top: 7px;
|
|
175
|
+
height: 3px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
.el-table th.el-table-column--selection>.cell{
|
|
180
|
+
padding: 0;
|
|
181
|
+
}
|
|
182
|
+
th .el-checkbox__inner{
|
|
183
|
+
border-color: #fff !important;
|
|
184
|
+
}
|
|
185
|
+
button[class="el-button"], button.el-button--default, button.el-button.is-disabled{
|
|
186
|
+
background: transparent;
|
|
187
|
+
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
|
|
188
|
+
border-radius: 8px !important;
|
|
189
|
+
}
|
|
190
|
+
button.el-button.el-button--primary, .tybtn, .button.bg-theme.t-c{
|
|
191
|
+
border-radius: 8px !important;
|
|
192
|
+
box-shadow: 0 0 10px 0 rgba(46, 107, 229, .5);
|
|
193
|
+
}
|
|
194
|
+
button.el-button.el-button--danger{
|
|
195
|
+
border-radius: 8px !important;
|
|
196
|
+
box-shadow: 0 0 10px 0 rgba(255, 0, 0, .5);
|
|
197
|
+
}
|
|
198
|
+
button.el-button.el-button--text{
|
|
199
|
+
box-shadow: none !important;
|
|
200
|
+
}
|
|
201
|
+
.el-input__inner{
|
|
202
|
+
background-color: transparent;
|
|
203
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .05);
|
|
204
|
+
border: 1px solid #ebeef5 !important;
|
|
205
|
+
border-radius: 6px;
|
|
206
|
+
}
|
|
207
|
+
.el-range-input{
|
|
208
|
+
background-color: transparent;
|
|
209
|
+
}
|
|
210
|
+
.el-upload--picture-card{
|
|
211
|
+
background-color: transparent;
|
|
212
|
+
backdrop-filter: blur(15px);
|
|
213
|
+
}
|
|
214
|
+
.el-card{
|
|
215
|
+
background-color: transparent !important;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// table样式
|
|
219
|
+
.el-table thead tr th{
|
|
220
|
+
@include theme-bgcolor;
|
|
221
|
+
color: #fff !important;
|
|
222
|
+
.cell{
|
|
223
|
+
color: #fff !important;
|
|
224
|
+
font-weight: bold;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
.el-table td.el-table__cell{
|
|
228
|
+
border-bottom: 1px solid rgba(64, 158, 254, .1);
|
|
229
|
+
border-right: 1px solid rgba(64, 158, 254, .1);
|
|
230
|
+
}
|
|
231
|
+
.template-table{
|
|
232
|
+
.tem-header{
|
|
233
|
+
@include glass-panel;
|
|
234
|
+
border-radius: 24px;
|
|
235
|
+
border: 2px solid #fff;
|
|
236
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
237
|
+
// .el-input .el-input__inner{
|
|
238
|
+
// border-color: #e1e6e4;
|
|
239
|
+
// }
|
|
240
|
+
input{
|
|
241
|
+
// @include glass-panel;
|
|
242
|
+
&::placeholder{
|
|
243
|
+
color: #999;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
>.el-row{
|
|
248
|
+
@include glass-panel;
|
|
249
|
+
border-radius: 24px;
|
|
250
|
+
border: 2px solid #fff;
|
|
251
|
+
margin-bottom: 40px;
|
|
252
|
+
}
|
|
253
|
+
.el-tabs{
|
|
254
|
+
background-color: transparent;
|
|
255
|
+
border: none !important;
|
|
256
|
+
*{
|
|
257
|
+
background-color: transparent !important;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
.tem-header+div{
|
|
261
|
+
@include glass-panel;
|
|
262
|
+
border-radius: 24px;
|
|
263
|
+
border: 2px solid #fff;
|
|
264
|
+
padding-top: 15px !important;
|
|
265
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
266
|
+
*:not(.el-switch__core, .el-checkbox__inner){
|
|
267
|
+
background-color: transparent !important;
|
|
268
|
+
}
|
|
269
|
+
.el-table{
|
|
270
|
+
.el-table__header-wrapper{
|
|
271
|
+
border-radius: 14px;
|
|
272
|
+
}
|
|
273
|
+
tr {
|
|
274
|
+
border-radius: 24px;
|
|
275
|
+
overflow: hidden;
|
|
276
|
+
th{
|
|
277
|
+
@include theme-bgcolor;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
.template-box{
|
|
284
|
+
background-color: transparent;
|
|
285
|
+
.el-table{
|
|
286
|
+
background-color: transparent;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
.tableDivStyle{
|
|
290
|
+
.seachStyle{
|
|
291
|
+
@include glass-panel;
|
|
292
|
+
border-radius: 24px;
|
|
293
|
+
border: 2px solid #fff;
|
|
294
|
+
}
|
|
295
|
+
.tableConStyle{
|
|
296
|
+
@include glass-panel;
|
|
297
|
+
border-radius: 24px;
|
|
298
|
+
border: 2px solid #fff;
|
|
299
|
+
padding: 15px;
|
|
300
|
+
box-sizing: border-box;
|
|
301
|
+
}
|
|
302
|
+
.el-button-group{
|
|
303
|
+
.el-button{
|
|
304
|
+
background-color: transparent;
|
|
305
|
+
&+.el-button{
|
|
306
|
+
border-left: 1px solid #fff;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
&+.el-table{
|
|
310
|
+
margin-top: 10px;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
.el-table{
|
|
314
|
+
background-color: transparent;
|
|
315
|
+
tbody{
|
|
316
|
+
*:not(.el-switch__core){
|
|
317
|
+
background-color: transparent !important;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
.coner-info{
|
|
323
|
+
.information{
|
|
324
|
+
@include glass-panel;
|
|
325
|
+
border-radius: 24px;
|
|
326
|
+
border: 2px solid #fff;
|
|
327
|
+
p{
|
|
328
|
+
background-color: transparent;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
.commissionBox{
|
|
333
|
+
@include glass-panel;
|
|
334
|
+
border-radius: 24px;
|
|
335
|
+
border: 2px solid #fff;
|
|
336
|
+
height: calc(100% - 40px);
|
|
337
|
+
.commissionTable{
|
|
338
|
+
padding-right: 10px;
|
|
339
|
+
.el-tabs{
|
|
340
|
+
.el-tabs__header{
|
|
341
|
+
border-bottom: 2px solid #fff;
|
|
342
|
+
}
|
|
343
|
+
.el-tabs__nav{
|
|
344
|
+
border: 2px solid #fff;
|
|
345
|
+
border-bottom: none;
|
|
346
|
+
.el-tabs__item+.el-tabs__item{
|
|
347
|
+
border-left: 2px solid #fff;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
.app-container{
|
|
354
|
+
background-color: transparent;
|
|
355
|
+
.shops{
|
|
356
|
+
.cardForm{
|
|
357
|
+
@include glass-panel;
|
|
358
|
+
border-radius: 24px;
|
|
359
|
+
border: 2px solid #fff;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
.editor .w-e-toolbar{
|
|
363
|
+
background-color: transparent !important;
|
|
364
|
+
backdrop-filter: blur(15px);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
.bgwhite{
|
|
368
|
+
background-color: transparent;
|
|
369
|
+
border: 2px solid #fff;
|
|
370
|
+
padding: 0 20px 20px 0;
|
|
371
|
+
box-sizing: border-box;
|
|
372
|
+
border-radius: 24px;
|
|
373
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
374
|
+
margin-bottom: 30px;
|
|
375
|
+
.el-table, .el-table tr{
|
|
376
|
+
background-color: transparent;
|
|
377
|
+
}
|
|
378
|
+
.el-tabs{
|
|
379
|
+
.el-tabs__header{
|
|
380
|
+
border-bottom: 2px solid #fff;
|
|
381
|
+
}
|
|
382
|
+
.el-tabs__nav{
|
|
383
|
+
border: 2px solid #fff;
|
|
384
|
+
border-bottom: none;
|
|
385
|
+
.el-tabs__item+.el-tabs__item{
|
|
386
|
+
border-left: 2px solid #fff;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
.lit{
|
|
392
|
+
.el-tabs{
|
|
393
|
+
background-color: transparent !important;
|
|
394
|
+
.el-tabs__header{
|
|
395
|
+
border-bottom: 2px solid #fff;
|
|
396
|
+
}
|
|
397
|
+
.el-tabs__nav{
|
|
398
|
+
border: 2px solid #fff;
|
|
399
|
+
border-bottom: none;
|
|
400
|
+
.el-tabs__item+.el-tabs__item{
|
|
401
|
+
border-left: 2px solid #fff;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
&+div{
|
|
405
|
+
background-color: transparent !important;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
.userinfo-container{
|
|
410
|
+
@include glass-panel;
|
|
411
|
+
border: 2px solid #fff;
|
|
412
|
+
border-radius: 24px;
|
|
413
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
414
|
+
}
|
|
415
|
+
.conbgbox{
|
|
416
|
+
@include glass-panel;
|
|
417
|
+
border: 2px solid #fff;
|
|
418
|
+
padding: 20px;
|
|
419
|
+
box-sizing: border-box;
|
|
420
|
+
border-radius: 24px;
|
|
421
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
422
|
+
}
|
|
423
|
+
.moneyAccount{
|
|
424
|
+
.container_header{
|
|
425
|
+
.el-card{
|
|
426
|
+
border: 2px solid #fff;
|
|
427
|
+
border-radius: 16px;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
.freight_template{
|
|
432
|
+
.el-card{
|
|
433
|
+
@include glass-panel;
|
|
434
|
+
border: 2px solid #fff;
|
|
435
|
+
border-radius: 24px;
|
|
436
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
//首页面板
|
|
440
|
+
// > div:has(> .dashboard-container) {
|
|
441
|
+
// background-color: transparent !important;
|
|
442
|
+
// }
|
|
443
|
+
.dashboard-container{
|
|
444
|
+
width: 100%;
|
|
445
|
+
background: transparent !important;
|
|
446
|
+
border: 2px solid #fff;
|
|
447
|
+
padding: 0 20px 20px 0;
|
|
448
|
+
box-sizing: border-box;
|
|
449
|
+
border-radius: 24px;
|
|
450
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
451
|
+
.container-left {
|
|
452
|
+
.realtimedata {
|
|
453
|
+
height: auto;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
.dashboardheader {
|
|
457
|
+
margin-top: 24px;
|
|
458
|
+
}
|
|
459
|
+
.functions {
|
|
460
|
+
margin-top: 24px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// 区块标题统一样式
|
|
464
|
+
.realtimedata,
|
|
465
|
+
.dashboardheader,
|
|
466
|
+
.functions {
|
|
467
|
+
h3.title {
|
|
468
|
+
font-size: 14px;
|
|
469
|
+
color: #363e50;
|
|
470
|
+
font-weight: 600;
|
|
471
|
+
display: flex;
|
|
472
|
+
align-items: center;
|
|
473
|
+
padding-left: 4px;
|
|
474
|
+
}
|
|
475
|
+
.title span {
|
|
476
|
+
margin: -1px 8px 0 0;
|
|
477
|
+
display: inline-block;
|
|
478
|
+
width: 4px;
|
|
479
|
+
height: 14px;
|
|
480
|
+
border: none;
|
|
481
|
+
border-radius: 2px;
|
|
482
|
+
background: linear-gradient(to bottom, #356cea, #7c99e3);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// 磨砂玻璃容器公共样式
|
|
487
|
+
.realdatamain,
|
|
488
|
+
.matter,
|
|
489
|
+
.functions-matter {
|
|
490
|
+
background-color: transparent !important;
|
|
491
|
+
// background-color: rgba(255, 255, 255, .25) !important;
|
|
492
|
+
// backdrop-filter: blur(15px);
|
|
493
|
+
// -webkit-backdrop-filter: blur(15px);
|
|
494
|
+
// border-radius: 20px;
|
|
495
|
+
// border: 1px solid rgba(255, 255, 255, .5);
|
|
496
|
+
// box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
497
|
+
// height: auto !important;
|
|
498
|
+
// padding: 16px;
|
|
499
|
+
// gap: 16px;
|
|
500
|
+
// list-style: none;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
// 实时数据
|
|
504
|
+
.realdatamain {
|
|
505
|
+
margin-top: 12px;
|
|
506
|
+
gap: 16px;
|
|
507
|
+
|
|
508
|
+
li {
|
|
509
|
+
width: 100%;
|
|
510
|
+
height: auto !important;
|
|
511
|
+
min-height: 160px;
|
|
512
|
+
padding: 24px 16px;
|
|
513
|
+
text-align: center;
|
|
514
|
+
border-radius: 16px;
|
|
515
|
+
background-color: rgba(255, 255, 255, .35);
|
|
516
|
+
transition: all 0.15s ease;
|
|
517
|
+
position: relative;
|
|
518
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
519
|
+
border: 2px solid #fff;
|
|
520
|
+
|
|
521
|
+
&:hover {
|
|
522
|
+
background-color: rgba(255, 255, 255, .55);
|
|
523
|
+
transform: translateY(-3px);
|
|
524
|
+
box-shadow: 0 6px 24px rgba(53, 108, 234, .15);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.successmeanu {
|
|
528
|
+
margin-top: 0;
|
|
529
|
+
margin-bottom: 12px;
|
|
530
|
+
color: #363e50;
|
|
531
|
+
font-weight: 500;
|
|
532
|
+
font-size: 14px;
|
|
533
|
+
}
|
|
534
|
+
.meanumark {
|
|
535
|
+
background: rgba(255, 255, 255, .6);
|
|
536
|
+
width: 16px;
|
|
537
|
+
height: 16px;
|
|
538
|
+
margin-left: 6px;
|
|
539
|
+
vertical-align: middle;
|
|
540
|
+
}
|
|
541
|
+
.reference {
|
|
542
|
+
color: #356cea;
|
|
543
|
+
}
|
|
544
|
+
.successnum {
|
|
545
|
+
color: #363e50;
|
|
546
|
+
font-weight: 700;
|
|
547
|
+
margin-bottom: 10px;
|
|
548
|
+
font-size: 34px;
|
|
549
|
+
line-height: 1.2;
|
|
550
|
+
}
|
|
551
|
+
.historymeanu {
|
|
552
|
+
color: #888;
|
|
553
|
+
font-size: 12px;
|
|
554
|
+
font-weight: 400;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
li:nth-child(2n-1) {
|
|
558
|
+
background-color: rgba(255, 255, 255, .35);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// 待办事项、常用功能 子卡片公共样式
|
|
563
|
+
.matter,
|
|
564
|
+
.functions-matter {
|
|
565
|
+
margin-top: 12px;
|
|
566
|
+
flex-wrap: wrap;
|
|
567
|
+
gap: 12px;
|
|
568
|
+
border: none;
|
|
569
|
+
li {
|
|
570
|
+
flex: 1;
|
|
571
|
+
min-width: 120px;
|
|
572
|
+
width: 100%;
|
|
573
|
+
height: auto !important;
|
|
574
|
+
padding: 20px 16px;
|
|
575
|
+
border-radius: 14px;
|
|
576
|
+
background-color: rgba(255, 255, 255, .3);
|
|
577
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
578
|
+
transition: all 0.15s ease;
|
|
579
|
+
cursor: pointer;
|
|
580
|
+
|
|
581
|
+
&:hover {
|
|
582
|
+
background-color: rgba(255, 255, 255, .5);
|
|
583
|
+
transform: translateY(-3px);
|
|
584
|
+
box-shadow: 0 6px 20px rgba(53, 108, 234, .15);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.f-line {
|
|
588
|
+
display: none;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
// 待办事项
|
|
594
|
+
.matter {
|
|
595
|
+
border: none;
|
|
596
|
+
li {
|
|
597
|
+
display: flex;
|
|
598
|
+
align-items: center;
|
|
599
|
+
justify-content: center;
|
|
600
|
+
overflow: visible;
|
|
601
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
602
|
+
border: 2px solid #fff;
|
|
603
|
+
a.t-box {
|
|
604
|
+
display: flex;
|
|
605
|
+
align-items: center;
|
|
606
|
+
justify-content: center;
|
|
607
|
+
width: 100%;
|
|
608
|
+
text-decoration: none;
|
|
609
|
+
}
|
|
610
|
+
.floatL {
|
|
611
|
+
padding-right: 14px;
|
|
612
|
+
img {
|
|
613
|
+
width: 44px;
|
|
614
|
+
height: 44px;
|
|
615
|
+
border-radius: 12px;
|
|
616
|
+
filter: drop-shadow(0 2px 6px rgba(53, 108, 234, .2));
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
.floatR {
|
|
620
|
+
text-align: left;
|
|
621
|
+
.reference {
|
|
622
|
+
color: #356cea;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
.dashboardnum {
|
|
626
|
+
color: #363e50;
|
|
627
|
+
font-size: 26px;
|
|
628
|
+
font-weight: 700;
|
|
629
|
+
line-height: 1.2;
|
|
630
|
+
}
|
|
631
|
+
.dashboardtext {
|
|
632
|
+
color: #666;
|
|
633
|
+
font-size: 13px;
|
|
634
|
+
margin-top: 2px;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// 常用功能
|
|
640
|
+
.functions-matter {
|
|
641
|
+
border: none;
|
|
642
|
+
li {
|
|
643
|
+
text-align: center;
|
|
644
|
+
box-shadow: 0 4px 20px rgba(53, 108, 234, .08);
|
|
645
|
+
border: 2px solid #fff;
|
|
646
|
+
a {
|
|
647
|
+
display: block;
|
|
648
|
+
text-decoration: none;
|
|
649
|
+
cursor: pointer;
|
|
650
|
+
}
|
|
651
|
+
.matter-img {
|
|
652
|
+
width: 48px;
|
|
653
|
+
height: 48px;
|
|
654
|
+
margin: 0 auto 12px;
|
|
655
|
+
padding: 5px;
|
|
656
|
+
border-radius: 14px;
|
|
657
|
+
background-color: rgba(53, 108, 234, .1);
|
|
658
|
+
img {
|
|
659
|
+
width: 100%;
|
|
660
|
+
height: 100%;
|
|
661
|
+
border-radius: 8px;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
.matter-text {
|
|
665
|
+
color: #363e50;
|
|
666
|
+
font-size: 14px;
|
|
667
|
+
font-weight: 500;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
.present-list{
|
|
673
|
+
background-color: transparent;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
/* 滚动条轨道 */
|
|
677
|
+
::-webkit-scrollbar-track {
|
|
678
|
+
// background: #e2e8f0 !important; /* 轨道颜色 */
|
|
679
|
+
// border-radius: 12px;
|
|
680
|
+
}
|
|
681
|
+
/* 滚动条滑块 (拖动的那个) */
|
|
682
|
+
::-webkit-scrollbar-thumb {
|
|
683
|
+
@include theme-bgcolor; /* 主色 — 靛蓝 */
|
|
684
|
+
// border-radius: 12px;
|
|
685
|
+
// border: 1px solid #f8fafc; /* 与轨道背景融合,制造内边距效果 */
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
}
|
package/src/utils/auth.js
CHANGED
|
@@ -81,4 +81,11 @@ export function getChannelCode() {
|
|
|
81
81
|
export function isTY() {
|
|
82
82
|
const channelType = getChannelCode();
|
|
83
83
|
return channelType === 'bgyp' || channelType === 'lb' || channelType === 'sc';
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
//铁亿商家端渠道判断
|
|
87
|
+
export function isTYMer() {
|
|
88
|
+
const domain = window.location.hostname;
|
|
89
|
+
const isMerchant = domain.includes('merchant') || domain.includes('localhost');
|
|
90
|
+
return isTY() && isMerchant;
|
|
84
91
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="app-wrapper" :class="[sidebar.opened ? 'hideSidebar' : '', customColor]">
|
|
2
|
+
<div class="app-wrapper" :class="[sidebar.opened ? 'hideSidebar' : '', customColor, isTYMer() ? 'typc' : '']" :style="isTYMer() ? { backgroundImage: 'url(' + pageBgUrl + ')' } : {}">
|
|
3
3
|
<left-nav></left-nav>
|
|
4
4
|
<!-- <div class="nav-left">
|
|
5
5
|
<nav-menu></nav-menu>
|
|
@@ -22,9 +22,12 @@
|
|
|
22
22
|
<script>
|
|
23
23
|
import Internationalization from "#/views/pc/Internationalization";
|
|
24
24
|
import "#/iconShop/iconfont.css";
|
|
25
|
+
import pageBg from "#/assets/pagebg.jpg";
|
|
25
26
|
import { mapGetters } from "vuex";
|
|
26
27
|
import LeftNav from "./components/LeftNavbar";
|
|
27
28
|
import { Navbar, Sidebar, AppMain, AppFooter, NavMenu } from "./components";
|
|
29
|
+
import { isTYMer } from '#/utils/auth';
|
|
30
|
+
|
|
28
31
|
export default {
|
|
29
32
|
name: "layout",
|
|
30
33
|
components: {
|
|
@@ -40,6 +43,7 @@ export default {
|
|
|
40
43
|
return {
|
|
41
44
|
isIndex: false,
|
|
42
45
|
isCollapse: false,
|
|
46
|
+
pageBgUrl: pageBg,
|
|
43
47
|
height: document.documentElement.clientHeight - 54,
|
|
44
48
|
customColor: "custom-409eff",
|
|
45
49
|
theme: "#409eff",
|
|
@@ -64,6 +68,7 @@ export default {
|
|
|
64
68
|
this.$store.dispatch("GetInfo");
|
|
65
69
|
},
|
|
66
70
|
methods: {
|
|
71
|
+
isTYMer,
|
|
67
72
|
/* toggleSideBar() {
|
|
68
73
|
this.$store.dispatch("ToggleSideBar");
|
|
69
74
|
},*/
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
<div class="app-scroll-container" :style="{ height: height + 'px' }">
|
|
11
11
|
<el-menu :default-active="appActive" @select="handleSelect" class="el-menu-vertical">
|
|
12
|
+
<el-menu-item @click="navigator" v-if="isTYMer()">
|
|
13
|
+
<!-- :href="item.menuAction" -->
|
|
14
|
+
<a title="首页" slot="title">首页</a>
|
|
15
|
+
</el-menu-item>
|
|
12
16
|
<el-menu-item v-for="item in topAppList" :key="item.proappMenuCode" :index="item.proappMenuCode"
|
|
13
17
|
@click="navBar(item)">
|
|
14
18
|
<!-- :href="item.menuAction" -->
|
|
@@ -35,6 +39,8 @@
|
|
|
35
39
|
import { mapGetters } from "vuex";
|
|
36
40
|
import { getProappinfo } from "#/api/login";
|
|
37
41
|
import ScrollBar from "#/components/ScrollBar";
|
|
42
|
+
import { isTYMer } from '#/utils/auth';
|
|
43
|
+
|
|
38
44
|
export default {
|
|
39
45
|
components: { ScrollBar },
|
|
40
46
|
data() {
|
|
@@ -82,6 +88,7 @@ export default {
|
|
|
82
88
|
this.secDomainName = sessionStorage.getItem('secDomainName') ? sessionStorage.getItem('secDomainName') : null
|
|
83
89
|
},
|
|
84
90
|
methods: {
|
|
91
|
+
isTYMer,
|
|
85
92
|
navigator() {
|
|
86
93
|
window.sessionStorage.setItem("menuCode", '');
|
|
87
94
|
window.location.href = process.env.API_ROOT + this.indexHref;
|