Procházet zdrojové kódy

最新改版开发

zjm
等你 před 3 měsíci
rodič
revize
3c377da284
100 změnil soubory, kde provedl 2701 přidání a 1019 odebrání
  1. binární
      dev/static/images/index/aboutbg.png
  2. binární
      dev/static/images/index/aboutbg2.png
  3. binární
      dev/static/images/index/aboutbg3.png
  4. binární
      dev/static/images/index/aboutbg4.png
  5. binární
      dev/static/images/index/aboutbg5.png
  6. binární
      dev/static/images/index/aboutbg6.png
  7. binární
      dev/static/images/index/aboutbg7.png
  8. binární
      dev/static/images/index/aboutbgm.jpg
  9. binární
      dev/static/images/index/corporate1.jpg
  10. binární
      dev/static/images/index/corporate2.jpg
  11. binární
      dev/static/images/index/corporate3.jpg
  12. binární
      dev/static/images/index/his1995.jpg
  13. binární
      dev/static/images/index/his1997.jpg
  14. binární
      dev/static/images/index/his2001.jpg
  15. binární
      dev/static/images/index/his2002.jpg
  16. binární
      dev/static/images/index/his2003.jpg
  17. binární
      dev/static/images/index/his2004.jpg
  18. binární
      dev/static/images/index/his2005.jpg
  19. binární
      dev/static/images/index/his2006.jpg
  20. binární
      dev/static/images/index/his2009.jpg
  21. binární
      dev/static/images/index/his2011.jpg
  22. binární
      dev/static/images/index/his2013.jpg
  23. binární
      dev/static/images/index/his2014.jpg
  24. binární
      dev/static/images/index/his2015.jpg
  25. binární
      dev/static/images/index/his2016.jpg
  26. binární
      dev/static/images/index/his2017.jpg
  27. binární
      dev/static/images/index/his2018a.jpg
  28. binární
      dev/static/images/index/his2018b.jpg
  29. binární
      dev/static/images/index/his2019a.jpg
  30. binární
      dev/static/images/index/his2019b.jpg
  31. binární
      dev/static/images/index/his2019c.jpg
  32. binární
      dev/static/images/index/his2020.jpg
  33. binární
      dev/static/images/index/his2021.jpg
  34. binární
      dev/static/images/index/his2022.jpg
  35. binární
      dev/static/images/index/his2023.jpg
  36. binární
      dev/static/images/index/his2024.jpg
  37. binární
      dev/static/images/index/product1.jpg
  38. binární
      dev/static/images/index/product10.jpg
  39. binární
      dev/static/images/index/product11.jpg
  40. binární
      dev/static/images/index/product12.jpg
  41. binární
      dev/static/images/index/product2.jpg
  42. binární
      dev/static/images/index/product3.jpg
  43. binární
      dev/static/images/index/product4.jpg
  44. binární
      dev/static/images/index/product5.jpg
  45. binární
      dev/static/images/index/product6.jpg
  46. binární
      dev/static/images/index/product7.jpg
  47. binární
      dev/static/images/index/product8.jpg
  48. binární
      dev/static/images/index/product9.jpg
  49. binární
      dev/static/images/partyBuilding/socialResponsibility.jpg
  50. binární
      dev/static/images/partyBuilding/socialResponsibilitym.jpg
  51. binární
      dev/static/images/product/Industrial1.png
  52. binární
      dev/static/images/product/Industrial1m.png
  53. binární
      dev/static/images/product/Industrial2.png
  54. binární
      dev/static/images/product/Industrial2m.png
  55. binární
      dev/static/images/product/Industrial3.png
  56. binární
      dev/static/images/product/Industrial3m.png
  57. binární
      dev/static/images/product/Industrial4.png
  58. binární
      dev/static/images/product/Industrial4m.png
  59. binární
      dev/static/images/product/core1.jpg
  60. binární
      dev/static/images/product/core2.jpg
  61. binární
      dev/static/images/product/core3.jpg
  62. binární
      dev/static/images/product/core4.jpg
  63. binární
      dev/static/images/product/core5.jpg
  64. binární
      dev/static/images/product/core6.jpg
  65. binární
      dev/static/images/product/core7.jpg
  66. binární
      dev/static/images/product/member1.jpg
  67. binární
      dev/static/images/product/member10.jpg
  68. binární
      dev/static/images/product/member11.jpg
  69. binární
      dev/static/images/product/member12.jpg
  70. binární
      dev/static/images/product/member13.jpg
  71. binární
      dev/static/images/product/member2.jpg
  72. binární
      dev/static/images/product/member3.jpg
  73. binární
      dev/static/images/product/member4.jpg
  74. binární
      dev/static/images/product/member5.jpg
  75. binární
      dev/static/images/product/member6.jpg
  76. binární
      dev/static/images/product/member7.jpg
  77. binární
      dev/static/images/product/member8.jpg
  78. binární
      dev/static/images/product/member9.jpg
  79. 119
    40
      src/pages/common/css/common.less
  80. 10
    10
      src/pages/common/js/Common.js
  81. 24
    34
      src/pages/common/tpl/footer.tpl
  82. 32
    48
      src/pages/common/tpl/header.tpl
  83. 191
    39
      src/pages/index/App.js
  84. 667
    388
      src/pages/index/index.html
  85. 596
    188
      src/pages/index/index.less
  86. 7
    24
      src/pages/join/index.html
  87. 31
    21
      src/pages/join/index.less
  88. 39
    0
      src/pages/product copy/App.js
  89. 0
    0
      src/pages/product copy/images/newsz.png
  90. 0
    0
      src/pages/product copy/images/productz.png
  91. 138
    0
      src/pages/product copy/index.html
  92. 15
    0
      src/pages/product copy/index.js
  93. 98
    0
      src/pages/product copy/index.less
  94. 62
    0
      src/pages/product/App.js
  95. binární
      src/pages/product/images/aicon.png
  96. 236
    103
      src/pages/product/index.html
  97. 401
    47
      src/pages/product/index.less
  98. 28
    5
      src/pages/socialResponsibility/App.js
  99. 7
    72
      src/pages/socialResponsibility/index.html
  100. 0
    0
      src/pages/socialResponsibility/index.less

binární
dev/static/images/index/aboutbg.png Zobrazit soubor


binární
dev/static/images/index/aboutbg2.png Zobrazit soubor


binární
dev/static/images/index/aboutbg3.png Zobrazit soubor


binární
dev/static/images/index/aboutbg4.png Zobrazit soubor


binární
dev/static/images/index/aboutbg5.png Zobrazit soubor


binární
dev/static/images/index/aboutbg6.png Zobrazit soubor


binární
dev/static/images/index/aboutbg7.png Zobrazit soubor


binární
dev/static/images/index/aboutbgm.jpg Zobrazit soubor


binární
dev/static/images/index/corporate1.jpg Zobrazit soubor


binární
dev/static/images/index/corporate2.jpg Zobrazit soubor


binární
dev/static/images/index/corporate3.jpg Zobrazit soubor


binární
dev/static/images/index/his1995.jpg Zobrazit soubor


binární
dev/static/images/index/his1997.jpg Zobrazit soubor


binární
dev/static/images/index/his2001.jpg Zobrazit soubor


binární
dev/static/images/index/his2002.jpg Zobrazit soubor


binární
dev/static/images/index/his2003.jpg Zobrazit soubor


binární
dev/static/images/index/his2004.jpg Zobrazit soubor


binární
dev/static/images/index/his2005.jpg Zobrazit soubor


binární
dev/static/images/index/his2006.jpg Zobrazit soubor


binární
dev/static/images/index/his2009.jpg Zobrazit soubor


binární
dev/static/images/index/his2011.jpg Zobrazit soubor


binární
dev/static/images/index/his2013.jpg Zobrazit soubor


binární
dev/static/images/index/his2014.jpg Zobrazit soubor


binární
dev/static/images/index/his2015.jpg Zobrazit soubor


binární
dev/static/images/index/his2016.jpg Zobrazit soubor


binární
dev/static/images/index/his2017.jpg Zobrazit soubor


binární
dev/static/images/index/his2018a.jpg Zobrazit soubor


binární
dev/static/images/index/his2018b.jpg Zobrazit soubor


binární
dev/static/images/index/his2019a.jpg Zobrazit soubor


binární
dev/static/images/index/his2019b.jpg Zobrazit soubor


binární
dev/static/images/index/his2019c.jpg Zobrazit soubor


binární
dev/static/images/index/his2020.jpg Zobrazit soubor


binární
dev/static/images/index/his2021.jpg Zobrazit soubor


binární
dev/static/images/index/his2022.jpg Zobrazit soubor


binární
dev/static/images/index/his2023.jpg Zobrazit soubor


binární
dev/static/images/index/his2024.jpg Zobrazit soubor


binární
dev/static/images/index/product1.jpg Zobrazit soubor


binární
dev/static/images/index/product10.jpg Zobrazit soubor


binární
dev/static/images/index/product11.jpg Zobrazit soubor


binární
dev/static/images/index/product12.jpg Zobrazit soubor


binární
dev/static/images/index/product2.jpg Zobrazit soubor


binární
dev/static/images/index/product3.jpg Zobrazit soubor


binární
dev/static/images/index/product4.jpg Zobrazit soubor


binární
dev/static/images/index/product5.jpg Zobrazit soubor


binární
dev/static/images/index/product6.jpg Zobrazit soubor


binární
dev/static/images/index/product7.jpg Zobrazit soubor


binární
dev/static/images/index/product8.jpg Zobrazit soubor


binární
dev/static/images/index/product9.jpg Zobrazit soubor


binární
dev/static/images/partyBuilding/socialResponsibility.jpg Zobrazit soubor


binární
dev/static/images/partyBuilding/socialResponsibilitym.jpg Zobrazit soubor


binární
dev/static/images/product/Industrial1.png Zobrazit soubor


binární
dev/static/images/product/Industrial1m.png Zobrazit soubor


binární
dev/static/images/product/Industrial2.png Zobrazit soubor


binární
dev/static/images/product/Industrial2m.png Zobrazit soubor


binární
dev/static/images/product/Industrial3.png Zobrazit soubor


binární
dev/static/images/product/Industrial3m.png Zobrazit soubor


binární
dev/static/images/product/Industrial4.png Zobrazit soubor


binární
dev/static/images/product/Industrial4m.png Zobrazit soubor


binární
dev/static/images/product/core1.jpg Zobrazit soubor


binární
dev/static/images/product/core2.jpg Zobrazit soubor


binární
dev/static/images/product/core3.jpg Zobrazit soubor


binární
dev/static/images/product/core4.jpg Zobrazit soubor


binární
dev/static/images/product/core5.jpg Zobrazit soubor


binární
dev/static/images/product/core6.jpg Zobrazit soubor


binární
dev/static/images/product/core7.jpg Zobrazit soubor


binární
dev/static/images/product/member1.jpg Zobrazit soubor


binární
dev/static/images/product/member10.jpg Zobrazit soubor


binární
dev/static/images/product/member11.jpg Zobrazit soubor


binární
dev/static/images/product/member12.jpg Zobrazit soubor


binární
dev/static/images/product/member13.jpg Zobrazit soubor


binární
dev/static/images/product/member2.jpg Zobrazit soubor


binární
dev/static/images/product/member3.jpg Zobrazit soubor


binární
dev/static/images/product/member4.jpg Zobrazit soubor


binární
dev/static/images/product/member5.jpg Zobrazit soubor


binární
dev/static/images/product/member6.jpg Zobrazit soubor


binární
dev/static/images/product/member7.jpg Zobrazit soubor


binární
dev/static/images/product/member8.jpg Zobrazit soubor


binární
dev/static/images/product/member9.jpg Zobrazit soubor


+ 119
- 40
src/pages/common/css/common.less Zobrazit soubor

@@ -106,6 +106,51 @@ img:not([src]) {
106 106
         color: #48A038;
107 107
     }
108 108
 }
109
+.btn3{
110
+    position: relative;
111
+    width: 240px;
112
+    height: 60px;
113
+    box-sizing: border-box;
114
+    color: #000;
115
+    display: flex;
116
+    text-align: center;
117
+    line-height: 60px;
118
+    font-size: 18px;
119
+    transition: all .3s ease-in-out;
120
+    cursor: pointer;
121
+    border-radius: 30px;
122
+    box-sizing: border-box;
123
+    border: 1px solid #000;
124
+    justify-content: center;
125
+    align-items: center;
126
+    overflow: hidden;
127
+    &::before{
128
+        content: '';
129
+        width: 10px;
130
+        height: 10px;
131
+        position: absolute;
132
+        bottom: -10px;
133
+        left: 50%;
134
+        transform: translateX(-50%);
135
+        background: #B81C25;
136
+        border-radius: 50%;
137
+        transition: all .3s ease-in-out;
138
+        z-index: -1;
139
+    }
140
+    &>span{
141
+        // transition: all .3s ease-in-out;
142
+        transform: rotate(90deg);
143
+        font-size: 30px;
144
+        margin-left: 8px;
145
+    }
146
+    &:hover{
147
+        color: #fff;
148
+        border: 1px solid #B81C25;
149
+        &::before{
150
+            transform: translateX(-50%) scale(30);
151
+        }
152
+    }
153
+}
109 154
 .btnW{
110 155
     color: #fff;
111 156
     &:hover{
@@ -186,14 +231,20 @@ header{
186 231
         .logo{
187 232
             
188 233
         }
189
-        .menu{
190
-            &>div{
191
-                &>a{
192
-                    color: #ffffff;
234
+        
235
+        .headerPC{
236
+            .menu{
237
+                &>div{
238
+                    &>a{
239
+                        color: #ffffff;
240
+                    }
241
+                }
242
+                .menuClicked{
243
+                    &::before{
244
+                        background: #fff;
245
+                    }
193 246
                 }
194 247
             }
195
-        }
196
-        .headerPC{
197 248
             .logo{
198 249
                 background: url("../images/logoW.png") no-repeat;
199 250
                 background-size: 142px 32px;
@@ -258,20 +309,30 @@ header{
258 309
         margin: 0 auto;
259 310
         &>div{
260 311
             display: inline-block;
261
-            padding: 0 20px;
312
+            padding: 0 30px;
262 313
             position: relative;
263 314
             height: 70px;
315
+            cursor: pointer;
264 316
             &>a{
265 317
                 line-height: 70px;
266 318
                 z-index: 11;
267 319
                 transition: all .3s ease;
268
-                
320
+                font-size: 16px;
269 321
             }
270 322
             &:hover{
271 323
                 &>a{color: #B81C25;}
272 324
             }
273 325
         }
274 326
         .menuClicked{
327
+            &::before{
328
+                content: '';
329
+                width: calc(100% - 40px);
330
+                height: 2px;
331
+                position: absolute;
332
+                bottom: 0px;
333
+                left: 20px;
334
+                background: #B81C25;
335
+            }
275 336
             &>a{
276 337
                 color: #B81C25;
277 338
             }
@@ -283,10 +344,10 @@ header{
283 344
         padding: 15px 0px 15px;
284 345
         background: #fff;
285 346
         box-shadow: 0px 2px 6px 0px rgba(183,183,183,0.43);
286
-        border-radius: 8px;
347
+        // border-radius: 8px;
287 348
         z-index: 10;
288 349
         width: auto;
289
-        width: 172px;
350
+        width: 260px;
290 351
         white-space: nowrap;
291 352
         left: 50%;
292 353
         transform: translateX(-50%) translateY(0%);
@@ -295,6 +356,7 @@ header{
295 356
         // opacity: 1;
296 357
         display: none;
297 358
         text-align: center;
359
+        font-size: 20px;
298 360
         .menuUp{
299 361
             width: 100%;
300 362
             height: 2px;
@@ -322,7 +384,8 @@ header{
322 384
             padding: 15px 0;
323 385
             transition: all .3s ease;
324 386
             &:hover{
325
-                color: #B81C25;
387
+                color: #fff;
388
+                background: #B81C25;
326 389
             }
327 390
             &:last-child {
328 391
                 margin-bottom: 0;
@@ -556,7 +619,7 @@ footer{
556 619
     width: 100%;
557 620
     max-width: 1920px;
558 621
     margin: 0 auto;
559
-    background-color: #B81C25;
622
+    background-color: #f8f8f8;
560 623
     padding-top: 80px;
561 624
     position: relative;
562 625
     .footer{
@@ -569,13 +632,14 @@ footer{
569 632
         .footerLeft{
570 633
             width: 320px;
571 634
             text-align: left;
572
-            color: #fff;
635
+            color: #333333;
573 636
             margin-right: 100px;
574 637
             .footerLogo{
575 638
                 width: 291px;
576 639
                 height: 64px;
577
-                background: url('../images/logoBai.png') no-repeat;
640
+                background: url('../images/logoB.png') no-repeat;
578 641
                 background-size: 100% 100%;
642
+                margin-bottom: 50px;
579 643
             }
580 644
             .footerLCon1{
581 645
                 width: 100%;
@@ -596,10 +660,10 @@ footer{
596 660
             .footerLCon2{
597 661
                 width: 100%;
598 662
                 font-size: 14px;
599
-                font-weight: bold;
600
-                margin-top: 40px;
663
+                // font-weight: bold;
664
+                margin-top: 20px;
601 665
                 span{
602
-                    opacity: 0.7;
666
+                    // opacity: 0.7;
603 667
                     font-weight: 100;
604 668
                 }
605 669
                 .txt16{
@@ -659,6 +723,13 @@ footer{
659 723
                 }
660 724
                 
661 725
             }
726
+            .imgWx{
727
+                text-align: center;
728
+                span{
729
+                    margin-top: 10px;
730
+                    display: block;
731
+                }
732
+            }
662 733
             .btnShow{
663 734
                 .btnDownTitle{
664 735
                     .iconfont{
@@ -680,7 +751,7 @@ footer{
680 751
             margin-bottom: 10px;
681 752
             margin-right: 20px;
682 753
             display: flex;
683
-            color: #fff;
754
+            color: #333333;
684 755
             justify-content: flex-start;
685 756
             .h4{
686 757
                 margin-bottom: 20px;
@@ -691,7 +762,7 @@ footer{
691 762
             &>div{
692 763
                 margin-right: 58px;
693 764
                 a{
694
-                    color: #fff;
765
+                    color: #333;
695 766
                     display: block;
696 767
                     span{
697 768
                         display: inline-block;
@@ -703,7 +774,7 @@ footer{
703 774
                             left: 0px;
704 775
                             width: 0%;
705 776
                             height: 1px;
706
-                            background: #fff;
777
+                            background: #333;
707 778
                             transition: all .3s ease-in-out;
708 779
                         }
709 780
                     }
@@ -787,14 +858,17 @@ footer{
787 858
     }
788 859
     .footerText{
789 860
         width: 100%;
861
+        max-width: 1300px;
862
+        margin: 0px auto;
863
+        border-top: 1px solid #dfdfdf;
790 864
         text-align: center;
791
-        color: #fff;
865
+        color: #999999;
792 866
         font-size: 12px;
793 867
         box-sizing: border-box;
794 868
         padding:20px 15px;
795 869
         opacity: 0.7;
796 870
         a{
797
-            color: #fff;
871
+            color: #999999;
798 872
         }
799 873
         br,&>span{
800 874
             display: none;
@@ -948,17 +1022,13 @@ footer{
948 1022
         }
949 1023
     }
950 1024
     .btn3{
951
-        &>a{
952
-            &:hover{
953
-                .btnCon{
954
-                    &>div{
955
-                        color: #000000;
956
-                    }
957
-                    .btnBg{
958
-                        // border-radius: 24px;
959
-                    }
960
-                }
961
-            }
1025
+        width: 190px;
1026
+        height: 40px;
1027
+        line-height: 40px;
1028
+        font-size: 14px;
1029
+        border-radius: 20px;
1030
+        &>span{
1031
+            font-size: 20px;
962 1032
         }
963 1033
     }
964 1034
     
@@ -1092,10 +1162,10 @@ footer{
1092 1162
                 margin-top: 40px;
1093 1163
                 margin-bottom: 30px;
1094 1164
                 padding-bottom: 15px;
1095
-                border-bottom: 1px solid #ffffff21;
1165
+                border-bottom: 1px solid #dfdfdf;
1096 1166
                 a{
1097 1167
                     width: 60px;
1098
-                    color: #fff;
1168
+                    color: #333333;
1099 1169
                     font-size: 14px;
1100 1170
                     display: inline-block;
1101 1171
                     padding: 15px 0px;
@@ -1111,7 +1181,7 @@ footer{
1111 1181
             }
1112 1182
             .footerRight{
1113 1183
                 width: 100%;
1114
-                color: #FFFFFF;
1184
+                color: #333333;
1115 1185
                 .btnUp{
1116 1186
                     display: block;
1117 1187
                     width: 100%;
@@ -1121,16 +1191,25 @@ footer{
1121 1191
                 .footerLConM{
1122 1192
                     display: block;
1123 1193
                     font-size: 14px;
1124
-                    padding-top: 10px;
1194
+                    margin-bottom: 60px;
1125 1195
                     a{
1126
-                        color: #FFFFFF;
1196
+                        color: #333333;
1127 1197
                         margin-top: 30px;
1128 1198
                         display: block;
1129 1199
                         width: 100%;
1130 1200
                     }
1131 1201
                     div{
1132
-                        color: #FFFFFF;
1133
-                        margin-top: 30px;
1202
+                        color: #333333;
1203
+                    }
1204
+                }
1205
+                .imgWx{
1206
+                    padding-bottom: 30px;
1207
+                    img{
1208
+                        width: 90px;
1209
+                        display: inline-block;
1210
+                    }
1211
+                    span{
1212
+                        margin-top: 5px;
1134 1213
                     }
1135 1214
                 }
1136 1215
             }

+ 10
- 10
src/pages/common/js/Common.js Zobrazit soubor

@@ -36,15 +36,15 @@ export default class Common {
36 36
     // window.requestUrl = 'https://www.foton.com.cn';
37 37
     this.textAni();
38 38
     
39
-    let btnDownTitle = document.querySelector(".btnDownTitle");
40
-    let btnDownMenu = document.querySelector(".btnDown");
41
-    btnDownTitle.addEventListener("click", (e) => {
42
-      if (btnDownMenu.classList?.contains("btnShow")) {
43
-        btnDownMenu.classList.remove("btnShow");
44
-      } else {
45
-        btnDownMenu.classList.add("btnShow");
46
-      }
47
-    });
39
+    // let btnDownTitle = document.querySelector(".btnDownTitle");
40
+    // let btnDownMenu = document.querySelector(".btnDown");
41
+    // btnDownTitle.addEventListener("click", (e) => {
42
+    //   if (btnDownMenu.classList?.contains("btnShow")) {
43
+    //     btnDownMenu.classList.remove("btnShow");
44
+    //   } else {
45
+    //     btnDownMenu.classList.add("btnShow");
46
+    //   }
47
+    // });
48 48
     let logo = document.querySelector(".logo");
49 49
     logo.addEventListener("click", (e) => {
50 50
       window.requestUrl = './index.html';
@@ -57,7 +57,7 @@ export default class Common {
57 57
     
58 58
     if (anchor) {
59 59
       let element = document.getElementById(anchor);
60
-      element.scrollIntoView({ behavior: 'smooth',block: 'start' });
60
+      if(element)element.scrollIntoView({ behavior: 'smooth',block: 'start' });
61 61
     }
62 62
     if(window.location.href.indexOf("intoZz.html?") !== -1){
63 63
       

+ 24
- 34
src/pages/common/tpl/footer.tpl Zobrazit soubor

@@ -2,45 +2,39 @@
2 2
     <div class="wow fadeIn footer">
3 3
         <div class="footerLeft">
4 4
             <div class="footerLogo"></div>
5
-            <div class="footerLCon1"><div>电话:<span>010-65008562</span></div><div>邮编:<span>100020</span></div></div>
5
+            <!--<div class="footerLCon1"><div>电话:<span>010-65008562</span></div><div>邮编:<span>100020</span></div></div>-->
6 6
             <div class="footerLCon2">地址:<span>北京市朝阳区金河东路正大中心北塔28层</span></div>
7 7
             <div class="footerLCon2">邮箱:<span class="txt16">zzjt@lnzzgroup.com</span></div>
8 8
         </div>
9 9
         <div class="footerCenter">
10 10
             <div class="footerClick">
11
-                <a class="h7" href="./intoZz.html"><span>走进中泽</span></a>
11
+                <a class="h7" href="./index.html"><span>走进中泽</span></a>
12 12
                 <span class="icon iconfont icon-arrow-right"></span>
13 13
                 <div class="footerShow show1">
14
-                <a class="h7R" href="./intoZz.html#jtjj"><span>集团简介</span></a>
15
-                <a class="h7R" href="./intoZz.html#qywh"><span>企业文化</span></a>
16
-                <a class="h7R" href="./intoZz.html#qyjg"><span>企业架构</span></a>
17
-                <a class="h7R" href="./intoZz.html#fzlc"><span>发展历程</span></a>
18
-                <a class="h7R" href="./intoZz.html#ryzz"><span>资质荣誉</span></a>
14
+                <a class="h7R" href="./index.html#jtjs"><span>集团介绍</span></a>
15
+                <a class="h7R" href="./index.html#fzlc"><span>发展历程</span></a>
16
+                <a class="h7R" href="./index.html#qywh"><span>企业文化</span></a>
17
+                <a class="h7R" href="./index.html#xwdt"><span>新闻动态</span></a>
19 18
                 </div>
20 19
             </div>
21 20
             <div class="footerClick">
22 21
                 <a class="h7" href="./product.html"><span>产业布局</span></a>
23 22
                 <span class="icon iconfont icon-arrow-right"></span>
24
-                <div class="footerShow show2"><a class="h7R" href="./productDec1.html"><span>铁合金</span></a>
25
-                <a class="h7R" href="./productDec2.html"><span>炭素</span></a>
26
-                <a class="h7R" href="./productDec3.html"><span>钼业</span></a>
27
-                <a class="h7R" href="./productDec4.html"><span>镍业</span></a>
28
-                <a class="h7R" href="./productDec5.html"><span>化工</span></a>
29
-                <a class="h7R" href="./productDec6.html"><span>装备制造</span></a>
30
-                <a class="h7R" href="./productDec7.html"><span>产业互联网</span></a>
31
-                <a class="h7R" href="./productDec8.html"><span>金融</span></a>
32
-                <a class="h7R" href="./productDec9.html"><span>其他</span></a></div>
23
+                <div class="footerShow show2">
24
+                <a class="h7R" href="./product.html#hxbk"><span>核心板块</span></a>
25
+                <a class="h7R" href="./product.html#cyhl"><span>产业互联</span></a>
26
+                <a class="h7R" href="./product.html#cyml"><span>成员名录</span></a></div>
33 27
             </div>
34 28
             
35 29
             <div class="footerClick">
36
-                <a class="h7" href="./news.html"><span>新闻中心</span></a>
30
+                <a class="h7" href="./news.html"><span>新闻动态</span></a>
37 31
                 <span class="icon iconfont icon-arrow-right"></span>
38 32
                 <div class="footerShow show2"><a class="h7R" href="./news.html#point"><span>集团新闻</span></a>
39
-                <a class="h7R" href="./news.html#point"><span>前沿资讯</span></a>
40
-                <a class="h7R" href="./news.html#point"><span>政策引领</span></a>
41
-                <a class="h7R" href="./news.html#point"><span>研发创新</span></a></div>
33
+                <a class="h7R" href="./news.html#point"><span>行业资讯</span></a>
34
+                <a class="h7R" href="./partyBuilding.html"><span>党建工作</span></a>
35
+                <a class="h7R" href="./socialResponsibility.html"><span>社会责任</span></a></div>
42 36
             </div>
43
-            <div class="footerClick">
37
+            <!--<div class="footerClick">
44 38
                 <a class="h7" href="./partyBuilding.html"><span>党建工作</span></a>
45 39
                 <span class="icon iconfont icon-arrow-right"></span>
46 40
                 <div class="footerShow show2"><a class="h7R" href="./partyBuilding.html#p1"><span>企业党建</span></a>
@@ -51,49 +45,45 @@
51 45
                 <span class="icon iconfont icon-arrow-right"></span>
52 46
                 <div class="footerShow show2"><a class="h7R" href="./socialResponsibility.html#p1"><span>社会公益</span></a>
53 47
                 <a class="h7R" href="./socialResponsibility.html#p2"><span>绿色转型</span></a></div>
54
-            </div>
48
+            </div>-->
55 49
             <div class="footerClick">
56 50
                 <a class="h7" href="./join.html"><span>加入中泽</span></a>
57 51
                 <span class="icon iconfont icon-arrow-right"></span>
58 52
                 <div class="footerShow show2"><a class="h7R" href="./join.html#careersInfo"><span>招聘信息</span></a>
59
-                <a class="h7R" href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
60
-                <a class="h7R" href="./join.html#contactUs"><span>联系我们</span></a></div>
53
+                <a class="h7R" href="./join.html?type=b#careersInfo"><span>招标信息</span></a></div>
61 54
             </div>
62 55
         </div>
63 56
         <div class="footerCenterM">
64
-            <a class="h7" href="./intoZz.html">走进中泽</a>
57
+            <a class="h7" href="./index.html">走进中泽</a>
65 58
             <div></div>
66 59
             <a class="h7" href="./product.html">产业布局</a>
67 60
             <div></div>
68 61
             <a class="h7" href="./news.html">新闻中心</a>
69 62
             <div></div>
70
-            <a class="h7" href="./partyBuilding.html">党建工作</a>
71
-            <a class="h7" href="./socialResponsibility.html">社会责任</a>
72
-            <div></div>
73 63
             <a class="h7" href="./join.html">加入中泽</a>
74 64
         </div>
75 65
         <div class="footerRight">
76
-            <div class="btnUp">旗下企业:</div>
66
+            <!--<div class="btnUp">旗下企业:</div>
77 67
             <div class="btnDown">
78 68
                 <div class="btnDownTitle"><span class="tit">旗下企业</span><span class="iconfont icon-xiala"></span></div>
79 69
                 <div class="btnDownMenu">
80 70
                     <a href="">旗下企业1</a>
81 71
                     <a href="">旗下企业2</a>
82 72
                 </div>
83
-            </div>
73
+            </div>-->
74
+            
84 75
             <div class="footerLConM">
85
-                <a href="tel:01065008562" class="footerLCon2">电话:010-65008562</a>
86
-                <div class="footerLCon2">邮编:100020</div>
87 76
                 <div class="footerLCon2">地址:北京市朝阳区金河东路正大中心北塔28层</div>
88 77
                 <a href="mail:zzjt@lnzzgroup.com" class="footerLCon2">邮箱:zzjt@lnzzgroup.com</a>
89 78
             </div>
79
+            <div class="imgWx"><img src="./static/images/weixin.png" alt=""/><span>微信公众号</span></div>
90 80
         </div>
91 81
     </div>
92
-    <div class="footerIcon">
82
+    <!--<div class="footerIcon">
93 83
         <div class="weixin">
94 84
             <span class="icon iconfont icon-weixin"></span>
95 85
             <div><img src="./static/images/weixin.png" alt=""/></div>
96 86
         </div>
97
-    </div>
87
+    </div>-->
98 88
     <div class="footerText"><a href="">法律声明</a><span></span><a href="">隐私政策</a><br>中泽集团版权所有 ZHONGZE GROUP COPYRIGHT <br>@ 2014-2024 <a href="https://beian.miit.gov.cn/#/Integrated/index">辽ICP备14015583号</a></div>
99 89
 </footer>

+ 32
- 48
src/pages/common/tpl/header.tpl Zobrazit soubor

@@ -3,42 +3,35 @@
3 3
         <div class="logo"></div>
4 4
         <div class="menu">
5 5
             <div class="menuOne">
6
-                <a href="./intoZz.html">走进中泽</a>
6
+                <a href="./index.html">走进中泽</a>
7 7
                 <div class="menuSon">
8 8
                     <div class="menuUp"></div>
9
-                    <a href="./intoZz.html#jtjj"><span>集团简介</span></a>
10
-                    <a href="./intoZz.html#qywh"><span>企业文化</span></a>
11
-                    <a href="./intoZz.html#qyjg"><span>企业架构</span></a>
12
-                    <a href="./intoZz.html#fzlc"><span>发展历程</span></a>
13
-                    <a href="./intoZz.html#ryzz"><span>资质荣誉</span></a>
9
+                    <a href="./index.html#jtjs"><span>集团介绍</span></a>
10
+                    <a href="./index.html#fzlc"><span>发展历程</span></a>
11
+                    <a href="./index.html#qywh"><span>企业文化</span></a>
12
+                    <a href="./index.html#xwdt"><span>新闻动态</span></a>
14 13
                 </div>
15 14
             </div>
16 15
             <div class="menuOne">
17 16
                 <a href="./product.html">产业布局</a>
18 17
                 <div class="menuSon">
19 18
                     <div class="menuUp"></div>
20
-                    <a href="./productDec1.html"><span>铁合金</span></a>
21
-                    <a href="./productDec2.html"><span>炭素</span></a>
22
-                    <a href="./productDec3.html"><span>钼业</span></a>
23
-                    <a href="./productDec4.html"><span>镍业</span></a>
24
-                    <a href="./productDec5.html"><span>化工</span></a>
25
-                    <a href="./productDec6.html"><span>装备制造</span></a>
26
-                    <a href="./productDec7.html"><span>产业互联网</span></a>
27
-                    <a href="./productDec8.html"><span>金融</span></a>
28
-                    <a href="./productDec9.html"><span>其他</span></a>
19
+                    <a href="./product.html#hxbk"><span>核心板块</span></a>
20
+                    <a href="./product.html#cyhl"><span>产业互联</span></a>
21
+                    <a href="./product.html#cyml"><span>成员名录</span></a>
29 22
                 </div>
30 23
             </div>
31 24
             <div class="menuOne">
32
-                <a href="./news.html">新闻中心</a>
25
+                <a href="./news.html">新闻动态</a>
33 26
                 <div class="menuSon">
34 27
                     <div class="menuUp"></div>
35 28
                     <a href="./news.html#point"><span>集团新闻</span></a>
36
-                    <a href="./news.html#point"><span>前沿资讯</span></a>
37
-                    <a href="./news.html#point"><span>政策引领</span></a>
38
-                    <a href="./news.html#point"><span>研发创新</span></a>
29
+                    <a href="./news.html#point"><span>行业资讯</span></a>
30
+                    <a href="./partyBuilding.html"><span>党建工作</span></a>
31
+                    <a href="./socialResponsibility.html"><span>社会责任</span></a>
39 32
                 </div>
40 33
             </div>
41
-            <div class="menuOne">
34
+            <!--<div class="menuOne">
42 35
                 <a href="./partyBuilding.html">党建工作</a>
43 36
                 <div class="menuSon">
44 37
                     <div class="menuUp"></div>
@@ -53,22 +46,21 @@
53 46
                     <a href="./socialResponsibility.html#p1"><span>社会公益</span></a>
54 47
                     <a href="./socialResponsibility.html#p2"><span>绿色转型</span></a>
55 48
                 </div>
56
-            </div>
49
+            </div>-->
57 50
             <div class="menuOne">
58 51
                 <a href="./join.html">加入中泽</a>
59 52
                 <div class="menuSon">
60 53
                     <div class="menuUp"></div>
61 54
                     <a href="./join.html#careersInfo"><span>招聘信息</span></a>
62 55
                     <a href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
63
-                    <a href="./join.html#contactUs"><span>联系我们</span></a>
64 56
                 </div>
65 57
             </div>
66 58
         </div>
67
-        <div class="language menuOne">
59
+        <!--<div class="language menuOne">
68 60
             <a class="btn2 btnW" style="display:none;"><span class="iconfont icon-search"></span></a>
69 61
             <span class="line" style="display:none"></span>
70 62
             <a href="./join.html#contactUs" class="aborder">联系我们</a>
71
-        </div>
63
+        </div>-->
72 64
     </div>
73 65
     <div class="headerMobile">
74 66
         <div class="logo"></div>
@@ -82,43 +74,36 @@
82 74
         <div class="navFlag">
83 75
             <div class="navBg"></div>
84 76
             <div class="navMenu">
85
-                <div>
77
+                <!--<div>
86 78
                     <a class="title" href="./index.html">首页</a>
87
-                </div>
79
+                </div>-->
88 80
                 <div>
89
-                    <div class="title"><a href="./intoZz.html">走进中泽</a><span class="iconfont icon-xiala"></span></div>
81
+                    <div class="title"><a href="./index.html">走进中泽</a><span class="iconfont icon-xiala"></span></div>
90 82
                     <div class="menuSon">
91
-                        <a href="./intoZz.html#jtjj"><span>集团简介</span></a>
92
-                        <a href="./intoZz.html#qywh"><span>企业文化</span></a>
93
-                        <a href="./intoZz.html#qyjg"><span>企业架构</span></a>
94
-                        <a href="./intoZz.html#fzlc"><span>发展历程</span></a>
95
-                        <a href="./intoZz.html#ryzz"><span>资质荣誉</span></a>
83
+                        <a href="./index.html#jtjs"><span>集团介绍</span></a>
84
+                        <a href="./index.html#fzlc"><span>发展历程</span></a>
85
+                        <a href="./index.html#qywh"><span>企业文化</span></a>
86
+                        <a href="./index.html#xwdt"><span>新闻动态</span></a>
96 87
                     </div>
97 88
                 </div>
98 89
                 <div>
99 90
                     <div class="title"><a href="./product.html">产业布局</a><span class="iconfont icon-xiala"></span></div>
100 91
                     <div class="menuSon">
101
-                        <a href="./productDec1.html"><span>铁合金</span></a>
102
-                        <a href="./productDec2.html"><span>炭素</span></a>
103
-                        <a href="./productDec3.html"><span>钼业</span></a>
104
-                        <a href="./productDec4.html"><span>镍业</span></a>
105
-                        <a href="./productDec5.html"><span>化工</span></a>
106
-                        <a href="./productDec6.html"><span>装备制造</span></a>
107
-                        <a href="./productDec7.html"><span>产业互联网</span></a>
108
-                        <a href="./productDec8.html"><span>金融</span></a>
109
-                        <a href="./productDec9.html"><span>其他</span></a>
92
+                        <a href="./product.html#hxbk"><span>核心板块</span></a>
93
+                        <a href="./product.html#cyhl"><span>产业互联</span></a>
94
+                        <a href="./product.html#cyml"><span>成员名录</span></a>
110 95
                     </div>
111 96
                 </div>
112 97
                 <div>
113
-                    <div class="title"><a href="./news.html">新闻中心</a><span class="iconfont icon-xiala"></span></div>
98
+                    <div class="title"><a href="./news.html">新闻动态</a><span class="iconfont icon-xiala"></span></div>
114 99
                     <div class="menuSon">
115 100
                         <a href="./news.html#point"><span>集团新闻</span></a>
116
-                        <a href="./news.html#point"><span>前沿资讯</span></a>
117
-                        <a href="./news.html#point"><span>政策引领</span></a>
118
-                        <a href="./news.html#point"><span>研发创新</span></a>
101
+                        <a href="./news.html#point"><span>行业资讯</span></a>
102
+                        <a href="./partyBuilding.html"><span>党建工作</span></a>
103
+                        <a href="./socialResponsibility.html"><span>社会责任</span></a>
119 104
                     </div>
120 105
                 </div>
121
-                <div>
106
+                <!--<div>
122 107
                     <div class="title"><a href="./partyBuilding.html">党建工作</a><span class="iconfont icon-xiala"></span></div>
123 108
                     <div class="menuSon">
124 109
                         <a href="./partyBuilding.html#p1"><span>企业党建</span></a>
@@ -131,13 +116,12 @@
131 116
                         <a href="./socialResponsibility.html#p1"><span>社会公益</span></a>
132 117
                         <a href="./socialResponsibility.html#p2"><span>绿色转型</span></a>
133 118
                     </div>
134
-                </div>
119
+                </div>-->
135 120
                 <div>
136 121
                     <div class="title"><a href="./join.html">加入中泽</a><span class="iconfont icon-xiala"></span></div>
137 122
                     <div class="menuSon">
138 123
                         <a href="./join.html#careersInfo"><span>招聘信息</span></a>
139 124
                         <a href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
140
-                        <a href="./join.html#contactUs"><span>联系我们</span></a>
141 125
                     </div>
142 126
                 </div>
143 127
             </div>

+ 191
- 39
src/pages/index/App.js Zobrazit soubor

@@ -8,7 +8,7 @@ import {
8 8
 
9 9
 export default class App {
10 10
     constructor() {
11
-        let common = new Common()   //导航菜单高亮,0是首页,后面的按顺序添加
11
+        let common = new Common(document.querySelector('.main'),0)   //导航菜单高亮,0是首页,后面的按顺序添加
12 12
         this.isMobile = isMobile()
13 13
         
14 14
         this.scroll = new LocomotiveScroll();
@@ -105,32 +105,46 @@ export default class App {
105 105
     }
106 106
     //产品轮播
107 107
     news() {
108
+        let newsType1Li = document.querySelectorAll(".newsType1 .newsLi");
109
+        let newsType2Li = document.querySelectorAll(".newsType2 .newsLi");
108 110
         let mySwiper = new Swiper('.newsSwiper1', {
109 111
             autoplay: true,//可选选项,自动滑动
112
+            allowTouchMove: false,
113
+            on: {
114
+                slideChange: function () {
115
+                  let num=this.activeIndex;
116
+                  newsType1Li.forEach((item,index)=>{
117
+                    if(index==num){
118
+                        item.classList.add("liHight");
119
+                    }else{
120
+                        item.classList.remove("liHight");
121
+                    }
122
+                  });
123
+                },
124
+            },
110 125
             pagination: {
111 126
                 el: '.swiper-pagination1',
112
-                clickable :true,
113
-            }
127
+                clickable :false,
128
+            },
114 129
         });
115 130
         let mySwiper2 = new Swiper('.newsSwiper2', {
116
-            autoplay: true,//可选选项,自动滑动
131
+            autoplay: false,//可选选项,自动滑动
132
+            allowTouchMove: false,
133
+            on: {
134
+                slideChange: function () {
135
+                    let num=this.activeIndex;
136
+                    newsType2Li.forEach((item,index)=>{
137
+                      if(index==num){
138
+                          item.classList.add("liHight");
139
+                      }else{
140
+                          item.classList.remove("liHight");
141
+                      }
142
+                    }); 
143
+                },
144
+            },
117 145
             pagination: {
118 146
                 el: '.swiper-pagination2',
119
-                clickable :true,
120
-            }
121
-        });
122
-        let mySwiper3 = new Swiper('.newsSwiper3', {
123
-            autoplay: true,//可选选项,自动滑动
124
-            pagination: {
125
-                el: '.swiper-pagination3',
126
-                clickable :true,
127
-            }
128
-        });
129
-        let mySwiper4 = new Swiper('.newsSwiper4', {
130
-            autoplay: true,//可选选项,自动滑动
131
-            pagination: {
132
-                el: '.swiper-pagination4',
133
-                clickable :true,
147
+                clickable :false,
134 148
             }
135 149
         });
136 150
         let newsCks = document.querySelectorAll(".newsCk");
@@ -138,10 +152,8 @@ export default class App {
138 152
         let newSwipers = document.querySelectorAll(".newsCon .swiper");
139 153
         
140 154
         function masterShow(num){
141
-            mySwiper.slideTo(0);
142
-            mySwiper2.slideTo(0);
143
-            mySwiper3.slideTo(0);
144
-            mySwiper4.slideTo(0);
155
+            // mySwiper.slideTo(0);
156
+            // mySwiper2.slideTo(0);
145 157
             newSwipers.forEach((item,index)=>{
146 158
                 if(index==num){
147 159
                     item.classList.add("newsShowSwiper");
@@ -156,13 +168,23 @@ export default class App {
156 168
                     item.classList.remove("newsDivShow");
157 169
                 }
158 170
             })
171
+            if(num==0){
172
+                mySwiper.slideTo(0);
173
+                mySwiper.autoplay.start();
174
+                console.log('mySwiper',mySwiper,mySwiper2);
175
+                
176
+            }else{
177
+                mySwiper2.slideTo(0);
178
+                mySwiper2.autoplay.start();
179
+                console.log('mySwiper2');
180
+            }
159 181
         }
160 182
         
161 183
         newsCks.forEach((item,index)=>{
162 184
             item.addEventListener("click", (e) => {
163 185
                 
164
-                item.parentNode.querySelectorAll(".newsCk").forEach(item=>{
165
-                    item.classList.remove("newsShow");
186
+                item.parentNode.querySelectorAll(".newsCk").forEach(item2=>{
187
+                    item2.classList.remove("newsShow");
166 188
                 });
167 189
                 item.classList.add("newsShow");
168 190
                 masterShow(index)
@@ -172,20 +194,44 @@ export default class App {
172 194
     product(){
173 195
         let isMob=this.isMobile;
174 196
         let productCks = document.querySelectorAll(".productTit");
197
+        let productTits=document.querySelector(".productTits");
198
+        function scrollLeft(num){
199
+            let leftNum=0;
200
+            productCks.forEach((item,index)=>{
201
+                // 获取元素的宽度
202
+                let width = item.getBoundingClientRect().width;
203
+
204
+                // 获取元素的 margin-right
205
+                let style = window.getComputedStyle(item);
206
+                let marginRight = parseFloat(style.marginRight);
207
+                if(index<num){
208
+                    leftNum+=width+marginRight;
209
+                }
210
+            });
211
+            gsap.to(productTits, {
212
+                scrollLeft: leftNum, // 目标滚动位置
213
+                duration: 0.5,   // 动画持续时间(秒)
214
+                ease: "power1.out" // 缓动效果
215
+              });
216
+        }
175 217
         let mySwiper = new Swiper('.productSwiper', {
176 218
                 autoplay: false,//可选选项,自动滑动
219
+                autoHeight: true,
177 220
                 slidesPerView: "auto",
178
-                loop: true,
179
-                loopedSlides: 4,
180
-                spaceBetween: isMob?0:35,
221
+                slidesPerGroup : isMob?1:3,
222
+                spaceBetween: isMob?0:20,
223
+                allowTouchMove: false,
224
+                slidesOffsetBefore : isMob?0:310,
225
+                slidesOffsetAfter : isMob?0:310,
181 226
                 navigation: {
182 227
                     nextEl: '.btn-nextP1',
183
-                    // prevEl: '.btn-prevP1',
228
+                    prevEl: '.btn-prevP1',
184 229
                 },
185 230
                 on:{
186 231
                     slideChange: function(){
187 232
                         console.log(this.realIndex);
188 233
                         let index0=this.realIndex;
234
+                        scrollLeft(index0)
189 235
                         productCks.forEach((item,index)=>{
190 236
                             if(index==index0){
191 237
                                 item.classList.add("productCk");
@@ -206,17 +252,123 @@ export default class App {
206 252
                 
207 253
             });
208 254
         });
209
-        // let firstProductCk = productCks[0]; // 获取第一个元素
210
-
211
-        // // 创建一个新的鼠标点击事件
212
-        // let clickEvent = new MouseEvent('click', {
213
-        // bubbles: true, // 确保事件会冒泡
214
-        // cancelable: true // 事件可取消
215
-        // });
216
-
217
-        // // 触发点击事件
218
-        // firstProductCk.dispatchEvent(clickEvent);
255
+        //发展历程
256
+        let historyTits = document.querySelectorAll(".historyTit div");
257
+        let historySlides = document.querySelectorAll(".historySwiper .swiper-slide");
258
+        let historySwiperWidth = document.querySelector(".historySwiper").offsetWidth;
259
+        let allNum = document.querySelector(".allNum");
260
+        let nowNum = document.querySelector(".nowNum");
261
+        let fillLine = document.querySelector(".fillLine");
262
+        allNum.textContent=historySlides.length;
263
+        let historySwiper = null;
264
+        if(isMob){
265
+            historySwiper = new Swiper(".historySwiper", {
266
+                autoplay: false,
267
+                rewind:true,
268
+                initialSlide: historySlides.length-1,
269
+                navigation: {
270
+                    nextEl: '.btn-nextH1',
271
+                    prevEl: '.btn-prevH1',
272
+                },
273
+                on:{
274
+                    slideChange: function(){
275
+                        nowNum.textContent=this.activeIndex+1;
276
+                        let numL=historySlides.length-this.activeIndex;
277
+                        fillLine.style.width=parseFloat(numL/historySlides.length)*100+"%";
278
+                    },
279
+                },
280
+              });
281
+        }else{
282
+            historySwiper = new Swiper(".historySwiper", {
283
+                autoplay: false,
284
+                rewind:true,
285
+                slidesPerView: "auto",
286
+                spaceBetween: 10,
287
+                freeMode: true,
288
+                slidesOffsetAfter : 210,
289
+                initialSlide: historySlides.length-1,
290
+                navigation: {
291
+                    nextEl: '.btn-nextH1',
292
+                    prevEl: '.btn-prevH1',
293
+                },
294
+              });
295
+        }
296
+        
297
+        let hisSlides=[];
298
+        historyTits.forEach((item,index)=>{
299
+            item.addEventListener("click", (e) => {
300
+                historyTits.forEach(item2=>{
301
+                    item2.classList.remove("active");
302
+                });
303
+                item.classList.add("active");
304
+                let year=item.textContent.substring(0,4)*1;
305
+                hisCk(year)
306
+            });
307
+        });
308
+        historySlides.forEach((item,index)=>{
309
+            let year=item.querySelector(".hisTime").textContent*1;
310
+            let obj={
311
+                year:year,
312
+                num:index
313
+            };
314
+            hisSlides.push(obj);
315
+        })
219 316
 
317
+        function hisCk(year){
318
+            let maxYear = null;
319
+            let num=0;
320
+            let swNum=0;
321
+            hisSlides.forEach((item,index)=>{
322
+                if(item.year>=year&&item.year<year+10){
323
+                    historySlides[index].classList.add("activeShow");
324
+                    swNum++;
325
+                    if (maxYear === null || item.year >= maxYear) {
326
+                        maxYear = item.year;
327
+                        num=item.num;
328
+                    }
329
+                }else{
330
+                    historySlides[index].classList.remove("activeShow");
331
+                }
332
+            });
333
+            // historySwiper.slideTo(num,2000,function(e){
334
+            //     console.log(e,'dddd',maxYear,num,historySwiper.getTranslate());
335
+            // });
336
+            if(isMob){
337
+                historySwiper.slideTo(num);
338
+                
339
+            }else{
340
+                let trnum=num*310;
341
+                let moveN=0;
342
+                if(trnum>historySwiperWidth){
343
+                    moveN=-(trnum-historySwiperWidth)-310;
344
+                }
345
+                historySwiper.setTransition(1000);//设定过渡的时间
346
+                historySwiper.setTranslate(moveN);//设定位移,可以为正数
347
+            }
348
+            
349
+            
350
+        }
351
+        //企业文化
352
+        var corporateSwiper = new Swiper(".corporateSwiper", {
353
+            effect: "fade",
354
+            autoplay: false,
355
+          });
356
+        let corTits=document.querySelectorAll(".corTits div");
357
+        let corTxts=document.querySelectorAll(".corTxts div");
358
+        corTits.forEach((item,index)=>{
359
+            item.addEventListener("mouseover", (e) => {
360
+                console.log(8888);
361
+                corTits.forEach(item2=>{
362
+                    item2.classList.remove("activS");
363
+                });
364
+                corTxts.forEach(item2=>{
365
+                    item2.classList.remove("activS");
366
+                });
367
+                item.classList.add("activS");
368
+                corTxts[index].classList.add("activS");
369
+                corporateSwiper.slideTo(index);
370
+            });
371
+        })
220 372
     }
221 373
 
222 374
 

+ 667
- 388
src/pages/index/index.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 596
- 188
src/pages/index/index.less
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 7
- 24
src/pages/join/index.html Zobrazit soubor

@@ -17,10 +17,6 @@
17 17
       <div class="desCon">
18 18
         <div class="wow fadeInUp desTop">
19 19
           <div class="title">加入中泽</div>
20
-          <div class="text">中泽控股集团股份有限公司(简称中泽集团)是以投资并购和企业运营为核心业务的大型民营集团,创建于1995年,总部位于北京。中泽控股集团股份有限公司(简称中泽集团)是以投资并购和企业运营为核心业务的大型民营集团,创建于1995年,总部位于北京。</div>
21
-        </div>
22
-        <div class="wow fadeInUp desTopImg">
23
-          <img class="lazy" data-src="./static/images/join/banner.jpg" data-srcM="./static/images/join/banner.jpg" alt="" />
24 20
         </div>
25 21
         <!--  -->
26 22
         <div class="careersType" id="careersInfo">
@@ -65,7 +61,7 @@
65 61
                     </div>
66 62
                     <div class="h4">5.公司名称:中泽控股集团有限公司</div>
67 63
                     <div class="h4">6.简历投递:hr@lnzzgroup.com</div>
68
-                    <a href="" class="btn"><span>申请加入</span></a>
64
+                    <!-- <a href="" class="btn"><span>申请加入</span></a> -->
69 65
                   </div>
70 66
                   <div class="infoSonLi">
71 67
                     <div class="h4">1.岗位名称:律师(公司法务方向)</div>
@@ -90,7 +86,7 @@
90 86
                     </div>
91 87
                     <div class="h4">5.公司名称:中泽控股集团有限公司</div>
92 88
                     <div class="h4">6.简历投递:hr@lnzzgroup.com</div>
93
-                    <a href="" class="btn"><span>申请加入</span></a>
89
+                    <!-- <a href="" class="btn"><span>申请加入</span></a> -->
94 90
                   </div>
95 91
                 </div>
96 92
                 <div class="wow fadeInUp infoLi">
@@ -125,7 +121,7 @@
125 121
                     </div>
126 122
                     <div class="h4">5.公司名称:中泽控股集团有限公司</div>
127 123
                     <div class="h4">6.简历投递:hr@lnzzgroup.com</div>
128
-                    <a href="" class="btn"><span>申请加入</span></a>
124
+                    <!-- <a href="" class="btn"><span>申请加入</span></a> -->
129 125
                   </div>
130 126
                   <div class="infoSonLi">
131 127
                     <div class="h4">1.岗位名称:律师(公司法务方向)</div>
@@ -150,7 +146,7 @@
150 146
                     </div>
151 147
                     <div class="h4">5.公司名称:中泽控股集团有限公司</div>
152 148
                     <div class="h4">6.简历投递:hr@lnzzgroup.com</div>
153
-                    <a href="" class="btn"><span>申请加入</span></a>
149
+                    <!-- <a href="" class="btn"><span>申请加入</span></a> -->
154 150
                   </div>
155 151
                 </div>
156 152
               </div>
@@ -200,7 +196,8 @@
200 196
                   </div>
201 197
                 </a>
202 198
               </div>
203
-              <a href="./joinList.html" class="btn"><span>更多</span></a>
199
+              <div class="btnNew"><a href="./joinList.html" class="wow fadeInUp btn3">更多<span class="icon iconfont icon-jiantou"></span></a></div>
200
+              
204 201
               <div class="wow fadeInUp inLiCon">
205 202
                 <div class="title">反舞弊举报通道</div>
206 203
                 <div class="liLine"></div>
@@ -211,21 +208,7 @@
211 208
             </div>
212 209
           </div>
213 210
         </div>
214
-        <!--  -->
215
-        <div class="wow fadeInUp contactUs" id="contactUs">
216
-          <div class="contactCon">
217
-            <div>
218
-              <div class="wow fadeInUp title contactUsTit">联系我们</div>
219
-              <div class="wow fadeInUp text text1">如您有任何疑问或想了解更多关于我们的服务,请联系我们。</div>
220
-              <div class="wow fadeInUp title contactType">联系方式</div>
221
-              <div class="wow fadeInUp text">电话:010-65008562</div>
222
-              <div class="wow fadeInUp text">邮编:100020</div>
223
-              <div class="wow fadeInUp text">总部地址:北京市朝阳区金河东路正大中心北塔28层</div>
224
-              <div class="wow fadeInUp text">邮箱:zzjt@lnzzgroup.com</div>
225
-            </div>
226
-            <div><img class="wow fadeInUp lazy" data-src="./static/images/join/joinC.jpg" data-srcM="./static/images/join/joinC.jpg" alt="" /></div>
227
-          </div>
228
-        </div>
211
+        
229 212
       </div>
230 213
       <div class="goUp">
231 214
         <img src="./static/images/join/jt.png" alt=""/>

+ 31
- 21
src/pages/join/index.less Zobrazit soubor

@@ -30,22 +30,8 @@
30 30
     width: 100%;
31 31
     max-width: 1300px;
32 32
     margin: 0px auto;
33
-    display: flex;
34
-    text-align: left;
33
+    text-align: center;
35 34
     padding-bottom: 46px;
36
-    &>div{
37
-      width: 50%;
38
-    }
39
-  }
40
-  .desTopImg{
41
-    width: 100%;
42
-    max-width: 1500px;
43
-    margin: 0px auto;
44
-    padding-bottom: 100px;
45
-    img{
46
-      width: 100%;
47
-      display: block;
48
-    }
49 35
   }
50 36
   .careersType{
51 37
     width: 100%;
@@ -116,7 +102,7 @@
116 102
     .typeCon{
117 103
         width: 100%;
118 104
         background: #f6f6f6;
119
-        padding-bottom: 120px;
105
+        padding-bottom: 250px;
120 106
         display: none;
121 107
         .infoul{
122 108
             width: 100%;
@@ -266,6 +252,10 @@
266 252
                     border-bottom: 1px dashed #000000;
267 253
                     margin-bottom: 95px;
268 254
                     padding-top: 45px;
255
+                    padding-bottom: 100px;
256
+                    &:last-child{
257
+                        padding-bottom: 10px;
258
+                    }
269 259
                 }
270 260
             }
271 261
         }
@@ -294,7 +284,7 @@
294 284
                   justify-content: space-between;
295 285
                   padding-bottom: 27px;
296 286
                   border-bottom: 1px solid #acacac5e;
297
-                  margin-top: 27px;
287
+                  padding-top: 27px;
298 288
                   &:last-child{
299 289
                     border-bottom: 0px solid #ACACAC;
300 290
                   }
@@ -340,13 +330,30 @@
340 330
                       font-size: 16px;
341 331
                     }
342 332
                   }
333
+                  transition: all 0.3s ease-in-out;
334
+                  &:hover{
335
+                    background: rgba(184, 28, 37, 0.05);
336
+                    .newsLiCon{
337
+                        .liTitle{
338
+                            color: #B81C25;
339
+                        }
340
+                    }
341
+                    
342
+                  }
343 343
                 }
344 344
             }
345
-            .btn{
345
+            .btnNew{
346
+                text-align: center;
347
+            }
348
+            .btn3{
349
+                width: 200px;
350
+                height: 50px;
351
+                line-height: 50px;
346 352
                 margin: 59px auto 0px;
347
-                position: relative;
348
-                left: 50%;
349
-                transform: translateX(-50%);
353
+                font-size: 14px;
354
+                span{
355
+                    font-size: 26px;
356
+                }
350 357
             }
351 358
             .inLiCon{
352 359
                 width: 100%;
@@ -625,6 +632,9 @@
625 632
                 .btn{
626 633
                     margin: 20px auto 0px;
627 634
                 }
635
+                .btn3{
636
+                    margin: 20px auto 0px;
637
+                }
628 638
                 .inLiCon{
629 639
                     justify-content: center;
630 640
                     flex-wrap: wrap;

+ 39
- 0
src/pages/product copy/App.js Zobrazit soubor

@@ -0,0 +1,39 @@
1
+import Swiper from 'swiper/bundle'
2
+import gsap from 'gsap'
3
+import LocomotiveScroll from 'locomotive-scroll';
4
+import Common from '../common/js/Common'
5
+import {
6
+    isMobile
7
+} from '../common/js/utils'
8
+
9
+export default class App {
10
+    constructor() {
11
+        let common = new Common(document.querySelector('.main'),1)   //导航菜单高亮,0是首页,后面的按顺序添加
12
+        this.isMobile = isMobile()
13
+        
14
+        this.scroll = new LocomotiveScroll();
15
+        // 图片及视频资源懒加载。防止阻塞js执行
16
+        let lazyDoms = document.querySelectorAll(".lazy");
17
+        let isMob=this.isMobile;
18
+        lazyDoms.forEach((item) => {
19
+            if (item.nodeName == "PICTURE") {
20
+                item.children[0].setAttribute("srcset", item.children[0].dataset.srcset);
21
+                item.children[1].setAttribute("src", item.children[1].dataset.src);
22
+            }
23
+            if (item.nodeName == "IMG") {
24
+                if(isMob){item.setAttribute("src", item.dataset.srcm);}
25
+                else{
26
+                    item.setAttribute("src", item.dataset.src);
27
+                }
28
+                
29
+            }
30
+            if (item.nodeName == "VIDEO") {
31
+                console.log(item, 'item---2')
32
+                item.setAttribute("src", item.dataset.src);
33
+                // item.load();
34
+            }
35
+        });
36
+    }
37
+
38
+
39
+}

src/pages/product/images/newsz.png → src/pages/product copy/images/newsz.png Zobrazit soubor


src/pages/product/images/productz.png → src/pages/product copy/images/productz.png Zobrazit soubor


+ 138
- 0
src/pages/product copy/index.html Zobrazit soubor

@@ -0,0 +1,138 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+  <head>
4
+    <meta charset="utf-8" />
5
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
+    <title>产业布局</title>
7
+    <meta name="description" content=""/>
8
+    <meta name="Keywords" content=""/>
9
+    <meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport" />
10
+    <%= require('../common/tpl/headerLink.tpl') %>
11
+  </head>
12
+
13
+  <body>
14
+    <%= require('../common/tpl/header.tpl') %>
15
+    
16
+    <div class="main">
17
+      <div class="li">
18
+        <div class="liLeft">
19
+          <div class="liCon">
20
+            <div class="wow fadeInUp num">01</div>
21
+            <div class="wow fadeInUp title">铁合金</div>
22
+            <div class="wow fadeInUp text">铁合金板块是中泽集团重要业务板块之一,主要企业是吉林铁合金、吉铁铁合金、瑞志煤化工、新疆吉铁和辽阳铁合金,重点分布在内蒙、新疆地区。中泽集团发挥吉林铁合金技术、管理和品牌等综合优势,践行绿色发展理念,在资源配置合理地区以综合年产能120万吨为基础规划远期目标年产1000万吨的铁合金项目。项目采用约60%清洁能源,综合运用新质生产力推动高耗能行业转型升级,致力于打造产能规模最大、工艺技术最领先、综合成本最低、资源利用效率最高的铁合金产业集群。</div>
23
+            <a href="./productDec1.html" class="wow fadeInUp btn"><span>查看更多</span></a>
24
+          </div>
25
+        </div>
26
+        <div class="wow fadeInUp">
27
+          <img class="lazy" data-src="./static/images/product/product1.png" data-srcM="./static/images/product/product1.png" alt="" />
28
+        </div>
29
+      </div>
30
+      <div class="li">
31
+        <div class="liLeft">
32
+          <div class="liCon">
33
+            <div class="wow fadeInUp num">02</div>
34
+            <div class="wow fadeInUp title">炭素</div>
35
+            <div class="wow fadeInUp text">炭素板块是中泽集团重点建设板块之一,主要企业包括吉林炭素和吉蒙炭素,主要产品包括石墨电极、石墨阳极、炭块、糊类、特种炭制品、炭纤维制品等,广泛应用于冶金、化工、机械、电子、医疗、科研及新材料等领域,产品销往40多个国家和地区。内蒙古乌兰察布地区吉蒙炭素年产8万吨石墨电极,与吉林炭素配套形成国内领先的综合类炭素制品生产基地。</div>
36
+            <a href="./productDec2.html" class="wow fadeInUp btn"><span>查看更多</span></a>
37
+          </div>
38
+        </div>
39
+        <div class="wow fadeInUp">
40
+          <img class="lazy" data-src="./static/images/product/product2.png" data-srcM="./static/images/product/product2.png" alt="" />
41
+        </div>
42
+      </div>
43
+      <div class="li">
44
+        <div class="liLeft">
45
+          <div class="liCon">
46
+            <div class="wow fadeInUp num">03</div>
47
+            <div class="wow fadeInUp title">钼业</div>
48
+            <div class="wow fadeInUp text">钼业板块是中泽集团聚合旗下大黑山钼业、天池钼业、中泽钼业、中泽新型建材四家企业,以“钼采选+钼化工+钼制品+钼尾矿综合利用”为主线打造的“四位一体”大型钼产业集群。力争通过钼板块的资源集约式发展,释放钼产业综合利用效益,打造国际上规模最大、技术领先的大型钼业集团。钼资源总金属储量134万吨,钼精矿年供应能力4万吨,占国内可流通钼精矿市场份额首位。</div>
49
+            <a href="./productDec3.html" class="wow fadeInUp btn"><span>查看更多</span></a>
50
+          </div>
51
+        </div>
52
+        <div class="wow fadeInUp">
53
+          <img class="lazy" data-src="./static/images/product/product3.png" data-srcM="./static/images/product/product3.png" alt="" />
54
+        </div>
55
+      </div>
56
+      <div class="li">
57
+        <div class="liLeft">
58
+          <div class="liCon">
59
+            <div class="wow fadeInUp num">04</div>
60
+            <div class="wow fadeInUp title">镍业</div>
61
+            <div class="wow fadeInUp text">镍业板块包括吉恩镍业及其子公司、四平昊融银业。中泽集团依托吉恩镍业产业基础、品牌和技术优势,拓展原料渠道,把握镍产业发展机遇,开辟国际合作路径,致力于实现镍产业规模化、可持续发展。</div>
62
+            <a href="./productDec4.html" class="wow fadeInUp btn"><span>查看更多</span></a>
63
+          </div>
64
+        </div>
65
+        <div class="wow fadeInUp">
66
+          <img class="lazy" data-src="./static/images/product/product4.png" data-srcM="./static/images/product/product4.png" alt="" />
67
+        </div>
68
+      </div>
69
+      <div class="li">
70
+        <div class="liLeft">
71
+          <div class="liCon">
72
+            <div class="wow fadeInUp num">05</div>
73
+            <div class="wow fadeInUp title">化工</div>
74
+            <div class="wow fadeInUp text">化工板块是中泽集团新的业务板块,主要企业包括金煤化工、新瑞石化,主要产品为乙二醇、草酸、MTBE、乙苯、液化气、正丁烷。中泽集团规划以现有旗下化工企业为基础,逐步打造一个技术先进、产业链完备、市场领先的化工产业集群。</div>
75
+            <a href="./productDec5.html" class="wow fadeInUp btn"><span>查看更多</span></a>
76
+          </div>
77
+        </div>
78
+        <div class="wow fadeInUp">
79
+          <img class="lazy" data-src="./static/images/product/product5.png" data-srcM="./static/images/product/product5.png" alt="" />
80
+        </div>
81
+      </div>
82
+      <div class="li">
83
+        <div class="liLeft">
84
+          <div class="liCon">
85
+            <div class="wow fadeInUp num">06</div>
86
+            <div class="wow fadeInUp title">装备制造</div>
87
+            <div class="wow fadeInUp text">装备制造领域由朝阳重型、辽宁省机械研究院及其下属子公司组成,是中泽集团机械研发设计、制造基地。</div>
88
+            <a href="./productDec6.html" class="wow fadeInUp btn"><span>查看更多</span></a>
89
+          </div>
90
+        </div>
91
+        <div class="wow fadeInUp">
92
+          <img class="lazy" data-src="./static/images/product/product6.png" data-srcM="./static/images/product/product6.png" alt="" />
93
+        </div>
94
+      </div>
95
+      <div class="li">
96
+        <div class="liLeft">
97
+          <div class="liCon">
98
+            <div class="wow fadeInUp num">07</div>
99
+            <div class="wow fadeInUp title">产业互联网</div>
100
+            <div class="wow fadeInUp text">产业互联网板块由万联易达及其子公司构成,致力于以人工智能为支撑,推动产业生态智能化升级。以更垂直化、多模态化、行业融合化的方式推出针对性的各类人工智能纵向大模型,为社会全产业提供商品贸易、整车物流、金融等数智化解决方案,促进全产业链协同发展。</div>
101
+            <a href="./productDec7.html" class="wow fadeInUp btn"><span>查看更多</span></a>
102
+          </div>
103
+        </div>
104
+        <div class="wow fadeInUp">
105
+          <img class="lazy" data-src="./static/images/product/product7.png" data-srcM="./static/images/product/product7.png" alt="" />
106
+        </div>
107
+      </div>
108
+      <div class="li" id="jinrong">
109
+        <div class="liLeft">
110
+          <div class="liCon">
111
+            <div class="wow fadeInUp num">08</div>
112
+            <div class="wow fadeInUp title">金融</div>
113
+            <div class="wow fadeInUp text">金融板块主要企业包括商贸集团、中睿元同、金山岭、深圳君奇,是实现集团投资并购与实体产业双轮驱动发展模式的重要支撑。</div>
114
+            <a href="./productDec8.html" class="wow fadeInUp btn"><span>查看更多</span></a>
115
+          </div>
116
+        </div>
117
+        <div class="wow fadeInUp">
118
+          <img class="lazy" data-src="./static/images/product/product8.png" data-srcM="./static/images/product/product8.png" alt="" />
119
+        </div>
120
+      </div>
121
+      <div class="li" id="qita">
122
+        <div class="liLeft">
123
+          <div class="liCon">
124
+            <div class="wow fadeInUp num">09</div>
125
+            <div class="wow fadeInUp title">其他</div>
126
+            <div class="wow fadeInUp text">有色金属是国民经济发展的基础材料,中泽集团有色金属板块包括镍、钼、金、银等产业。</div>
127
+            <a href="./productDec9.html" class="wow fadeInUp btn"><span>查看更多</span></a>
128
+          </div>
129
+        </div>
130
+        <div class="wow fadeInUp">
131
+          <img class="lazy" data-src="./static/images/product/product9.png" data-srcM="./static/images/product/product9.png" alt="" />
132
+        </div>
133
+      </div>
134
+    </div>
135
+    <%= require('../common/tpl/footer.tpl') %>
136
+    <!-- <%= require('../common/tpl/bottomBar.tpl') %> -->
137
+  </body>
138
+</html>

+ 15
- 0
src/pages/product copy/index.js Zobrazit soubor

@@ -0,0 +1,15 @@
1
+import "./../common/css/common.less";
2
+import "./index.less";
3
+import vhCheck from "vh-check"; //移动端浏览器100vh高度不一致
4
+import App from './App.js';
5
+
6
+// swiper的css目前环境解析不出来,放static下,不走webpack 
7
+//import 'swiper/swiper-bundle.css';
8
+
9
+vhCheck();
10
+//禁止浏览器刷新后回到上一个页面滚动位置
11
+if ('scrollRestoration' in history) {
12
+    history.scrollRestoration = 'manual';
13
+}
14
+
15
+new App();

+ 98
- 0
src/pages/product copy/index.less Zobrazit soubor

@@ -0,0 +1,98 @@
1
+
2
+//pc端样式
3
+.main {
4
+    width: 100%;
5
+    max-width: 1920px;
6
+    margin: 0 auto;
7
+    padding-top: 71px;
8
+    padding-bottom: 80px;
9
+}
10
+.li{
11
+  width: 100%;
12
+  display: flex;
13
+  padding: 160px 0px 60px;
14
+  &>div{
15
+    width: 50%;
16
+    .liCon{
17
+      width: 650px;
18
+      text-align: left;
19
+      box-sizing: border-box;
20
+      padding-right: 90px;
21
+      .num{
22
+        font-family: 'MyFont1';
23
+        font-weight: bold;
24
+        font-size: 30px;
25
+        color: #231F20;
26
+        margin-bottom: 30px;
27
+      }
28
+      .text{
29
+        color: #9fa3a5;
30
+        margin-top: 28px;
31
+        margin-bottom: 76px;
32
+      }
33
+    }
34
+    img{
35
+      width: 100%;
36
+      height: 100%;
37
+      display: block;
38
+      object-fit: cover;
39
+    }
40
+  }
41
+  .liLeft{
42
+    display: flex;
43
+    flex-direction: row-reverse;
44
+  }
45
+}
46
+
47
+@media screen and (min-width: 801px) and (max-width: 1400px) {
48
+  
49
+}
50
+@media screen and (min-width:800px){
51
+  
52
+}
53
+.mTxt{
54
+  display: none;
55
+}
56
+//移动端样式
57
+@media screen and (max-width:800px) {
58
+  .pcTxt{
59
+    display: none;
60
+  }
61
+  .mTxt{
62
+    display: block;
63
+  }
64
+  .main{
65
+    padding-top: 61px;
66
+    padding-bottom: 30px;
67
+  }
68
+  .li{
69
+    padding: 80px 15px 30px;
70
+    flex-wrap: wrap;
71
+    box-sizing: border-box;
72
+    &>div{
73
+      width: 100%;
74
+      .liCon{
75
+        width: 100%;
76
+        padding-right: 0px;
77
+        .num {
78
+          font-size: 20px;
79
+          margin-bottom: 15px;
80
+        }
81
+        .title {
82
+          font-size: 32px;
83
+          line-height: 36px;
84
+        }
85
+        .text {
86
+          font-size: 16px;
87
+          line-height: 30px;
88
+          margin-top: 18px;
89
+          margin-bottom: 40px;
90
+          text-align: justify;
91
+        }
92
+      }
93
+    }
94
+    .liLeft{
95
+      margin-bottom: 40px;
96
+    }
97
+  }
98
+}

+ 62
- 0
src/pages/product/App.js Zobrazit soubor

@@ -33,7 +33,69 @@ export default class App {
33 33
                 // item.load();
34 34
             }
35 35
         });
36
+        this.product();
36 37
     }
38
+    product(){
39
+        let isMob=this.isMobile;
40
+        let productCks = document.querySelectorAll(".productTit");
41
+        let productTits=document.querySelector(".productTits");
42
+        function scrollLeft(num){
43
+            let leftNum=0;
44
+            productCks.forEach((item,index)=>{
45
+                // 获取元素的宽度
46
+                let width = item.getBoundingClientRect().width;
37 47
 
48
+                // 获取元素的 margin-right
49
+                let style = window.getComputedStyle(item);
50
+                let marginRight = parseFloat(style.marginRight);
51
+                if(index<num){
52
+                    leftNum+=width+marginRight;
53
+                }
54
+            });
55
+            gsap.to(productTits, {
56
+                scrollLeft: leftNum, // 目标滚动位置
57
+                duration: 0.5,   // 动画持续时间(秒)
58
+                ease: "power1.out" // 缓动效果
59
+              });
60
+        }
61
+        let mySwiper = new Swiper('.productSwiper', {
62
+                autoplay: false,//可选选项,自动滑动
63
+                autoHeight: true,
64
+                slidesPerView: "auto",
65
+                slidesPerGroup : isMob?1:3,
66
+                spaceBetween: isMob?0:20,
67
+                allowTouchMove: isMob?true:false,
68
+                slidesOffsetBefore : isMob?0:210,
69
+                navigation: {
70
+                    nextEl: '.btn-nextP1',
71
+                    prevEl: '.btn-prevP1',
72
+                },
73
+                on:{
74
+                    slideChange: function(){
75
+                        console.log(this.realIndex);
76
+                        let index0=this.realIndex;
77
+                        // productTits.scrollLeft=100;
78
+                        scrollLeft(index0)
79
+                        productCks.forEach((item,index)=>{
80
+                            if(index==index0){
81
+                                item.classList.add("productCk");
82
+                            }else{
83
+                                item.classList.remove("productCk");
84
+                            }
85
+                        });
86
+                    },
87
+                },
88
+        });
89
+        productCks.forEach((item,index)=>{
90
+            item.addEventListener("click", (e) => {
91
+                item.parentNode.querySelectorAll(".productTit").forEach(item2=>{
92
+                    item2.classList.remove("productCk");
93
+                });
94
+                item.classList.add("productCk");
95
+                mySwiper.slideToLoop(index);
96
+                
97
+            });
98
+        });
99
+    }
38 100
 
39 101
 }

binární
src/pages/product/images/aicon.png Zobrazit soubor


+ 236
- 103
src/pages/product/index.html Zobrazit soubor

@@ -7,6 +7,11 @@
7 7
     <meta name="description" content=""/>
8 8
     <meta name="Keywords" content=""/>
9 9
     <meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport" />
10
+    <link
11
+      href="./static/css/swiper-bundle.min.css"
12
+      rel="stylesheet"
13
+      type="text/css"
14
+    />
10 15
     <%= require('../common/tpl/headerLink.tpl') %>
11 16
   </head>
12 17
 
@@ -14,121 +19,249 @@
14 19
     <%= require('../common/tpl/header.tpl') %>
15 20
     
16 21
     <div class="main">
17
-      <div class="li">
18
-        <div class="liLeft">
19
-          <div class="liCon">
20
-            <div class="wow fadeInUp num">01</div>
21
-            <div class="wow fadeInUp title">铁合金</div>
22
-            <div class="wow fadeInUp text">铁合金板块是中泽集团重要业务板块之一,主要企业是吉林铁合金、吉铁铁合金、瑞志煤化工、新疆吉铁和辽阳铁合金,重点分布在内蒙、新疆地区。中泽集团发挥吉林铁合金技术、管理和品牌等综合优势,践行绿色发展理念,在资源配置合理地区以综合年产能120万吨为基础规划远期目标年产1000万吨的铁合金项目。项目采用约60%清洁能源,综合运用新质生产力推动高耗能行业转型升级,致力于打造产能规模最大、工艺技术最领先、综合成本最低、资源利用效率最高的铁合金产业集群。</div>
23
-            <a href="./productDec1.html" class="wow fadeInUp btn"><span>查看更多</span></a>
22
+      <div class="product" id="hxbk">
23
+        <div class="wow fadeInUp title" data-wow-delay="0.2s">核心板块</div>
24
+        <div class="wow fadeInUp productCon">
25
+          <div class="productTits">
26
+            <div>
27
+            <div class="productTit productCk">
28
+              <div>铁合金</div>
29
+            </div>
30
+            <div class="productTit">
31
+              <div>炭素</div>
32
+            </div>
33
+            <div class="productTit">
34
+              <div>钼业</div>
35
+            </div>
36
+            <div class="productTit">
37
+              <div>镍业</div>
38
+            </div>
39
+            <div class="productTit">
40
+              <div>大消费</div>
41
+            </div>
42
+            <div class="productTit">
43
+              <div>产业互联网</div>
44
+            </div>
45
+            <div class="productTit">
46
+              <div>石油化工</div>
47
+            </div>
24 48
           </div>
25
-        </div>
26
-        <div class="wow fadeInUp">
27
-          <img class="lazy" data-src="./static/images/product/product1.png" data-srcM="./static/images/product/product1.png" alt="" />
28
-        </div>
29
-      </div>
30
-      <div class="li">
31
-        <div class="liLeft">
32
-          <div class="liCon">
33
-            <div class="wow fadeInUp num">02</div>
34
-            <div class="wow fadeInUp title">炭素</div>
35
-            <div class="wow fadeInUp text">炭素板块是中泽集团重点建设板块之一,主要企业包括吉林炭素和吉蒙炭素,主要产品包括石墨电极、石墨阳极、炭块、糊类、特种炭制品、炭纤维制品等,广泛应用于冶金、化工、机械、电子、医疗、科研及新材料等领域,产品销往40多个国家和地区。内蒙古乌兰察布地区吉蒙炭素年产8万吨石墨电极,与吉林炭素配套形成国内领先的综合类炭素制品生产基地。</div>
36
-            <a href="./productDec2.html" class="wow fadeInUp btn"><span>查看更多</span></a>
37 49
           </div>
38
-        </div>
39
-        <div class="wow fadeInUp">
40
-          <img class="lazy" data-src="./static/images/product/product2.png" data-srcM="./static/images/product/product2.png" alt="" />
41
-        </div>
42
-      </div>
43
-      <div class="li">
44
-        <div class="liLeft">
45
-          <div class="liCon">
46
-            <div class="wow fadeInUp num">03</div>
47
-            <div class="wow fadeInUp title">钼业</div>
48
-            <div class="wow fadeInUp text">钼业板块是中泽集团聚合旗下大黑山钼业、天池钼业、中泽钼业、中泽新型建材四家企业,以“钼采选+钼化工+钼制品+钼尾矿综合利用”为主线打造的“四位一体”大型钼产业集群。力争通过钼板块的资源集约式发展,释放钼产业综合利用效益,打造国际上规模最大、技术领先的大型钼业集团。钼资源总金属储量134万吨,钼精矿年供应能力4万吨,占国内可流通钼精矿市场份额首位。</div>
49
-            <a href="./productDec3.html" class="wow fadeInUp btn"><span>查看更多</span></a>
50
+          <div class="productConBox">
51
+            <div class="swiper productSwiper">
52
+              <div class="swiper-wrapper">
53
+                <div class="swiper-slide">
54
+                  <a href="./productDec1.html">
55
+                    <img class="lazy" data-src="./static/images/product/core1.jpg" data-srcM="./static/images/product/core1.jpg" alt="" />
56
+                    <div class="slideZ"></div>
57
+                    <div class="slideCon">
58
+                        <div class="conTit">铁合金</div>
59
+                        <div class="text">铁合金板块是中泽集团重要业务板块之一,主要企业是吉林铁合金、吉铁铁合金、瑞志煤化工、新疆吉铁和辽阳铁合金,重点分布在内蒙、新疆地区。中泽集团发挥吉林铁合金技术、管理和品牌等综合优势,践行绿色发展理念,在资源配置合理地区以综合年产能120万吨为基础规划远期目标年产1000万吨的铁合金项目。</div>
60
+                    </div>
61
+                  </a>
62
+                </div>
63
+                <div class="swiper-slide">
64
+                  <a href="./productDec2.html"><img class="lazy" data-src="./static/images/product/core2.jpg" data-srcM="./static/images/product/core2.jpg" alt="" />
65
+                    <div class="slideZ"></div>
66
+                    <div class="slideCon">
67
+                        <div class="conTit">炭素</div>
68
+                        <div class="text">主要企业是吉林炭素和吉蒙炭素,主要产品包括石墨电极、石墨阳极、炭块、糊类、特种炭制品、炭纤维制品等,产品销往40多个国家和地区。</div>
69
+                    </div>
70
+                  </a>
71
+                </div>
72
+                <div class="swiper-slide">
73
+                  <a href="./productDec3.html"><img class="lazy" data-src="./static/images/product/core3.jpg" data-srcM="./static/images/product/core3.jpg" alt="" />
74
+                    <div class="slideZ"></div>
75
+                    <div class="slideCon">
76
+                      <div class="conTit">钼业</div>
77
+                      <div class="text">钼业</div>
78
+                    </div>
79
+                  </a>
80
+                </div>
81
+                <div class="swiper-slide">
82
+                  <a href="./productDec4.html"><img class="lazy" data-src="./static/images/product/core4.jpg" data-srcM="./static/images/product/core4.jpg" alt="" />
83
+                    <div class="slideZ"></div>
84
+                    <div class="slideCon">
85
+                        <div class="conTit">镍业</div>
86
+                        <div class="text">镍业</div>
87
+                    </div>
88
+                  </a>
89
+                </div>
90
+                <div class="swiper-slide">
91
+                  <a href="./productDec5.html"><img class="lazy" data-src="./static/images/product/core5.jpg" data-srcM="./static/images/product/core5.jpg" alt="" />
92
+                    <div class="slideZ"></div>
93
+                    <div class="slideCon">
94
+                      <div class="conTit">大消费</div>
95
+                      <div class="text">大消费</div>
96
+                    </div>
97
+                  </a>
98
+                </div>
99
+                <div class="swiper-slide">
100
+                  <a href="./productDec6.html"><img class="lazy" data-src="./static/images/product/core6.jpg" data-srcM="./static/images/product/core6.jpg" alt="" />
101
+                    <div class="slideZ"></div>
102
+                    <div class="slideCon">
103
+                      <div class="conTit">产业互联网</div>
104
+                      <div class="text">产业互联网</div>
105
+                    </div>
106
+                  </a>
107
+                </div>
108
+                <div class="swiper-slide">
109
+                  <a href="./productDec7.html"><img class="lazy" data-src="./static/images/product/core7.jpg" data-srcM="./static/images/product/core7.jpg" alt="" />
110
+                    <div class="slideZ"></div>
111
+                    <div class="slideCon">
112
+                      <div class="conTit">石油化工</div>
113
+                      <div class="text">石油化工</div>
114
+                    </div>
115
+                  </a>
116
+                </div>
117
+              </div>
118
+            </div>
50 119
           </div>
51
-        </div>
52
-        <div class="wow fadeInUp">
53
-          <img class="lazy" data-src="./static/images/product/product3.png" data-srcM="./static/images/product/product3.png" alt="" />
54
-        </div>
55
-      </div>
56
-      <div class="li">
57
-        <div class="liLeft">
58
-          <div class="liCon">
59
-            <div class="wow fadeInUp num">04</div>
60
-            <div class="wow fadeInUp title">镍业</div>
61
-            <div class="wow fadeInUp text">镍业板块包括吉恩镍业及其子公司、四平昊融银业。中泽集团依托吉恩镍业产业基础、品牌和技术优势,拓展原料渠道,把握镍产业发展机遇,开辟国际合作路径,致力于实现镍产业规模化、可持续发展。</div>
62
-            <a href="./productDec4.html" class="wow fadeInUp btn"><span>查看更多</span></a>
120
+          <div class="swiper-page">
121
+            <!-- 如果需要分页器 -->
122
+            <div class="btn-prev btn-prevP1"><span class="icon iconfont icon-jiantou"></span></div>
123
+            <div class="btn-next btn-nextP1"><span class="icon iconfont icon-jiantou"></span></div>
63 124
           </div>
64 125
         </div>
65
-        <div class="wow fadeInUp">
66
-          <img class="lazy" data-src="./static/images/product/product4.png" data-srcM="./static/images/product/product4.png" alt="" />
67
-        </div>
68 126
       </div>
69
-      <div class="li">
70
-        <div class="liLeft">
71
-          <div class="liCon">
72
-            <div class="wow fadeInUp num">05</div>
73
-            <div class="wow fadeInUp title">化工</div>
74
-            <div class="wow fadeInUp text">化工板块是中泽集团新的业务板块,主要企业包括金煤化工、新瑞石化,主要产品为乙二醇、草酸、MTBE、乙苯、液化气、正丁烷。中泽集团规划以现有旗下化工企业为基础,逐步打造一个技术先进、产业链完备、市场领先的化工产业集群。</div>
75
-            <a href="./productDec5.html" class="wow fadeInUp btn"><span>查看更多</span></a>
76
-          </div>
77
-        </div>
78
-        <div class="wow fadeInUp">
79
-          <img class="lazy" data-src="./static/images/product/product5.png" data-srcM="./static/images/product/product5.png" alt="" />
127
+      <div class="wow fadeInUp Industrial" id="cyhl">
128
+        <img class="wow fadeInUp lazy" data-wow-delay="0.2s" data-src="./static/images/product/Industrial1.png" data-srcM="./static/images/product/Industrial1m.png" alt="" />
129
+        <div>
130
+          <img class="wow fadeInUp lazy" data-wow-delay="0.4s" data-src="./static/images/product/Industrial2.png" data-srcM="./static/images/product/Industrial2m.png" alt="" />
131
+          <img class="wow fadeInUp lazy" data-wow-delay="0.6s" data-src="./static/images/product/Industrial3.png" data-srcM="./static/images/product/Industrial3m.png" alt="" />
132
+          <img class="wow fadeIn lazy" data-wow-delay="0.8s" data-src="./static/images/product/Industrial4.png" data-srcM="./static/images/product/Industrial4m.png" alt="" />
80 133
         </div>
81 134
       </div>
82
-      <div class="li">
83
-        <div class="liLeft">
84
-          <div class="liCon">
85
-            <div class="wow fadeInUp num">06</div>
86
-            <div class="wow fadeInUp title">装备制造</div>
87
-            <div class="wow fadeInUp text">装备制造领域由朝阳重型、辽宁省机械研究院及其下属子公司组成,是中泽集团机械研发设计、制造基地。</div>
88
-            <a href="./productDec6.html" class="wow fadeInUp btn"><span>查看更多</span></a>
135
+      <div class="member" id="cyml">
136
+        <div class="wow fadeInUp title" data-wow-delay="0.2s">成员名录</div>
137
+        <div class="wow fadeInUp memberCon">
138
+          <div class="memberLi">
139
+            <img src="./static/images/product/member1.jpg" alt=""/>
140
+            <div class="liTit">吉铁铁合金有限公司</div>
141
+            <div class="upDiv">
142
+              <div class="upDivTit">吉铁铁合金有限公司</div>
143
+              <div class="text">集生产经营、研发设 计、设备制造等于一体的全国铁合金行业龙头企业</div>
144
+              <a href=""></a>
145
+            </div>
89 146
           </div>
90
-        </div>
91
-        <div class="wow fadeInUp">
92
-          <img class="lazy" data-src="./static/images/product/product6.png" data-srcM="./static/images/product/product6.png" alt="" />
93
-        </div>
94
-      </div>
95
-      <div class="li">
96
-        <div class="liLeft">
97
-          <div class="liCon">
98
-            <div class="wow fadeInUp num">07</div>
99
-            <div class="wow fadeInUp title">产业互联网</div>
100
-            <div class="wow fadeInUp text">产业互联网板块由万联易达及其子公司构成,致力于以人工智能为支撑,推动产业生态智能化升级。以更垂直化、多模态化、行业融合化的方式推出针对性的各类人工智能纵向大模型,为社会全产业提供商品贸易、整车物流、金融等数智化解决方案,促进全产业链协同发展。</div>
101
-            <a href="./productDec7.html" class="wow fadeInUp btn"><span>查看更多</span></a>
147
+          <div class="memberLi">
148
+            <img src="./static/images/product/member2.jpg" alt=""/>
149
+            <div class="liTit">吉林炭素有限公司</div>
150
+            <div class="upDiv">
151
+              <div class="upDivTit">吉林炭素有限公司</div>
152
+              <div class="text">产品主要包括石墨电极、石墨阳极、炭块、糊类、特种炭制品、炭纤维制品等,广泛应用于冶金、化工、机械、电子、医疗及新材料等领域</div>
153
+              <a href=""></a>
154
+            </div>
102 155
           </div>
103
-        </div>
104
-        <div class="wow fadeInUp">
105
-          <img class="lazy" data-src="./static/images/product/product7.png" data-srcM="./static/images/product/product7.png" alt="" />
106
-        </div>
107
-      </div>
108
-      <div class="li" id="jinrong">
109
-        <div class="liLeft">
110
-          <div class="liCon">
111
-            <div class="wow fadeInUp num">08</div>
112
-            <div class="wow fadeInUp title">金融</div>
113
-            <div class="wow fadeInUp text">金融板块主要企业包括商贸集团、中睿元同、金山岭、深圳君奇,是实现集团投资并购与实体产业双轮驱动发展模式的重要支撑。</div>
114
-            <a href="./productDec8.html" class="wow fadeInUp btn"><span>查看更多</span></a>
156
+          <div class="memberLi">
157
+            <img src="./static/images/product/member3.jpg" alt=""/>
158
+            <div class="liTit">吉林吉恩镍业股份有限公司</div>
159
+            <div class="upDiv">
160
+              <div class="upDivTit">吉林吉恩镍业股份有限公司</div>
161
+              <div class="text">集采矿、选矿、冶炼、精炼、化工于一体的大型镍、铜、钴有色金属生产加工企业。</div>
162
+              <a href=""></a>
163
+            </div>
115 164
           </div>
116
-        </div>
117
-        <div class="wow fadeInUp">
118
-          <img class="lazy" data-src="./static/images/product/product8.png" data-srcM="./static/images/product/product8.png" alt="" />
119
-        </div>
120
-      </div>
121
-      <div class="li" id="qita">
122
-        <div class="liLeft">
123
-          <div class="liCon">
124
-            <div class="wow fadeInUp num">09</div>
125
-            <div class="wow fadeInUp title">其他</div>
126
-            <div class="wow fadeInUp text">有色金属是国民经济发展的基础材料,中泽集团有色金属板块包括镍、钼、金、银等产业。</div>
127
-            <a href="./productDec9.html" class="wow fadeInUp btn"><span>查看更多</span></a>
165
+          <div class="memberLi">
166
+            <img src="./static/images/product/member4.jpg" alt=""/>
167
+            <div class="liTit">吉林大黑山钼业股份有限公司</div>
168
+            <div class="upDiv">
169
+              <div class="upDivTit">吉林大黑山钼业股份有限公司</div>
170
+              <div class="text">集钼金属采矿、选矿、碎石骨料加工为一体的综合性矿山企业</div>
171
+              <a href=""></a>
172
+            </div>
128 173
           </div>
129
-        </div>
130
-        <div class="wow fadeInUp">
131
-          <img class="lazy" data-src="./static/images/product/product9.png" data-srcM="./static/images/product/product9.png" alt="" />
174
+          <div class="memberLi">
175
+            <img src="./static/images/product/member5.jpg" alt=""/>
176
+            <div class="liTit">吉林中泽钼业有限公司</div>
177
+            <div class="upDiv">
178
+              <div class="upDivTit">吉林中泽钼业有限公司</div>
179
+              <div class="text">产品主要为氧化钼、钼铁、钼酸铵、高纯氧化钼等。</div>
180
+              <a href=""></a>
181
+            </div>
182
+          </div>
183
+          <div class="memberLi">
184
+            <img src="./static/images/product/member6.jpg" alt=""/>
185
+            <div class="liTit">万联易达物流科技有限公司</div>
186
+            <div class="upDiv">
187
+              <div class="upDivTit">万联易达物流科技有限公司</div>
188
+              <div class="text">以大宗商品交易和整车物流服务为纽带,以人工智能为支撑的产业互联网公司。</div>
189
+              <a href=""></a>
190
+            </div>
191
+          </div>
192
+          <div class="memberLi">
193
+            <img src="./static/images/product/member7.jpg" alt=""/>
194
+            <div class="liTit">通辽金煤化工有限公司</div>
195
+            <div class="upDiv">
196
+              <div class="upDivTit">通辽金煤化工有限公司</div>
197
+              <div class="text">主要产品包括煤制乙二醇、草酸、催化剂、完全生物降解塑料等</div>
198
+              <a href=""></a>
199
+            </div>
200
+          </div>
201
+          <div class="memberLi">
202
+            <img src="./static/images/product/member8.jpg" alt=""/>
203
+            <div class="liTit">辽宁省机械研究院有限公司</div>
204
+            <div class="upDiv">
205
+              <div class="upDivTit">辽宁省机械研究院有限公司</div>
206
+              <div class="text">主营科研业务为机械轻量化 设计、智能装备及大宗固废综合利用系统等。</div>
207
+              <a href=""></a>
208
+            </div>
209
+          </div>
210
+          <div class="memberLi">
211
+            <img src="./static/images/product/member9.jpg" alt=""/>
212
+            <div class="liTit">吉林卓创新材料有限公司</div>
213
+            <div class="upDiv">
214
+              <div class="upDivTit">吉林卓创新材料有限公司</div>
215
+              <div class="text">主要生产羰基铁粉、羰基镍粉等新材料产品。</div>
216
+              <a href=""></a>
217
+            </div>
218
+          </div>
219
+          <div class="memberLi">
220
+            <img src="./static/images/product/member10.jpg" alt=""/>
221
+            <div class="liTit">吉林中泽新型建材有限公司</div>
222
+            <div class="upDiv">
223
+              <div class="upDivTit">吉林中泽新型建材有限公司</div>
224
+              <div class="text">主营蒸压加气混凝土砌块、板材、高性能无机石等系列绿色建材产品。</div>
225
+              <a href=""></a>
226
+            </div>
227
+          </div>
228
+          <div class="memberLi">
229
+            <img src="./static/images/product/member11.jpg" alt=""/>
230
+            <div class="liTit">朝阳重型机器有限公司</div>
231
+            <div class="upDiv">
232
+              <div class="upDivTit">朝阳重型机器有限公司</div>
233
+              <div class="text">公司成立于1959年,是集研发设计、设备制造、安装服务、进出口商务、物流及技术咨询于一体的综合性装备制造企业。</div>
234
+              <a href=""></a>
235
+            </div>
236
+          </div>
237
+          <div class="memberLi">
238
+            <img src="./static/images/product/member12.jpg" alt=""/>
239
+            <div class="liTit">黑龙江新瑞石油化工有限公司</div>
240
+            <div class="upDiv">
241
+              <div class="upDivTit">黑龙江新瑞石油化工有限公司</div>
242
+              <div class="text">主要产品为甲基叔丁基醚(MTBE)、乙苯、液化气、正丁烷等。</div>
243
+              <a href=""></a>
244
+            </div>
245
+          </div>
246
+          <div class="memberLi">
247
+            <img src="./static/images/product/member13.jpg" alt=""/>
248
+            <div class="liTit">吉林市神舟炭纤维有限责任公司</div>
249
+            <div class="upDiv">
250
+              <div class="upDivTit">吉林市神舟炭纤维有限责任公司</div>
251
+              <div class="text">主要产品有聚丙烯睛基碳纤维、平纹碳布、斜纹碳布,主要应用于国防军工和民用领域。</div>
252
+              <a href=""></a>
253
+            </div>
254
+          </div>
255
+          <div class="memberLi">
256
+            <!-- <img src="./static/images/product/member1.png" alt=""/> -->
257
+            <div class="liTit">沈阳中泽镁材料研究院有限公司</div>
258
+            <div class="upDiv">
259
+              <div class="upDivTit">沈阳中泽镁材料研究院有限公司</div>
260
+              <div class="text">以镁为主体的金属制取、加工及高性能材料领域的新技术开发。</div>
261
+              <a href=""></a>
262
+            </div>
263
+          </div>
264
+          
132 265
         </div>
133 266
       </div>
134 267
     </div>

+ 401
- 47
src/pages/product/index.less Zobrazit soubor

@@ -3,44 +3,268 @@
3 3
 .main {
4 4
     width: 100%;
5 5
     max-width: 1920px;
6
+    min-height: 100vh;
6 7
     margin: 0 auto;
7 8
     padding-top: 71px;
8
-    padding-bottom: 80px;
9
+    padding-bottom: 30px;
9 10
 }
10
-.li{
11
+.product{
11 12
   width: 100%;
12
-  display: flex;
13
-  padding: 160px 0px 60px;
14
-  &>div{
15
-    width: 50%;
16
-    .liCon{
17
-      width: 650px;
18
-      text-align: left;
19
-      box-sizing: border-box;
20
-      padding-right: 90px;
21
-      .num{
22
-        font-family: 'MyFont1';
23
-        font-weight: bold;
24
-        font-size: 30px;
25
-        color: #231F20;
26
-        margin-bottom: 30px;
13
+  text-align: center;
14
+  padding: 125px 0px 110px;
15
+  &>.title{
16
+    text-align: left;
17
+    width: 100%;
18
+    max-width: 1300px;
19
+    margin: 0 auto;
20
+  }
21
+  .productCon{
22
+    margin: 60px auto 0px;
23
+    width: 100%;
24
+    .productTits{
25
+      width: 100%;
26
+      display: none;
27
+      &>div{
28
+        width: 100%;
29
+        display: flex;
30
+        justify-content: space-between;
31
+        &>div{
32
+          width: 144px;
33
+          height: 146px;
34
+          border-radius: 8px;
35
+          color: #231F20;
36
+          padding-top: 20px;
37
+          box-sizing: border-box;
38
+          cursor: pointer;
39
+          transition: all .3s ease-in-out;
40
+          div{
41
+            margin-bottom: 30px;
42
+          }
43
+          
44
+        }
45
+        .productCk{
46
+          color: #B81C25;
47
+          font-weight: bold;
48
+        }
49
+      }
50
+      
51
+    }
52
+    .productConBox{
53
+      width: 100%;
54
+      height: 542px;
55
+      margin-top: 40px;
56
+      overflow: hidden;
57
+      &>div{
58
+        width: 100%;
59
+        height: 100%;
60
+      }
61
+      .swiper-slide{
62
+        width: 413px;
63
+        transition: width .3s ease-in-out;
64
+        overflow: hidden;
65
+        transform-origin: center;
66
+        img {
67
+          display: block;
68
+          width: auto;
69
+          height: 100%;
70
+          object-fit: cover;
71
+          position: relative;
72
+          left: 50%;
73
+          transform: translateX(-50%);
74
+        }
75
+        .slideZ{
76
+          position: absolute;
77
+          bottom: 0;
78
+          left: 0;
79
+          width: 100%;
80
+          height: 100%;
81
+          // background: url(./images/productz.png) no-repeat bottom;
82
+          background-size: 100%;
83
+          display: none;
84
+        }
85
+        .slideCon{
86
+          position: absolute;
87
+          width: 100%;
88
+          bottom: 0px;
89
+          left: 0;
90
+          text-align: center;
91
+          color: #fff;
92
+          box-sizing: border-box;
93
+          background-color: #b81c25;
94
+          height: 80px;
95
+          transition: all .3s ease-in-out;
96
+          .conTit{
97
+            font-size: 24px;
98
+            height: 80px;
99
+            line-height: 80px;
100
+          }
101
+          .text{
102
+            width: 100%;
103
+            line-height: 40px;
104
+            font-size: 20px;
105
+            display: none;
106
+            box-sizing: border-box;
107
+            padding: 0px 30px;
108
+            text-align: justify;
109
+          }
110
+          
111
+        }
112
+        &:hover{
113
+          
114
+          .slideCon{
115
+            height: 465px;
116
+            background-color: rgba(184, 28, 37, 0.8);
117
+            .text{
118
+              display: block;
119
+            }
120
+          }
121
+        }
122
+      }
123
+    }
124
+    .swiper-page{
125
+      width: 100%;
126
+      max-width: 1300px;
127
+      margin: 0px auto;
128
+      margin-top: 80px;
129
+      position: relative;
130
+      height: 60px;
131
+      display: flex;
132
+      flex-direction: row;
133
+      justify-content: flex-end;
134
+      .btn-prev,.btn-next{
135
+        width: 60px;
136
+        height: 60px;
137
+        text-align: center;
138
+        color: #000;
139
+        cursor: pointer;
140
+        border-radius: 60px;
141
+        line-height: 60px;
142
+        box-sizing: border-box;
143
+        border: 1px solid #000;
144
+        transition: all .3s ease-in-out;
145
+        span{
146
+          font-size: 34px;
147
+          display: inline-block;
148
+          transform: rotate(90deg);
149
+        }
150
+        &:hover{
151
+          color: #fff;
152
+          background: #b81c25;
153
+          border: 1px solid #b81c25;
154
+        }
155
+      }
156
+      .btn-prev{
157
+        margin-right: 30px;
158
+        span{
159
+          transform: rotate(-90deg);
160
+        }
27 161
       }
28
-      .text{
29
-        color: #9fa3a5;
30
-        margin-top: 28px;
31
-        margin-bottom: 76px;
162
+      .btn-next{
163
+      }
164
+      .swiper-button-disabled{
165
+        cursor: not-allowed;
166
+        opacity: 0.6;
167
+        &:hover{
168
+          color: #000;
169
+          background: #fff;
170
+          border: 1px solid #000;
171
+        }
32 172
       }
33 173
     }
174
+  }
175
+}
176
+.Industrial{
177
+  width: 100%;
178
+  position: relative;
179
+  background: #f8f8f8;
180
+  img{
181
+    width: 100%;
182
+    display: block;
183
+  }
184
+  &>div{
185
+    position: absolute;
186
+    width: 100%;
187
+    height: 100%;
188
+    top: 0px;
189
+    left: 0px;
34 190
     img{
191
+      position: absolute;
35 192
       width: 100%;
36
-      height: 100%;
37
-      display: block;
38
-      object-fit: cover;
193
+      top: 0px;
194
+      left: 0px;
39 195
     }
40 196
   }
41
-  .liLeft{
197
+}
198
+.member{
199
+  width: 100%;
200
+  text-align: center;
201
+  margin: 0px auto;
202
+  max-width: 1300px;
203
+  padding: 125px 0px 110px;
204
+  .memberCon{
205
+    width: 100%;
42 206
     display: flex;
43
-    flex-direction: row-reverse;
207
+    flex-wrap: wrap;
208
+    justify-content: space-between;
209
+    margin-top: 40px;
210
+    img{
211
+      width: auto;
212
+      height: 144px;
213
+    }
214
+    .memberLi{
215
+      width: calc( 50% - 20px);
216
+      margin-top: 40px;
217
+      height: 300px;
218
+      box-sizing: border-box;
219
+      border: 1px solid #ebebeb;
220
+      position: relative;
221
+      display: flex;
222
+      flex-wrap: wrap;
223
+      justify-content: center;
224
+      align-content: center;
225
+      .liTit{
226
+        width: 100%;
227
+        font-size: 20px;
228
+        color: #333333;
229
+      }
230
+      .upDiv{
231
+        position: absolute;
232
+        width: 100%;
233
+        height: 100%;
234
+        background: #B81C25;
235
+        color: #fff;
236
+        box-sizing: border-box;
237
+        padding:35px 40px;
238
+        top: 0px;
239
+        left: 0px;
240
+        opacity: 0;
241
+        transition: all 0.3s ease-in-out;
242
+        .upDivTit{
243
+          font-size: 20px;
244
+          margin-bottom: 20px;
245
+        }
246
+        .text{
247
+          font-size: 16px;
248
+          line-height: 24px;
249
+        }
250
+        a{
251
+          width: 54px;
252
+          height: 54px;
253
+          display: block;
254
+          position: absolute;
255
+          bottom: 40px;
256
+          left: 50%;
257
+          transform: translateX(-50%);
258
+          background: url(./images/aicon.png) no-repeat;
259
+          background-size: 100% 100%;
260
+        }
261
+      }
262
+      &:hover{
263
+        .upDiv{
264
+          opacity: 1;
265
+        }
266
+      }
267
+    }
44 268
   }
45 269
 }
46 270
 
@@ -65,34 +289,164 @@
65 289
     padding-top: 61px;
66 290
     padding-bottom: 30px;
67 291
   }
68
-  .li{
69
-    padding: 80px 15px 30px;
70
-    flex-wrap: wrap;
292
+  .product{
293
+    padding: 100px 15px;
71 294
     box-sizing: border-box;
72
-    &>div{
73
-      width: 100%;
74
-      .liCon{
295
+    &>.text{
296
+      margin: 30px auto 0;
297
+    }
298
+    .productCon{
299
+      margin: 40px auto 0px;
300
+      .productTits{
75 301
         width: 100%;
76
-        padding-right: 0px;
77
-        .num {
78
-          font-size: 20px;
79
-          margin-bottom: 15px;
302
+        overflow-x: scroll;
303
+        display: block;
304
+        &::-webkit-scrollbar{
305
+          -webkit-appearance: none;
306
+          width: 0px;
307
+          height: 0px;
80 308
         }
81
-        .title {
82
-          font-size: 32px;
83
-          line-height: 36px;
309
+        
310
+        // &::-webkit-scrollbar:horizontal{
311
+        //   width: 2px;
312
+        //   height: 100%;
313
+        //   background: #fff;
314
+        // }
315
+        &::-webkit-scrollbar-thumb{
316
+          width: 0px;
317
+          height: 0px;
318
+          background: #B81C25;
84 319
         }
85
-        .text {
86
-          font-size: 16px;
87
-          line-height: 30px;
88
-          margin-top: 18px;
89
-          margin-bottom: 40px;
90
-          text-align: justify;
320
+        &>div{
321
+          width: 540px;
322
+          justify-content: flex-start;
323
+          &>div{
324
+            width: auto;
325
+            height: auto;
326
+            padding-top: 0px;
327
+            padding-right: 20px;
328
+            position: relative;
329
+            margin-right: 20px;
330
+            &:last-child{
331
+              padding-right: 0px;
332
+              margin-right: 0px;
333
+              &::before{
334
+                display: none;
335
+              }
336
+            }
337
+            &::before{
338
+              content: '';
339
+              position: absolute;
340
+              right: 0px;
341
+              top: 4px;
342
+              width: 1px;
343
+              height: 13px;
344
+              background: #999;
345
+              transform: rotate(20deg);
346
+            }
347
+            div{
348
+              margin-bottom: 0px;
349
+              font-size: 14px;
350
+            }
351
+          }
352
+        }
353
+      }
354
+      .productConBox{
355
+        margin-top: 35px;
356
+        height: auto;
357
+        &>div{
358
+          height: auto;
359
+        }
360
+        .swiper-slide{
361
+          width: 100%;
362
+          height: auto;
363
+          &:hover{
364
+            .slideCon{
365
+              height: auto;
366
+              background: #B81C25;
367
+            }
368
+            
369
+          }
370
+          img{
371
+            width: 100%;
372
+            height: auto;
373
+          }
374
+          .slideZ{
375
+            display: none;
376
+          }
377
+          .slideCon{
378
+            position: relative;
379
+            color: #231F20;
380
+            display: block;
381
+            height: auto;
382
+            background: #B81C25;
383
+            color: #fff;
384
+            opacity: 1;
385
+            padding: 20px 0px;
386
+            .conTit{
387
+              display: none;
388
+            }
389
+            .text {
390
+              display: block;
391
+              line-height: 30px;
392
+              font-size: 16px;
393
+              padding: 0px 10px;
394
+            }
395
+          }
396
+        }
397
+      }
398
+      .swiper-page{
399
+        margin-top: 40px;
400
+        height: 40px;
401
+        justify-content: center;
402
+        display: none;
403
+        .btn-prev,.btn-next{
404
+          width: 40px;
405
+          height: 40px;
406
+          border-radius: 40px;
407
+          line-height: 40px;
408
+          span{
409
+            font-size: 26px;
410
+          }
91 411
         }
92 412
       }
93 413
     }
94
-    .liLeft{
95
-      margin-bottom: 40px;
414
+  }
415
+  .member{
416
+    padding: 100px 0px 40px;
417
+    .memberCon{
418
+      margin-top: 20px;
419
+      padding: 0px 15px;
420
+      box-sizing: border-box;
421
+      img{
422
+        width: auto;
423
+        height: 72px;
424
+      }
425
+      .memberLi{
426
+        margin-top: 20px;
427
+        width: 100%;
428
+        height: 165px;
429
+        .liTit{
430
+          font-size: 16px;
431
+        }
432
+        .upDiv{
433
+          padding: 15px 15px;
434
+          .upDivTit{
435
+            font-size: 16px;
436
+            margin-bottom: 10px;
437
+          }
438
+          .text{
439
+            font-size: 12px;
440
+            line-height: 20px;
441
+          }
442
+          a{
443
+            width: 32px;
444
+            height: 32px;
445
+            bottom: 15px;
446
+          }
447
+        }
448
+      }
96 449
     }
97 450
   }
451
+  
98 452
 }

+ 28
- 5
src/pages/socialResponsibility/App.js Zobrazit soubor

@@ -5,22 +5,45 @@ import {
5 5
     isMobile
6 6
 } from '../common/js/utils'
7 7
 // const BASEURL = 'http://192.168.1.33:9100';
8
-const BASEURL = 'http://localhost:3002/api';
9
-const pageSize = 5;
8
+// const BASEURL = 'http://localhost:3002/api';
9
+// const pageSize = 5;
10 10
 
11 11
 export default class App {
12 12
     constructor() {
13 13
         let common = new Common(document.querySelector('.main'),4)   //导航菜单高亮,0是首页,后面的按顺序添加
14 14
         this.isMobile = isMobile()
15 15
         this.num = 0;
16
-        this.bindDom();
16
+        //
17
+        
18
+        // 图片及视频资源懒加载。防止阻塞js执行
19
+        let lazyDoms = document.querySelectorAll(".lazy");
20
+        let isMob=this.isMobile;
21
+        lazyDoms.forEach((item) => {
22
+            if (item.nodeName == "PICTURE") {
23
+                item.children[0].setAttribute("srcset", item.children[0].dataset.srcset);
24
+                item.children[1].setAttribute("src", item.children[1].dataset.src);
25
+            }
26
+            if (item.nodeName == "IMG") {
27
+                if(isMob){item.setAttribute("src", item.dataset.srcm);}
28
+                else{
29
+                    item.setAttribute("src", item.dataset.src);
30
+                }
31
+                
32
+            }
33
+            if (item.nodeName == "VIDEO") {
34
+                console.log(item, 'item---2')
35
+                item.setAttribute("src", item.dataset.src);
36
+                // item.load();
37
+            }
38
+        });
39
+        // this.bindDom();
17 40
         // this.fold()
18 41
         // 获取当前链接的 hash 部分
19 42
         // 监听 hashchange 事件
20
-        window.addEventListener('hashchange', ()=>this.handleHashChange());
43
+        // window.addEventListener('hashchange', ()=>this.handleHashChange());
21 44
 
22 45
         // 如果需要在页面加载时也获取一次当前 hash
23
-        this.handleHashChange();
46
+        // this.handleHashChange();
24 47
        
25 48
     }
26 49
     // 定义一个函数来处理 hash 变化

+ 7
- 72
src/pages/socialResponsibility/index.html Zobrazit soubor

@@ -15,24 +15,16 @@
15 15
 <body>
16 16
   <%= require('../common/tpl/header.tpl') %>
17 17
     <div class="main">
18
-      <div class="content">
19
-        <div class="banner_box">
20
-          <div class="news_banner">
21
-            <div class="news_content">
22
-              <div class="cont1 wow fadeInUp">社会责任</div>
23
-              <div class="cont2 wow fadeInUp">
24
-                自成立以来,中泽集团不断发展壮大,集团和各级企业在致力于区域经济发展和行业振兴的同时,始终不忘回报社会,用实际行动配合各级政府和组织,主动参与社会实践和公益活动,妥善解决就业问题,热心助力慈善事业,积极投入抢险救灾,为建设和谐社会做出了积极的贡献,彰显了民营企业的社会责任与时代担当,产生了良好的社会声誉。
25
-              </div>
26
-            </div>
27
-            <img class="wow fadeInUp" src="./static/images/partyBuilding/big.png" alt="" />
18
+      <div class="wow fadeInUp con">
19
+        <img class="lazy" data-src="./static/images/partyBuilding/socialResponsibility.jpg" data-srcM="./static/images/partyBuilding/socialResponsibilitym.jpg" alt="" />
20
+        <div class="conDiv">
21
+          <div class="title">社会责任</div>
22
+          <div class="text">
23
+            自成立以来,中泽集团不断发展壮大,集团和各级企业在致力于区域经济发展和行业振兴的同时,始终不忘回报社会,用实际行动配合各级政府和组织,主动参与社会实践和公益活动,妥善解决就业问题,热心助力慈善事业,积极投入抢险救灾,为建设和谐社会做出了积极的贡献,彰显了民营企业的社会责任与时代担当,产生了良好的社会声誉。
28 24
           </div>
29 25
         </div>
30
-        <div class="tabs_box" id="tab">
31
-          <div class="tabs_li tabs_lis" data-id="p1">社会公益</div>
32
-          <div class="tabs_li" data-id="p2">绿色转型</div>
33
-        </div>
34 26
       </div>
35
-      <div class="news_ul">
27
+      <div class="wow fadeInUp news_ul">
36 28
         <div class="news_list">
37 29
           <div class="news_li">
38 30
             <div class="li_left">
@@ -150,63 +142,6 @@
150 142
           </a>
151 143
         </div>
152 144
       </div>
153
-      <div class="typeCon">
154
-        <div class="infoul">
155
-          <div class="infoLi">
156
-            <div class="liTitle">
157
-              <div class="h3 liTit">
158
-                <div class="liTitMove">
159
-                  <div>社会责任战略规划</div>
160
-                </div>
161
-              </div>
162
-              <div class="button">
163
-                <div class="btnjbg"></div>
164
-              </div>
165
-            </div>
166
-            <div class="infoSonLi">
167
-              <div class="text">
168
-                <div>《集团党建工作考核办法》中设置“社会价值”一级考核指标,细化为“社会责任认可度”二级指标,“强化社会担当”和“将社会责任融入生产经营过程”三级指标,以及 4
169
-                  个四级指标,督导企业形成履行社会责任特色做法、形成品牌,社会责任履行情况得到外界认可。</div>
170
-              </div>
171
-            </div>
172
-          </div>
173
-          <div class="infoLi">
174
-            <div class="liTitle">
175
-              <div class="h3 liTit">
176
-                <div class="liTitMove">
177
-                  <div>社会责任价值观</div>
178
-                </div>
179
-              </div>
180
-              <div class="button">
181
-                <div class="btnjbg"></div>
182
-              </div>
183
-            </div>
184
-            <div class="infoSonLi">
185
-              <div class="text">
186
-                <div>贯彻落实创新、协调、绿色、开放、共享的发展理念,统筹推进“五位一体”总体布局要求,强化集团及控股企业社会责任管理,促进经济、社会、环境的和谐与可持续发展。</div>
187
-              </div>
188
-            </div>
189
-          </div>
190
-          <div class="infoLi">
191
-            <div class="liTitle">
192
-              <div class="h3 liTit">
193
-                <div class="liTitMove">
194
-                  <div>制定《社会责任管理指引》</div>
195
-                </div>
196
-              </div>
197
-              <div class="button">
198
-                <div class="btnjbg"></div>
199
-              </div>
200
-            </div> 
201
-            <div class="infoSonLi">
202
-              <div class="text">
203
-                <div>根据公司法等相关法律法规以及集团实际,参考国际国内各类标准,制定并印发了《社会责任管理指引》;结合十八大以来党和国家的新思想、新论断,对照《中国企业社会责任报告指南基础框架》4.0 版,对《社会责任管理指引》进行修订。《社会责任管理指引》明确了集团及控股企业对国民经济和社会发展,资源节约和环境保护,以及股东、债权人、员工、客户、合作者、政府和社区等利益相关者所应承担的经济、法律、道德与慈善等责任。
204
-                </div>
205
-              </div>
206
-            </div>
207
-          </div>
208
-        </div>
209
-      </div>
210 145
 
211 146
     </div>
212 147
     <%= require('../common/tpl/footer.tpl') %>

+ 0
- 0
src/pages/socialResponsibility/index.less Zobrazit soubor


Některé soubory nejsou zobrazny, neboť je v této revizi změněno mnoho souborů

Načítá se…
Zrušit
Uložit