gp-designer 1.0.23 → 1.0.24

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.
@@ -0,0 +1,809 @@
1
+ /* 自定义整个滚动条 */
2
+ ::-webkit-scrollbar {
3
+ width: 4px; /* 设置滚动条的宽度 */
4
+ height: 4px;
5
+ }
6
+
7
+ /* 自定义滚动条轨道 */
8
+ ::-webkit-scrollbar-track {
9
+ background: #f1f1f1; /* 设置轨道的背景颜色 */
10
+ }
11
+
12
+ /* 自定义滚动条的滑块(thumb) */
13
+ ::-webkit-scrollbar-thumb {
14
+ background: rgba(53, 116, 230, 0.3); /* 设置滑块的背景颜色 */
15
+ border-radius: 12px;
16
+ }
17
+
18
+ /* 当滑块悬停或活动时,可以添加更多样式 */
19
+ ::-webkit-scrollbar-thumb:hover {
20
+ background: rgba(53, 116, 230, 1); /* 设置滑块在悬停状态下的背景颜色 */
21
+ cursor: pointer;
22
+ }
23
+
24
+ .theme_color {
25
+ color: #3574e6 !important;
26
+ }
27
+ .theme_bg {
28
+ background: #3574e6 !important;
29
+ }
30
+ .theme_border {
31
+ border-color: #3574e6 !important;
32
+ }
33
+
34
+ .danger_color {
35
+ color: #f01d1d;
36
+ }
37
+ .danger_bg {
38
+ background: rgba(240, 29, 29, 0.8) !important;
39
+ }
40
+ .danger_border {
41
+ border-color: #f01d1d !important;
42
+ }
43
+ .mb40 {
44
+ margin-bottom: 40px;
45
+ }
46
+
47
+ img{
48
+ object-fit: cover;
49
+ }
50
+
51
+ /* flex public */
52
+ .add_modules .iconfont,
53
+ .add_modules span,
54
+ .top_box,
55
+ .top_logo,
56
+ .intro_cate,
57
+ .service_tip,
58
+ .module1_content,
59
+ .module2_content,
60
+ .aidition,
61
+ .aidition_right,
62
+ .module2_content2,
63
+ .module2_content3,
64
+ .cont_aidition,
65
+ .course_box2,
66
+ .course_box3 {
67
+ display: flex;
68
+ flex-direction: row;
69
+ }
70
+
71
+ .web_top,
72
+ .course_box,
73
+ .top_service,
74
+ .module1,
75
+ .module2,
76
+ .module3,
77
+ .module3_content,
78
+ .content_top,
79
+ .intro_left,
80
+ .year,
81
+ .recruit,
82
+ .teachers,
83
+ .course_box2_txt,
84
+ .course_box3_txt,
85
+ .txt_box {
86
+ display: flex;
87
+ flex-direction: column;
88
+ }
89
+
90
+ /* 模块样式 */
91
+ .add_modules {
92
+ display: none;
93
+ position: absolute;
94
+ bottom: -40px;
95
+ left: 0;
96
+ flex-direction: row;
97
+ align-items: center;
98
+ justify-content: center;
99
+ width: 100%;
100
+ height: 40px;
101
+ background: #eeeeee;
102
+ font-size: 14px;
103
+ font-weight: 400;
104
+ line-height: 20;
105
+ color: #333;
106
+ cursor: pointer;
107
+ }
108
+ .add_modules .iconfont,
109
+ .add_modules span {
110
+ height: 14px;
111
+ align-items: center;
112
+ justify-content: center;
113
+ }
114
+ .add_modules .iconfont {
115
+ height: 14px;
116
+ margin: 6px;
117
+ }
118
+
119
+ /* 添加 图标 */
120
+ .icon_gray_add {
121
+ display: none;
122
+ justify-content: center;
123
+ align-items: center;
124
+ position: absolute;
125
+ right: -36px;
126
+ top: 50%;
127
+ color: #999;
128
+ font-size: 35px !important;
129
+ width: 35px;
130
+ height: 35px;
131
+ cursor: pointer;
132
+ }
133
+ .icon_gray_add:hover {
134
+ color: #666;
135
+ }
136
+ .course_box2 .icon_gray_add,
137
+ .course_box3 .icon_gray_add {
138
+ right: -50px;
139
+ }
140
+ .cont_aidition {
141
+ /* display: none; */
142
+ background: white;
143
+ box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
144
+ padding: 8px 12px;
145
+ position: absolute;
146
+ top: -38px;
147
+ right: 0px;
148
+ column-gap: 24px;
149
+ height: 32px;
150
+ align-items: center;
151
+ }
152
+ .cont_aidition span {
153
+ color: #999;
154
+ cursor: pointer;
155
+ }
156
+ .cont_aidition span:hover {
157
+ color: #666;
158
+ }
159
+
160
+ .goodschool {
161
+ width: 100%;
162
+ height: 100%;
163
+ overflow: hidden;
164
+ color: #333333;
165
+ background: #eff1f7;
166
+ }
167
+ .goodschool_web {
168
+ flex: 1;
169
+ height: 100%;
170
+ /* overflow-y: auto; */
171
+ }
172
+ /* 头部 */
173
+ .web_top {
174
+ padding: 10px 140px;
175
+ background: white;
176
+ position: relative;
177
+ }
178
+ .top_box {
179
+ width: 100%;
180
+ /* height: 80px; */
181
+ /* padding: 0 140px; */
182
+ justify-content: space-between;
183
+ align-items: center;
184
+ }
185
+ /* 左边logo */
186
+ .top_logo {
187
+ position: relative;
188
+ align-items: center;
189
+ column-gap: 16px;
190
+ }
191
+ .school_logo {
192
+ width: 60px;
193
+ height: 60px;
194
+ }
195
+ .school_name {
196
+ font-size: 28px;
197
+ font-weight: 700;
198
+ }
199
+
200
+ /* 右边热线 */
201
+ .top_service {
202
+ align-items: end;
203
+ }
204
+ .service_hot_line {
205
+ font-size: 24px;
206
+ font-weight: 700;
207
+ line-height: 32px;
208
+ }
209
+ .service_tip {
210
+ position: relative;
211
+ align-items: center;
212
+ column-gap: 8px;
213
+ }
214
+ .service_tip .iconfont {
215
+ font-size: 20px;
216
+ }
217
+ .tip_text {
218
+ font-size: 16px;
219
+ }
220
+
221
+ /* banner */
222
+ .top_banner {
223
+ position: relative;
224
+ }
225
+ .top_banner img {
226
+ width: 100%;
227
+ height: 460px;
228
+ }
229
+
230
+ /* 内容 */
231
+ .module1,
232
+ .module2,
233
+ .module3 {
234
+ /* padding: 0 140px; */
235
+ background: white;
236
+ position: relative;
237
+ }
238
+ .module1,
239
+ .module2,
240
+ .content_top {
241
+ align-items: center;
242
+ }
243
+ .module1 {
244
+ padding: 0 140px 110px;
245
+ }
246
+ .content_top {
247
+ position: relative;
248
+ width: 100%;
249
+ padding-bottom: 32px;
250
+ }
251
+ .content_title {
252
+ font-size: 44px;
253
+ font-weight: 700;
254
+ margin-top: 52px;
255
+ }
256
+ .title_border {
257
+ height: 14px;
258
+ width: 80px;
259
+ border-bottom: 2px solid #333;
260
+ }
261
+ .content_desc {
262
+ font-size: 20px;
263
+ color: #666;
264
+ line-height: 28px;
265
+ padding-top: 16px;
266
+ }
267
+ .module1_content,
268
+ .module2_content,
269
+ .module3_content {
270
+ width: 100%;
271
+ align-items: center;
272
+ }
273
+
274
+ /* 顶部操作条 */
275
+ .aidition {
276
+ display: none;
277
+ align-items: center;
278
+ justify-content: space-between;
279
+ width: 100%;
280
+ height: 40px;
281
+ background: rgba(0, 0, 0, 0.6);
282
+ color: white;
283
+ font-size: 14px;
284
+ position: absolute;
285
+ top: 0;
286
+ left: 0;
287
+ padding: 0 48px;
288
+ }
289
+ .aidition_right {
290
+ column-gap: 24px;
291
+ }
292
+ .aidition_right span {
293
+ cursor: pointer;
294
+ }
295
+
296
+ /* 模块1 */
297
+ .module1_content {
298
+ position: relative;
299
+ justify-content: space-between;
300
+ padding: 60px 0 0;
301
+ }
302
+ .intro_left {
303
+ flex: 1;
304
+ align-items: start;
305
+ margin-right: 80px;
306
+ }
307
+ .intro_title {
308
+ font-size: 30px;
309
+ font-weight: 700;
310
+ line-height: 36px;
311
+ }
312
+ .title_desc {
313
+ font-size: 20px;
314
+ line-height: 28px;
315
+ color: #dddddd;
316
+ margin-left: 12px;
317
+ }
318
+ .intro_desc {
319
+ margin-top: 32px;
320
+ font-size: 16px;
321
+ line-height: 30px;
322
+ word-break: break-all;
323
+ }
324
+ .intro_line {
325
+ color: #dddddd;
326
+ font-size: 28px;
327
+ font-weight: 100;
328
+ }
329
+ .intro_cate {
330
+ width: 100%;
331
+ margin-top: 60px;
332
+ align-items: center;
333
+ justify-content: space-evenly;
334
+ }
335
+ .year,
336
+ .recruit,
337
+ .teachers {
338
+ align-items: center;
339
+ justify-content: center;
340
+ font-size: 42px;
341
+ font-weight: 700;
342
+ }
343
+ .year_suffix,
344
+ .recruit_suffix,
345
+ .teachers_suffix {
346
+ font-size: 14px;
347
+ }
348
+
349
+ .year_desc,
350
+ .recruit_desc,
351
+ .teachers_desc {
352
+ font-size: 16px;
353
+ color: #666;
354
+ font-weight: 500;
355
+ line-height: 24px;
356
+ margin-top: 2px;
357
+ }
358
+ .intro_img,
359
+ .intro_img_box,
360
+ .intro_img_bg {
361
+ width: 380px;
362
+ height: 507px;
363
+ border-radius: 4px;
364
+ }
365
+ .intro_img_box {
366
+ position: relative;
367
+ }
368
+ .intro_img_bg {
369
+ position: absolute;
370
+ top: 30px;
371
+ left: 30px;
372
+ }
373
+
374
+ .intro_img {
375
+ position: absolute;
376
+ top: 0;
377
+ left: 0;
378
+ }
379
+
380
+ /* 模块2 */
381
+ .module2 {
382
+ padding: 0 140px 90px;
383
+ }
384
+ .module2_content,
385
+ .module2_content2,
386
+ .module2_content3 {
387
+ width: 100%;
388
+ position: relative;
389
+ flex-wrap: wrap;
390
+ display: grid;
391
+ }
392
+ .module2_content2{
393
+ grid-template-columns: repeat(2, minmax(0, 1fr));
394
+ }
395
+
396
+ .module2_content3{
397
+ grid-template-columns: repeat(3, minmax(0, 1fr));
398
+ }
399
+
400
+ .module2_content {
401
+ padding: 50px 0 0;
402
+ }
403
+ .course_box,
404
+ .module2_content2 .course_box {
405
+ position: relative;
406
+ justify-content: start;
407
+ align-items: center;
408
+ margin: 10px;
409
+ padding-bottom: 40px;
410
+ box-shadow: 0 4px 24px 0 #00000014;
411
+ /* overflow: hidden; */
412
+ border-radius: 4px;
413
+ /* max-width: 380px; */
414
+ }
415
+ .module2_content2 .course_box:nth-child(1),
416
+ .module2_content2 .course_box:nth-child(2) {
417
+ /* max-width: 580px; */
418
+ }
419
+ .course_box:hover {
420
+ margin: 0 10px 20px;
421
+ box-shadow: 0 4px 24px 0 #00000029;
422
+ .course_consult{
423
+ background: #3574e6;
424
+ color: #fff !important;
425
+ }
426
+ }
427
+
428
+ .course_box img {
429
+ border-top-right-radius: 4px;
430
+ border-top-left-radius: 4px;
431
+ width: 100%;
432
+ height: 300px;
433
+ }
434
+
435
+ .course_title {
436
+ font-size: 24px;
437
+ line-height: 32px;
438
+ font-weight: 700;
439
+ margin-top: 24px;
440
+ }
441
+ .course_desc {
442
+ word-break: break-all;
443
+ font-size: 14px;
444
+ line-height: 24px;
445
+ margin-top: 14px;
446
+ }
447
+ .course_consult {
448
+ margin-top: 14px;
449
+ border: 1px solid #3574e6;
450
+ border-radius: 20px;
451
+ height: 40px;
452
+ width: 184px;
453
+ }
454
+ .course_title,
455
+ .course_desc,
456
+ .course_consult,
457
+ .course_title,
458
+ .course_desc,
459
+ .course_consult {
460
+ padding: 0 16px;
461
+ text-align: center;
462
+ }
463
+
464
+ /* 模块3 */
465
+ .module3 {
466
+ background: rgba(53, 116, 230, 0.04);
467
+ padding: 0 140px 80px;
468
+ }
469
+ .module3_content {
470
+ padding: 30px 0 0;
471
+ }
472
+ .course_box2,
473
+ .course_box3 {
474
+ width: 100%;
475
+ position: relative;
476
+ margin: 20px 0;
477
+ }
478
+ .course_box2 {
479
+ justify-content: end;
480
+ }
481
+ .course_box3 {
482
+ justify-content: start;
483
+ }
484
+ .course_box2:hover,
485
+ .course_box3:hover {
486
+ margin: 10px 0 30px;
487
+ .course_box2_txt,
488
+ .course_box3_txt {
489
+ box-shadow: 0 4px 24px 0 #00000029;
490
+ }
491
+ }
492
+
493
+ .course_box2_txt,
494
+ .course_box3_txt {
495
+ /* max-width: 980px; */
496
+ width: 72%;
497
+ border-radius: 4px;
498
+ background: white;
499
+ min-height: 320px;
500
+ box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
501
+ }
502
+ .course_box2_txt {
503
+ padding: 20px 40px 20px 0;
504
+ align-items: end;
505
+ }
506
+ .course_box3_txt {
507
+ align-items: start;
508
+ padding: 20px 0 20px 40px;
509
+ }
510
+ .txt_box {
511
+ width: 72%;
512
+ height: 100%;
513
+ align-items: start;
514
+ justify-content: center;
515
+ }
516
+ .txt_title {
517
+ font-size: 24px;
518
+ line-height: 32px;
519
+ font-weight: 700;
520
+ }
521
+ .txt_desc {
522
+ font-size: 14px;
523
+ color: #666;
524
+ line-height: 24px;
525
+ margin-top: 16px;
526
+ word-break: break-all;
527
+ }
528
+ .txt_consult {
529
+ color: #fff;
530
+ font-size: 14px;
531
+ line-height: 20px;
532
+ padding: 6px 24px;
533
+ border-radius: 4px;
534
+ margin-top: 24px;
535
+ }
536
+
537
+ .course_box2_img1,
538
+ .course_box2_img2 {
539
+ position: absolute;
540
+ top: 6.5%;
541
+ /* width: 498px; */
542
+ width: 40.5%;
543
+ height: 87.5%;
544
+ border-radius: 4px;
545
+ }
546
+ .course_box2_img1 {
547
+ left: 0;
548
+ /* padding: 20px 48px 20px 0; */
549
+ }
550
+ .course_box2_img2 {
551
+ right: 0;
552
+ /* padding: 20px 0 20px 48px; */
553
+ }
554
+
555
+ /* .intro_img_bg, */
556
+ .icon_gray_add,
557
+ .course_box .aidition,
558
+ .course_box .add_modules {
559
+ /* display: none; */
560
+ }
561
+
562
+ /* .web_top:focus-within .aidition, */
563
+ /* .top_banner:focus-within .aidition, */
564
+ /* .content_top:focus-within .aidition, */
565
+ /* .module1_content:focus-within .aidition, */
566
+ /* .module1:focus-within > .aidition, */
567
+ /* .module2:focus-within > .aidition, */
568
+ /* .module3:focus-within > .aidition, */
569
+ /* .course_box:last-of-type:focus-within .icon_gray_add, */
570
+ /* .course_box2:last-of-type:focus-within .icon_gray_add, */
571
+ /* .course_box3:last-of-type:focus-within .icon_gray_add, */
572
+ /* .content_top:focus-within .cont_aidition, */
573
+ /* .module1_content:focus-within .cont_aidition, */
574
+ /* .course_box:focus-within .cont_aidition, */
575
+ /* .course_box2:focus-within .cont_aidition, */
576
+ /* .course_box3:focus-within .cont_aidition { */
577
+ /* display: flex; */
578
+ /* } */
579
+
580
+ /* 移動端 */
581
+ .goodschool_mobile {
582
+ .mb40 {
583
+ margin-bottom: 0;
584
+ }
585
+ .web_top,
586
+ .course_title,
587
+ .course_desc,
588
+ .course_consult,
589
+ .module3 {
590
+ padding: 0;
591
+ }
592
+ .top_box {
593
+ padding: 0 16px;
594
+ height: 56px;
595
+ }
596
+ .top_logo {
597
+ column-gap: 6px;
598
+ }
599
+ .school_logo {
600
+ width: 40px;
601
+ height: 40px;
602
+ }
603
+ .school_name {
604
+ font-size: 20px;
605
+ line-height: 20px;
606
+ }
607
+ .top_service {
608
+ row-gap: 2px;
609
+ }
610
+ .service_hot_line {
611
+ font-size: 16px;
612
+ line-height: 16px;
613
+ }
614
+ .service_tip {
615
+ font-size: 12px;
616
+ line-height: 12px;
617
+ column-gap: 4px;
618
+ }
619
+ .service_tip .iconfont {
620
+ width: 12px;
621
+ height: 12px;
622
+ font-size: 12px;
623
+ }
624
+ .top_banner img {
625
+ height: 150px;
626
+ width: 100%;
627
+ }
628
+
629
+ /* 模块1 */
630
+ .module1 {
631
+ padding: 0 16px;
632
+ }
633
+ .web_top {
634
+ padding: 0;
635
+ }
636
+
637
+ .content_top {
638
+ padding-bottom: 14px;
639
+ }
640
+ .content_title {
641
+ font-size: 20px;
642
+ margin: 20px 0 0;
643
+ }
644
+ .title_border {
645
+ width: 32px;
646
+ height: 10px;
647
+ }
648
+ .content_desc {
649
+ padding-top: 8px;
650
+ font-size: 12px;
651
+ line-height: 16px;
652
+ }
653
+ .module1_content {
654
+ padding: 203px 0 40px;
655
+ position: relative;
656
+ }
657
+ .intro_left {
658
+ margin: 24px 0 0;
659
+ }
660
+ .intro_title {
661
+ font-size: 16px;
662
+ line-height: 16px;
663
+ }
664
+ .title_desc {
665
+ font-size: 12px;
666
+ margin-left: 6px;
667
+ }
668
+ .intro_desc {
669
+ margin-top: 12px;
670
+ font-size: 12px;
671
+ line-height: 20px;
672
+ color: #666;
673
+ }
674
+ .intro_cate {
675
+ margin-top: 32px;
676
+ padding: 0 14px;
677
+ }
678
+ .year,
679
+ .recruit,
680
+ .teachers {
681
+ font-size: 24px;
682
+ }
683
+
684
+ .year_suffix,
685
+ .recruit_suffix,
686
+ .teachers_suffix,
687
+ .year_desc,
688
+ .recruit_desc,
689
+ .teachers_desc {
690
+ font-size: 12px;
691
+ }
692
+
693
+ .intro_img_box {
694
+ position: absolute;
695
+ top: 10px;
696
+ width: 100%;
697
+ height: 193px;
698
+ }
699
+ .intro_img {
700
+ width: 100%;
701
+ height: 100%;
702
+ }
703
+
704
+ /* 模块2 */
705
+ .module2 {
706
+ padding: 0;
707
+ background: rgba(53, 116, 230, 0.04);
708
+ }
709
+ .module2_content,
710
+ .module3_content {
711
+ padding: 0 16px 24px;
712
+ margin: 0 0 20px;
713
+ flex-direction: row;
714
+ flex-wrap: nowrap;
715
+ overflow-x: auto;
716
+ column-gap: 8px;
717
+ }
718
+ .module2_content2,
719
+ .module2_content3 {
720
+ flex-direction: row;
721
+ flex-wrap: nowrap;
722
+ column-gap: 8px;
723
+ }
724
+ .course_box,
725
+ .course_box2,
726
+ .course_box3 {
727
+ margin: 0;
728
+ padding: 10px 10px 32px;
729
+ background: #fff;
730
+ /* min-width: 318px; */
731
+ /* width: 318px; */
732
+ }
733
+ .course_box img,
734
+ .course_box2_img1,
735
+ .course_box2_img2 {
736
+ width: 100%;
737
+ height: 154px;
738
+ }
739
+
740
+ .course_title,
741
+ .txt_title {
742
+ font-size: 16px;
743
+ line-height: 16px;
744
+ }
745
+ .course_desc,
746
+ .txt_desc {
747
+ font-size: 12px;
748
+ line-height: 20px;
749
+ color: #666;
750
+ }
751
+
752
+ .course_box2:hover,
753
+ .course_box3:hover {
754
+ margin: 0;
755
+ }
756
+
757
+ .course_consult,
758
+ .txt_consult,
759
+ .intro_img_bg{
760
+ display: none;
761
+ }
762
+
763
+ /* 模块3 */
764
+
765
+ .module3_content {
766
+ padding: 0 16px 24px;
767
+ }
768
+ .course_box2,
769
+ .course_box3 {
770
+ margin: 0;
771
+ flex-direction: column;
772
+ }
773
+ .course_box2_img1 {
774
+ padding: 0;
775
+ position: unset;
776
+ }
777
+ .course_box2_txt,
778
+ .course_box3_txt {
779
+ width: 100%;
780
+ min-height: auto;
781
+ padding: 0;
782
+ margin: 0;
783
+ box-shadow: unset;
784
+ }
785
+ .course_box2:hover .course_box2_txt,
786
+ .course_box3:hover .course_box3_txt {
787
+ box-shadow: none;
788
+ }
789
+ .txt_box {
790
+ width: 100%;
791
+ align-items: center;
792
+ }
793
+ .txt_title {
794
+ margin-top: 24px;
795
+ }
796
+ .txt_desc {
797
+ margin-top: 14px;
798
+ text-align: center;
799
+ }
800
+ .course_box2_img2 {
801
+ width: 298px;
802
+ top: 10px;
803
+ left: 10px;
804
+ padding: 0;
805
+ }
806
+ .course_box3_txt {
807
+ padding-top: 154px;
808
+ }
809
+ }