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,338 @@
1
+
2
+ .wrapper{
3
+ position: absolute;
4
+ left: 0;
5
+ top: 0;
6
+ bottom: 0;
7
+ right: 0;
8
+ overflow: hidden;
9
+ display: flex;
10
+ flex-direction: column;
11
+ .wrapper_body{
12
+ flex: 1;
13
+ height: 0;
14
+ display: flex;
15
+ &.max{
16
+ left: 40px;
17
+ }
18
+ }
19
+ .wrapper_main{
20
+ position: relative;
21
+ flex: 1;
22
+ }
23
+ }
24
+ .contentBox,.componentBody{
25
+ position: absolute;
26
+ left: 0;
27
+ right: 0;
28
+ top: 0;
29
+ bottom: 0;
30
+ display:flex;
31
+ flex-direction: column;
32
+ >.content{
33
+ background: #fff;
34
+ position: relative;
35
+ margin: 0 16px 0 16px;
36
+ flex: 1;
37
+ overflow: hidden;
38
+ border-radius: 10px;
39
+ }
40
+ >.content2{
41
+ flex:1;
42
+ display: flex;
43
+ margin: 0 16px 0 16px;
44
+ height: 0;
45
+ .left{
46
+ background: #fff;
47
+ width: 240px;
48
+ position: relative;
49
+ overflow: hidden;
50
+ margin-right: 16px;
51
+ border-radius: 10px;
52
+ }
53
+ .right{
54
+ width: 0;
55
+ border-radius: 10px;
56
+ overflow: hidden;
57
+ flex: 1;
58
+ background: #fff;
59
+ }
60
+ }
61
+
62
+ }
63
+ .componentBody{
64
+ z-index: 5;
65
+ background: #f0f2f5;
66
+
67
+ }
68
+ .contentMargin{
69
+ margin: 16px 16px 0 16px;
70
+ }
71
+ .emptyData{
72
+ text-align:center;
73
+ color:#aaa;
74
+ i{
75
+ font-size: 80px;
76
+ color:#eee;
77
+ display:block;
78
+ margin-bottom: 10px;
79
+ padding-top:20px;
80
+ }
81
+ }
82
+
83
+ .breadcrumb{
84
+ // height: 88px;
85
+
86
+ // line-height: 40px;
87
+ .row1{
88
+ padding-left: 15px;
89
+ padding-right: 15px;
90
+ // height: 44px;
91
+ align-items: center;
92
+ overflow: hidden;
93
+ position: relative;
94
+ padding-top: 15px;
95
+ // padding-bottom: 10px;
96
+ // padding-bottom: 12px;
97
+
98
+ display: flex;
99
+ justify-content: space-between;
100
+ .s1{
101
+ // color: #1890ff;
102
+ @include themeColor('color');
103
+ }
104
+
105
+ .title{
106
+ display: flex;
107
+ align-items: center;
108
+ color:#595959;
109
+ .iconBox{
110
+ width:30px;
111
+ text-align: center;
112
+ font-size: 16px;
113
+ font-weight: bold;
114
+ }
115
+ }
116
+ }
117
+ .myHover{
118
+ cursor: pointer;
119
+ &:hover{
120
+ @include themeColor("color",'hover')
121
+ }
122
+ &:active{
123
+ @include themeColor("color",'active')
124
+ }
125
+ }
126
+ }
127
+
128
+ .pageHeader{
129
+ padding-left: 16px;
130
+ padding-right: 16px;
131
+ height: 32px;
132
+ color: #262626;
133
+
134
+ // margin-top: 5px;
135
+ display: flex;
136
+ justify-content: space-between;
137
+ // margin-bottom: 8px;
138
+ align-items: center;
139
+ // align-items: flex-end;
140
+ // margin-bottom: 16px;
141
+ margin-bottom: 10px;
142
+ margin-top: 10px;
143
+ .name{
144
+ font-size: 20px;
145
+ }
146
+ .myHover{
147
+ cursor: pointer;
148
+ &:hover{
149
+ @include themeColor("color",'hover')
150
+ }
151
+ &:active{
152
+ @include themeColor("color",'active')
153
+ }
154
+ }
155
+ // border: 1px solid #000;
156
+ }
157
+
158
+
159
+ .findBox{
160
+ display: flex;
161
+ flex-wrap: wrap;
162
+ // justify-content: space-between;
163
+ padding-top: 12px;
164
+ padding-left: 12px;
165
+ padding-right: 12px;
166
+ line-height: 32px;
167
+ &.noPad{
168
+ padding:12px 0 0 0;
169
+ }
170
+ .start{
171
+ display: flex;
172
+ // .item{
173
+ // margin-right: 8px;
174
+ // }
175
+ }
176
+ .end{
177
+ display: flex;
178
+ margin-left: auto;
179
+ // .item{
180
+ // margin-left: 8px;
181
+ // }
182
+ }
183
+ .item{
184
+ padding-bottom: 12px;
185
+ display: flex;
186
+ align-items: center;
187
+ // margin-right: 8px;
188
+ margin: 0 4px;
189
+
190
+ }
191
+
192
+ }
193
+
194
+ .myDrawer{
195
+ position: absolute;
196
+ left: 0;
197
+ right: 0;
198
+ top: 0;
199
+ bottom: 0;
200
+ display: flex;
201
+ flex-direction: column;
202
+ .header{
203
+ height: 56px;
204
+ display: flex;
205
+ align-items: center;
206
+ border-bottom: 1px solid #f0f0f0;
207
+ padding-left: 24px;
208
+ font-size: 16px;
209
+ padding-right: 24px;
210
+ justify-content: space-between;
211
+ .close{
212
+ margin-right: 10px;
213
+ cursor: pointer;
214
+ }
215
+ }
216
+ .body{
217
+ position: relative;
218
+ .row1{
219
+ padding: 10px 0;
220
+ // padding: 10px 0 5px 0;
221
+ font-weight: bold;
222
+ }
223
+ .stylPreview{
224
+ display: flex;
225
+ padding: 10px 0;
226
+ .item{
227
+ position: relative;
228
+ width: 64px;
229
+ height: 48px;
230
+ margin-right: 16px;
231
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
232
+ cursor: pointer;
233
+ .iconBox{
234
+ display: none;
235
+ color: #1890ff ;
236
+ font-size: 20px;
237
+ width: 20px;
238
+ height: 20px;
239
+ position: absolute;
240
+ left: 30px;
241
+ top: 22px;
242
+ }
243
+ &.active .iconBox{
244
+ display: block;
245
+ }
246
+ &.item_1{
247
+ background-image: url("~gy-webcode2/img/theme/pageStyle_1.png");
248
+ }
249
+ &.item_2{
250
+ background-image: url("~gy-webcode2/img/theme/pageStyle_2.png");
251
+ }
252
+ &.item_3{
253
+ background-image: url("~gy-webcode2/img/theme/pageStyle_3.png");
254
+ }
255
+ }
256
+ }
257
+ .themeColors{
258
+ display: flex;
259
+ padding: 10px 0;
260
+ .item{
261
+ width: 20px;
262
+ height: 20px;
263
+ background: #000;
264
+ border-radius: 4px;
265
+ margin-right: 8px;
266
+ display: flex;
267
+ align-items: center;
268
+ justify-content: center;
269
+ text-align: center;
270
+ line-height: 20px;
271
+ color: #fff;
272
+ font-size: 12px;
273
+ cursor: pointer;
274
+ .iconBox{
275
+ display: none;
276
+ }
277
+ &.active .iconBox{
278
+ display: block;
279
+ }
280
+ }
281
+ }
282
+ }
283
+
284
+ }
285
+ .myContainer{
286
+ border-radius: 8px;
287
+ background: #fff;
288
+ overflow: hidden;
289
+ }
290
+ .myformFoot{
291
+ height: 56px;
292
+ position: relative;
293
+ .shadow{
294
+ background: #fff;
295
+ height: 56px;
296
+ border-top: 1px solid #fafafa;
297
+ box-shadow: 0px 0 10px 0px #fafafa;
298
+ display: flex;
299
+ align-items: center;
300
+ padding-left: 140px;
301
+ }
302
+ }
303
+ .myPage{
304
+ padding:10px 16px;
305
+ text-align: right;
306
+ }
307
+
308
+ .common_settings {
309
+ position: absolute;
310
+ right: 8px;
311
+ top: 8px;
312
+ display: flex;
313
+ opacity: 0;
314
+ transition: all 0.2s ease;
315
+
316
+ span {
317
+ width: 20px;
318
+ height: 20px;
319
+ // background: #a4d1cd;
320
+ @include themeColor('background-color','hover',0.5);
321
+ border-radius: 3px;
322
+ color: #fff;
323
+ display: flex;
324
+ align-items: center;
325
+ justify-content: center;
326
+ cursor: pointer;
327
+ margin-left: 4px;
328
+ font-size: 12px;
329
+
330
+ &:hover {
331
+ @include themeColor('background-color','hover');
332
+ }
333
+ &:active {
334
+ @include themeColor('background-color','active');
335
+ }
336
+
337
+ }
338
+ }
package/css/login.scss ADDED
@@ -0,0 +1,122 @@
1
+ .loginBody{
2
+ background:#00656b url("~gy-webcode2/img/login_bg2.jpg") top center no-repeat;
3
+ background-size: 100% 100%;
4
+ position: absolute;
5
+ left: 0;
6
+ top: 0;
7
+ right: 0;
8
+ // height: 100%;
9
+ bottom: 0;
10
+ overflow: auto;
11
+
12
+ }
13
+ .loginBox{
14
+ width: 740px;
15
+ height: 390px;
16
+ background: #fff url("~gy-webcode2/img/login_bg2.png") top left no-repeat;
17
+ border-radius: 10px;
18
+ position: absolute;
19
+ left: 0;
20
+ right: 0;
21
+ bottom: 0;
22
+ top: 0;
23
+ margin:auto;
24
+ padding-left: 370px;
25
+ .logo{
26
+ height: 80px;
27
+ background-repeat: no-repeat;
28
+ background-size: auto 55%;
29
+ background-position: center;
30
+ }
31
+ .projectName{
32
+ text-align:center;
33
+ font-size: 28px;
34
+ height: 75px;
35
+ }
36
+ .nrBox{
37
+ height: 180px;
38
+ padding: 0 30px;
39
+ }
40
+
41
+ .login_inputBox{
42
+ position: relative;
43
+ // margin-bottom: 20px;
44
+ input{
45
+ display:block;
46
+ outline:none;
47
+ width: 100%;
48
+ border: 1px solid #cccccc;
49
+ height: 40px;
50
+ padding: 0 10px;
51
+ caret-color: #009fa2;
52
+ &:focus{
53
+ border: 1px solid #009fa2;
54
+ }
55
+
56
+ &.yzmInput{
57
+ padding-right: 120px;
58
+ }
59
+ }
60
+ .yznBtn{
61
+ position: absolute;
62
+ width: 80px;
63
+ height: 30px;
64
+ right: 4px;
65
+ top:5px;
66
+ color: #fff;
67
+ font-size: 12px;
68
+ border-radius: 3px;
69
+ cursor: pointer;
70
+ background: #325bc0;
71
+ text-align:center;
72
+ line-height: 30px;
73
+ user-select: none;
74
+ &:hover{
75
+ background: #325bc0;
76
+ }
77
+ }
78
+
79
+ .inputInfo{
80
+ font-size: 12px;
81
+ overflow: hidden;
82
+ line-height: 25px;
83
+ height: 25px;
84
+ .error{
85
+ color: #c4261d;
86
+ }
87
+ }
88
+ }
89
+ .wjmm{
90
+ color: #0095df;
91
+ }
92
+ .login_btn{
93
+ display:block;
94
+ width: 100%;
95
+ border: none;
96
+ margin-top: 10px;
97
+ height: 40px;
98
+ color: #fff;
99
+ background: #325bc0;
100
+ outline: none;
101
+ cursor: pointer;
102
+ }
103
+ .loginOption{
104
+ padding: 0 30px;
105
+ color: #325bc0;
106
+ line-height: 30px;
107
+ font-size: 20px;
108
+ i{
109
+ cursor:pointer;
110
+ }
111
+ }
112
+
113
+ .logo_ewm{
114
+ text-align: center;
115
+ p{
116
+ font-size: 12px;
117
+ margin-top: 10px;
118
+ }
119
+ }
120
+
121
+
122
+ }
@@ -0,0 +1,2 @@
1
+
2
+
@@ -0,0 +1,58 @@
1
+ //文字颜色
2
+ .color_hong{
3
+ // color: #b61f1f;
4
+ color:#d81e06 !important;
5
+ }
6
+ .color_lv{
7
+ color: #52c41a !important;
8
+ }
9
+
10
+ .color_lv2{
11
+ // color: #0e8782;
12
+ color: #12c9b5;
13
+ }
14
+
15
+ .color_huang{
16
+ color:#fbb200 !important;
17
+ }
18
+ .color_huang2{
19
+ color: #ff8834 !important;
20
+ }
21
+ .color_333{
22
+ color: #333333 !important;
23
+ }
24
+ .color_666{
25
+ color:#666666 !important;
26
+ }
27
+ .color_aaa{
28
+ color:#aaaaaa !important;
29
+ }
30
+ .color_fff{
31
+ // color: #b61f1f;
32
+ color:#fff !important;
33
+ }
34
+ .color_5487ee{
35
+ color:#5487ee;
36
+ }
37
+
38
+ .color_ccc{
39
+ color: #ccc;
40
+ }
41
+
42
+ .color_eee{
43
+ color: #eee;
44
+ }
45
+ .color_cheng{
46
+ color: #fa8c16;
47
+ }
48
+ .color_2{
49
+ color: $color2;
50
+ }
51
+
52
+ .color_4{
53
+ color: $color4;
54
+ // background-color: rgba($color: #000000, $alpha: 1.0);
55
+ }
56
+ .bg_fff{
57
+ background: #fff !important;
58
+ }