gy-webcode2 1.0.0

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.
Files changed (70) hide show
  1. package/components/bar.vue +37 -0
  2. package/components/breadcrumb.vue +127 -0
  3. package/components/javaEditor.vue +88 -0
  4. package/components/sqlEditor.vue +92 -0
  5. package/components/waterfall.vue +484 -0
  6. package/css/common.scss +106 -0
  7. package/css/layout.scss +338 -0
  8. package/css/login.scss +122 -0
  9. package/css/modules/button.scss +2 -0
  10. package/css/modules/color.scss +58 -0
  11. package/css/modules/common.scss +217 -0
  12. package/css/modules/elementUI.scss +426 -0
  13. package/css/modules/form.scss +56 -0
  14. package/css/modules/header.scss +342 -0
  15. package/css/modules/sidebar.scss +214 -0
  16. package/css/modules/table.scss +134 -0
  17. package/css/modules/tabs.scss +54 -0
  18. package/css/modules/tags.scss +149 -0
  19. package/css/modules/tree.scss +120 -0
  20. package/css/modules/tree_check.scss +53 -0
  21. package/css/theme/colors/cheng.scss +17 -0
  22. package/css/theme/colors/default.scss +19 -0
  23. package/css/theme/colors/hong.scss +17 -0
  24. package/css/theme/colors/huang.scss +17 -0
  25. package/css/theme/colors/lv.scss +17 -0
  26. package/css/theme/colors/qing.scss +17 -0
  27. package/css/theme/colors/shenaln.scss +17 -0
  28. package/css/theme/colors/zi.scss +18 -0
  29. package/css/theme/global.scss +8 -0
  30. package/css/theme/styles/default.scss +11 -0
  31. package/css/theme/styles/hailan.scss +11 -0
  32. package/css/theme/styles/shenlan.scss +11 -0
  33. package/css/theme/theme.scss +78 -0
  34. package/extend/axios.js +173 -0
  35. package/extend/formatTime.js +54 -0
  36. package/img/btnActive/1.png +0 -0
  37. package/img/btnActive/2.png +0 -0
  38. package/img/btnActive/3.png +0 -0
  39. package/img/btnActive/4.png +0 -0
  40. package/img/btnActive/5.png +0 -0
  41. package/img/btnActive/6.png +0 -0
  42. package/img/btnActive/7.png +0 -0
  43. package/img/btnActive/8.png +0 -0
  44. package/img/login_bg.jpg +0 -0
  45. package/img/login_bg2.jpg +0 -0
  46. package/img/login_bg2.png +0 -0
  47. package/img/mrtx.jpg +0 -0
  48. package/img/slogan.png +0 -0
  49. package/img/theme/pageStyle_1.png +0 -0
  50. package/img/theme/pageStyle_2.png +0 -0
  51. package/img/theme/pageStyle_3.png +0 -0
  52. package/index.js +17 -0
  53. package/jsconfig.json +19 -0
  54. package/package.json +15 -0
  55. package/plugins/jsencrypt.js +5370 -0
  56. package/plugins/jsencrypt.min.js +1 -0
  57. package/plugins/swiper-4.5.3/css/swiper.css +619 -0
  58. package/plugins/swiper-4.5.3/css/swiper.min.css +12 -0
  59. package/plugins/swiper-4.5.3/js/swiper.esm.bundle.js +7184 -0
  60. package/plugins/swiper-4.5.3/js/swiper.esm.js +7166 -0
  61. package/plugins/swiper-4.5.3/js/swiper.js +8149 -0
  62. package/plugins/swiper-4.5.3/js/swiper.min.js +13 -0
  63. package/plugins/swiper-4.5.3/js/swiper.min.js.map +1 -0
  64. package/scripts/$u.mixin.js +27 -0
  65. package/scripts/crypto.js +184 -0
  66. package/scripts/jsencrypt.js +180 -0
  67. package/scripts/md5.js +259 -0
  68. package/scripts/numberAnimate.js +134 -0
  69. package/scripts/uuid.js +33 -0
  70. package/updateLog.txt +0 -0
@@ -0,0 +1,342 @@
1
+ .wrapper_header{
2
+ height: 48px;
3
+ display: flex;
4
+ @include theme('background-color','header_bgColor');
5
+ .logo{
6
+ width: 210px;
7
+ background-position: center;
8
+ background-repeat: no-repeat;
9
+ // background-size: 100% auto;
10
+ background-size: contain;
11
+ // border: 1px solid #fff;
12
+
13
+ img{
14
+ height: 100%;
15
+ }
16
+ }
17
+ .menu{
18
+ margin-left: 160px;
19
+ display: flex;
20
+ height: 100%;
21
+ position: relative;
22
+ ul{
23
+ display: flex;
24
+
25
+ }
26
+ li{
27
+ height: 100%;
28
+ font-size: 14px;
29
+ color: #acb5ce;
30
+ display: flex;
31
+ align-items: center;
32
+ margin: 0 20px;
33
+ cursor: pointer;
34
+ transition: all 0.3s ease;
35
+ user-select: none;
36
+
37
+ &:hover{
38
+ color: #fff;
39
+ }
40
+ &.active{
41
+ color: #ffffff;
42
+ }
43
+ &:active{
44
+ color: #c5cbdd;
45
+ }
46
+ }
47
+ .activeLine{
48
+ position: absolute;
49
+ width: 32px;
50
+ // background: #4172f6;
51
+ height: 4px;
52
+ border-radius: 4px;
53
+ left: 0;
54
+ display: none;
55
+ bottom: 6px;
56
+ transition: all 0.4s ease;
57
+ @include themeColor('background-color','color')
58
+ }
59
+ }
60
+ .iconBox{
61
+ color:#acb5ce;
62
+ display: flex;
63
+ .iconfontSpan{
64
+ width: 18px;
65
+ height: 18px;
66
+ margin: 0 12px;
67
+ text-align: center;
68
+ line-height: 18px;
69
+ i{
70
+ cursor: pointer;
71
+ }
72
+ &:hover{
73
+ color: #fff;
74
+ }
75
+ &:active{
76
+ color: #c5cbdd;
77
+ }
78
+ }
79
+ .el-badge__content{
80
+ background-color: #ff4d4f;
81
+ border:none;
82
+ right: 8px;
83
+ }
84
+
85
+
86
+ .signout{
87
+ // margin:0 20px;
88
+ margin-right: 26px;
89
+ margin-left: 10px;
90
+ font-size: 16px;
91
+ color: #fff;
92
+ i{
93
+ cursor: pointer;
94
+ }
95
+ }
96
+ }
97
+ .userInfo{
98
+ color:#fff;
99
+ padding:0 10px;
100
+ position: relative;
101
+ transition: all 0.2s ease;
102
+ height: 100%;
103
+ display: flex;
104
+ align-items: center;
105
+ line-height: 20px;
106
+ font-size: 14px;
107
+ margin-right: 10px;
108
+
109
+ img{
110
+ // height: 25px;
111
+ height: 20px;
112
+ border-radius: 50%;
113
+ display: block;
114
+ }
115
+ .avator{
116
+ margin-right: 8px;
117
+ }
118
+ .name{
119
+ }
120
+ &:hover{
121
+ // background: #272e40;
122
+ // @include themeColor('color','sidebar_menu2_hoverColor');
123
+ @include themeColor('background-color','sidebar_menu2_activeBgColor');
124
+ .header_el-popover{
125
+ visibility: visible;
126
+ opacity: 1;
127
+ }
128
+ }
129
+
130
+ .header_el-popover{
131
+ // display:none;
132
+ visibility: hidden;
133
+ opacity: 0;
134
+ right: 0;
135
+ transition: all 0.2s ease;
136
+ top: 50px;
137
+ padding: 10px;
138
+ padding-bottom: 20px;
139
+ .version{
140
+ position: absolute;
141
+ right: 0;
142
+ bottom: 0;
143
+ text-align: center;
144
+ font-size: 12px;
145
+ color: #aaa;
146
+ background: #ecedf4;
147
+ padding: 1px 5px;
148
+ border-radius: 3px;
149
+ }
150
+ &.theme_show{
151
+ width: 285px;
152
+ }
153
+ .popper__arrow{
154
+ top: -6px;
155
+ // left: 50%;
156
+ right: 30px;
157
+ margin-right: 3px;
158
+ border-top-width: 0;
159
+ border-bottom-color: #fff;
160
+
161
+ }
162
+ }
163
+ .theme_menu{
164
+ width: 115px;
165
+ float: left;
166
+ // position: absolute;
167
+ left: 0;
168
+ top: 0;
169
+ border-right: 1px solid #eeeeee;
170
+ padding-right: 5px;
171
+ .yuan{
172
+ width: 16px;
173
+ height: 16px;
174
+ border-radius: 50%;
175
+ background: #000;
176
+ display: inline-block;
177
+ vertical-align: text-bottom;
178
+ margin-right: 10px;
179
+ &.lan{
180
+ background: #2553a6;
181
+ }
182
+ &.hui{
183
+ background: #919191;
184
+ }
185
+ &.qianlan{
186
+ background: #b7cff2;
187
+ }
188
+ }
189
+ }
190
+
191
+ .userInfo_menu{
192
+ width: 140px;
193
+ float: right;
194
+ }
195
+ .theme_menu li,.userInfo_menu li{
196
+ height: 30px;
197
+ line-height: 30px;
198
+ text-align:center;
199
+ font-size: 14px;
200
+ color:#333333;
201
+ cursor: pointer;
202
+ position: relative;
203
+ a{
204
+ color:#333333;
205
+ }
206
+ i{
207
+ color:#8e8e8e;
208
+ font-size: 16px;
209
+ }
210
+ &.active,&:hover{
211
+ background: #f5f7f8;
212
+ }
213
+ }
214
+
215
+
216
+
217
+
218
+ }
219
+ }
220
+ .noticeBox{
221
+ // position: fixed;
222
+ // z-index: 100;
223
+ // right: 20px;
224
+ // top: 20px;
225
+ // background: #fff;
226
+
227
+ padding: 0;
228
+ width: 320px;
229
+ height: 490px;
230
+ max-height: 60vh;
231
+ display: flex;
232
+ flex-direction: column;
233
+ .tabs{
234
+ height: 48px;
235
+ .item{
236
+ padding-top: 16px;
237
+ }
238
+ }
239
+ .body{
240
+ flex: 1;
241
+ position: relative;
242
+ .item{
243
+ // margin: 0 16px;
244
+ height: 60px;
245
+ // border: 1px solid #000;
246
+ display: flex;
247
+ align-items: center;
248
+ margin: 8px 16px 0 16px;
249
+ border-radius: 8px;
250
+ // margin-top: 0;
251
+ // margin-bottom: 0;
252
+ cursor: pointer;
253
+ transition: all 0.3s ease;
254
+ .iconBox{
255
+ width: 32px;
256
+ height: 32px;
257
+ background: #000;
258
+ color: #fff;
259
+ display: flex;
260
+ align-items: center;
261
+ justify-content: center;
262
+ border-radius: 50%;
263
+ margin-left: 8px;
264
+ margin-right: 12px;
265
+ }
266
+ .info{
267
+ flex: 1;
268
+ margin-right: 16px;
269
+ .row1{
270
+ max-height: 36px;
271
+ line-height: 18px;
272
+ display: -webkit-box;
273
+ -webkit-box-orient: vertical;
274
+ overflow: hidden;
275
+ -webkit-line-clamp: 2; /* 显示3行文本 */
276
+ }
277
+ .row2{
278
+ color: #8c8c8c;
279
+ font-size: 12px;
280
+ margin-top: 5px;
281
+ }
282
+ }
283
+ &:nth-of-type(1n){
284
+ .iconBox{
285
+ background: #ec685f;
286
+ }
287
+ }
288
+ &:nth-of-type(2n){
289
+ .iconBox{
290
+ background: #1890ff;
291
+ }
292
+ }
293
+ &:nth-of-type(3n){
294
+ .iconBox{
295
+ background: #fa8c16;
296
+ }
297
+ }
298
+ &:nth-of-type(4n){
299
+ .iconBox{
300
+ background: #52c41a;
301
+ }
302
+ }
303
+ &:nth-of-type(5n){
304
+ .iconBox{
305
+ background: #13a8a8;
306
+ }
307
+ }
308
+
309
+ &:hover{
310
+ // background: #000;
311
+ @include themeColor("background-color",'hover',0.1)
312
+ }
313
+ &:active{
314
+ // background: #000;
315
+ @include themeColor("background-color",'active',0.1)
316
+ }
317
+ }
318
+ }
319
+ .foot{
320
+ display: flex;
321
+ border-top: 1px solid #f0f0f0;
322
+ height: 48px;
323
+ text-align: center;
324
+ line-height: 48px;
325
+ >div{
326
+ flex: 1;
327
+ cursor: pointer;
328
+ user-select: none;
329
+ &:nth-of-type(1){
330
+ border-right: 1px solid #f0f0f0;
331
+ }
332
+ &:hover{
333
+ @include themeColor("color",'hover');
334
+ @include themeColor("background-color",'hover',0.1);
335
+ }
336
+ &:active{
337
+ @include themeColor("color",'active');
338
+ @include themeColor("background-color",'active',0.1);
339
+ }
340
+ }
341
+ }
342
+ }
@@ -0,0 +1,214 @@
1
+ .sidebarBox{
2
+ width: 210px;
3
+ // background: #282f45;
4
+ @include theme('background-color','sidebar_bgColor');
5
+ @include theme('color','sidebar_color');
6
+ display: flex;
7
+ flex-direction: column;
8
+ transition: all 0.3s ease;
9
+ user-select: none;
10
+ position: relative;
11
+ z-index: 100;
12
+ &.mini{
13
+ width: 48px;
14
+ .sildeBody {
15
+ overflow: visible;
16
+ }
17
+ .childrenBox {
18
+ overflow: visible;
19
+ position: relative;
20
+ &.open .header {
21
+ .icon{
22
+ color: #7d85a3 !important;
23
+ }
24
+ }
25
+ .header{
26
+ .icon{
27
+ transform: scale(1.3);
28
+ }
29
+ .name,.pointer{
30
+ opacity: 0;
31
+ // display: none;
32
+ }
33
+
34
+ }
35
+ &.mini{
36
+ &:hover{
37
+ .header{
38
+ .icon{
39
+ &.itemColor_0{
40
+ color: #4098e3 !important;
41
+ }
42
+ &.itemColor_1{
43
+ color: #ffa310 !important;
44
+ }
45
+ &.itemColor_2{
46
+ color: #c87ccd !important;
47
+ }
48
+ &.itemColor_3{
49
+ color: #00c05f !important;
50
+ }
51
+ }
52
+ }
53
+ .children{
54
+ display: block !important;
55
+ visibility: visible;
56
+ // left: 42px;
57
+ opacity: 1;
58
+ transform: scale(1);
59
+ }
60
+ }
61
+ .children{
62
+ display: block !important;
63
+ visibility: hidden;
64
+ opacity: 0;
65
+ width: 210px;
66
+ position: absolute;
67
+ border-radius: 5px;
68
+ top: 0;
69
+ z-index: 999;
70
+ transition: all 0.2s ease 0.2s;
71
+ transform: scale(0.8);
72
+ transform-origin: 0 0;
73
+ left: 42px;
74
+ box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
75
+
76
+ }
77
+ }
78
+ }
79
+
80
+ }
81
+
82
+ .sildetop{
83
+ height: 48px;
84
+ line-height: 48px;
85
+ padding-left: 15px;
86
+ // color: #acb5ce;
87
+ &:hover{
88
+ color: #d4dbef;
89
+ }
90
+ &:active{
91
+ color: #acb5ce;
92
+ }
93
+ i{
94
+ cursor: pointer;
95
+ }
96
+ }
97
+ .sildeBody{
98
+ flex-grow: 1;
99
+ overflow: auto;
100
+ background: url("~gy-webcode2/img/slogan.png") bottom no-repeat;
101
+ &.seriesLogoHide{
102
+ background-image: none;
103
+ }
104
+ }
105
+
106
+ .childrenBox{
107
+ transition: all 0.3s ease;
108
+ overflow: hidden;
109
+
110
+ .header{
111
+ height: 44px;
112
+ line-height: 44px;
113
+ display: flex;
114
+ // padding-left: 8px;
115
+ // color: #acb5ce;
116
+ cursor: pointer;
117
+ transition: all 0.3s ease;
118
+ position: relative;
119
+ &:hover{
120
+ color: #60abff ;
121
+ }
122
+ .icon{
123
+ transition: all 0.3s ease;
124
+ width: 42px;
125
+ color: #7d85a3;
126
+ text-align: center;
127
+ position: absolute;
128
+ left: 0;
129
+ bottom: 0;
130
+ top: 0;
131
+ }
132
+ .name{
133
+ transition: all 0.3s ease;
134
+ flex: 1;
135
+ padding-left: 42px;
136
+ }
137
+ .pointer{
138
+ transition: all 0.3s ease;
139
+ width: 26px;
140
+ .open{
141
+ display: none;
142
+ }
143
+ .hide{
144
+ display: inline;
145
+ }
146
+ }
147
+ }
148
+ .children{
149
+ @include theme('background-color','sidebar_children_bgColor');
150
+ font-size: 14px;
151
+ // padding: 4px ;
152
+ // padding: 0 4px;
153
+ ul{
154
+ padding-top: 8px;
155
+ padding-left: 5px;
156
+ padding-right: 5px;
157
+ overflow: hidden;
158
+ // padding: 5px 0 5px 45px;
159
+ li{
160
+ overflow: hidden;
161
+ line-height: 40px;
162
+ cursor: pointer;
163
+ padding-right: 10px;
164
+ padding-left: 45px;
165
+ // color: #acb5ce;
166
+ transition: all 0.3s ease;
167
+ // margin: 4px ;
168
+ margin-bottom: 8px;
169
+ border-radius: 5px;
170
+ &:hover{
171
+ @include themeColor('color','sidebar_menu2_hoverColor');
172
+ @include themeColor('background-color','sidebar_menu2_hoverBgColor');
173
+ }
174
+ &:active{
175
+ @include themeColor('background-color','sidebar_menu2_activeBgColor')
176
+ }
177
+ &.active{
178
+ @include themeColor('background-color','sidebar_menu2_activeBgColor');
179
+ @include themeColor('color','sidebar_menu2_activeColor');
180
+ }
181
+ }
182
+ }
183
+ }
184
+
185
+ &.open{
186
+ .header{
187
+ @include themeColor('color','sidebar_menu1_activeColor');
188
+ .icon{
189
+ // color: #2394e6 !important;
190
+ &.itemColor_0{
191
+ color: #4098e3;
192
+ }
193
+ &.itemColor_1{
194
+ color: #ffa310;
195
+ }
196
+ &.itemColor_2{
197
+ color: #c87ccd;
198
+ }
199
+ &.itemColor_3{
200
+ color: #00c05f;
201
+ }
202
+ }
203
+ .pointer{
204
+ .open{
205
+ display: inline;
206
+ }
207
+ .hide{
208
+ display: none;
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
@@ -0,0 +1,134 @@
1
+ .myTable{
2
+ .el-table{
3
+ color:$color;
4
+ td,th{
5
+ padding: 12px 0 !important;
6
+ }
7
+ th{
8
+ background: #fafafa;
9
+ border-right: 1px solid #ebebeb;
10
+ >.cell{
11
+ color:$color;
12
+ font-weight: initial;
13
+ font-size: 14px;
14
+ }
15
+ &:nth-of-type(1){
16
+ border-radius: 8px 0 0 0 ;
17
+ }
18
+ &:nth-last-child(2){
19
+ border-radius:0 8px 0 0 ;
20
+ }
21
+ }
22
+ .cell{
23
+ line-height: 20px;
24
+ padding-left:10px;
25
+ padding-right:10px;
26
+ }
27
+
28
+ }
29
+ .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{
30
+ @include themeColor("background-color",'hover',0.1)
31
+ }
32
+
33
+ .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{
34
+ border-bottom: 1px solid #ebebeb;
35
+ }
36
+ .el-table--border .el-table__cell, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{
37
+ border-right: 1px solid #ebebeb;
38
+ }
39
+
40
+ .el-table--border, .el-table--group{
41
+ // border: none;
42
+ border: 1px solid #ebebeb;
43
+ }
44
+ .el-table--border {
45
+ border-right: none;
46
+ border-bottom: none;
47
+ }
48
+
49
+
50
+
51
+
52
+ .el-table .cell{
53
+ font-size: 12px;
54
+ }
55
+
56
+ .el-table__column-filter-trigger{
57
+ line-height:20px;
58
+ }
59
+ .el-table .caret-wrapper{
60
+ height: 20px;
61
+ }
62
+ .el-table .sort-caret.ascending{
63
+ top: -1px;
64
+ }
65
+ .el-table .sort-caret.descending{
66
+ bottom: -1px;
67
+ }
68
+ &.gutter .el-table th.gutter{
69
+ background: #f3f3f3;
70
+ display: table-cell!important;
71
+ }
72
+
73
+ .tr_error{
74
+ background: #fff0f0;
75
+ }
76
+ .tr_error_hong{
77
+ background: #FEF0F0;
78
+ }
79
+ .tr_error_huang{
80
+ background: #FDF6EC;
81
+ }
82
+ }
83
+ .myTable_pages{
84
+ text-align:right;
85
+ padding:10px 10px;
86
+ }
87
+
88
+ .myTable2{
89
+ text-align: center;
90
+ table{
91
+ width: 100%;
92
+ }
93
+ th,td{
94
+ padding: 10px 8px;
95
+ }
96
+ td{
97
+ border-bottom: 1px solid #f0f0f0;
98
+ color: $color1;
99
+ font-size: 14px;
100
+ }
101
+ th{
102
+ font-weight: normal;
103
+ background: #fafafa;
104
+ border-bottom: 1px solid #ebebeb;
105
+ color: $color1;
106
+ font-size: 14px;
107
+ &:nth-of-type(1){
108
+ border-radius: 8px 0 0 0 ;
109
+ }
110
+ &:nth-last-child(2){
111
+ border-radius:0 8px 0 0 ;
112
+ }
113
+ }
114
+ }
115
+
116
+
117
+ .xqTable {
118
+ font-size: 12px;
119
+ table {
120
+ width: 100%;
121
+ border-left: 1px solid #cccccc;
122
+ border-top: 1px solid #cccccc;
123
+ }
124
+ td {
125
+ line-height: 18px;
126
+ padding: 5px;
127
+ border-right: 1px solid #cccccc;
128
+ border-bottom: 1px solid #cccccc;
129
+ }
130
+ .td_title {
131
+ vertical-align: top;
132
+ background: #f3f3f3;
133
+ }
134
+ }