Pārlūkot izejas kodu

Merge branch 'master' of http://git.cn-wbst.cn/zhongze/zhongze-front

# Conflicts:
#	src/pages/index/index.html
zjm
suomingxiang pirms 4 mēnešiem
vecāks
revīzija
12e9fd4a49
33 mainītis faili ar 2051 papildinājumiem un 1351 dzēšanām
  1. Binārs
      dev/static/font/FOTONTYPE-BOLD.TTF
  2. Binārs
      dev/static/font/FOTONTYPE-LIGHT.TTF
  3. 9
    0
      dev/static/font/cavan.css
  4. 20
    34
      dev/static/font/iconfont.css
  5. Binārs
      dev/static/font/iconfont.ttf
  6. Binārs
      dev/static/font/iconfont.woff
  7. Binārs
      dev/static/font/iconfont.woff2
  8. Binārs
      dev/static/images/index/banner1.jpg
  9. Binārs
      dev/static/images/index/banner1m.jpg
  10. Binārs
      dev/static/images/index/news1.jpg
  11. Binārs
      dev/static/images/index/newsz.png
  12. Binārs
      dev/static/images/index/product1.jpg
  13. Binārs
      dev/static/images/index/productT1.png
  14. Binārs
      dev/static/images/index/productT1h.png
  15. Binārs
      dev/static/images/index/productT3.png
  16. Binārs
      dev/static/images/index/productz.png
  17. Binārs
      dev/static/images/index/society.jpg
  18. Binārs
      dev/static/images/index/societym.jpg
  19. 328
    217
      src/pages/common/css/common.less
  20. Binārs
      src/pages/common/images/logoB.png
  21. Binārs
      src/pages/common/images/logoBai.png
  22. Binārs
      src/pages/common/images/logoW.png
  23. Binārs
      src/pages/common/images/weixin.png
  24. 16
    0
      src/pages/common/js/Common.js
  25. 90
    42
      src/pages/common/tpl/footer.tpl
  26. 40
    53
      src/pages/common/tpl/header.tpl
  27. 71
    180
      src/pages/index/App.js
  28. 0
    20
      src/pages/index/images/720d.svg
  29. Binārs
      src/pages/index/images/newsz.png
  30. Binārs
      src/pages/index/images/numBg.png
  31. Binārs
      src/pages/index/images/productz.png
  32. 951
    228
      src/pages/index/index.html
  33. 526
    577
      src/pages/index/index.less

Binārs
dev/static/font/FOTONTYPE-BOLD.TTF Parādīt failu


Binārs
dev/static/font/FOTONTYPE-LIGHT.TTF Parādīt failu


+ 9
- 0
dev/static/font/cavan.css Parādīt failu

@@ -0,0 +1,9 @@
1
+@font-face {
2
+    font-family: 'MyFont1'; /* 自定义字体名称 */
3
+    src: url('./FOTONTYPE-BOLD.TTF') format('truetype');
4
+}
5
+
6
+@font-face {
7
+    font-family: 'MyFont2';
8
+    src: url('./FOTONTYPE-LIGHT.TTF') format('truetype');
9
+}

+ 20
- 34
dev/static/font/iconfont.css Parādīt failu

@@ -1,10 +1,8 @@
1 1
 @font-face {
2
-  font-family: "iconfont"; /* Project id 4773851 */
3
-  src: 
4
-       url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAqcAAsAAAAAElQAAApNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACESgqVSJEnATYCJAM0CxwABCAFhGcHgRsbVA+jooZyUkxkf4VxC0+kQhqzmmPlZ8qq11WNPGyUBgsJoAEJAJAkAAAwxawAAMAFaCC04AARRGtl9cws0IXIIfo4VkDqZYAskY2KsKgiHJBQsewAL5dtn9Yl8yrCfJXUrrpOaVeyN3sJ3TGeN5bBGBxC4rAIXYenU//FbOroCoWDQ13igrpBYNZ9c1jOhM3D5iT0THqdmURmUnlNPXzhm0AnXrGJe+Q5S/Ov8wYQGPj3/+/nqniTNE5/eCMlWvti9783uUPfhpmnHRolspAQl0SDkMVDo0dSIUQUYle7XkjieQR6O60Z2rt3cg5zl3kM0DSCmRzozeOytxwm7smKT3hobXXYdcu9xoCK9MCbgIfy08d/yiCSVBlzoCNndxW8RfVhMfe3kb8Zl14vzJ9QIWNryVLjub/7mazCVpn2bm2L68BiC/efUH6l6BRdYcmVTsiEvvL/wC8QpX76Z6YOiy1qsnsDo0ZWKTq9QS21wy9P1AgdxVGPTCm/AC9/GAqoAUMDZTAqUAVGAypgsUAd2GCgHiwENIB1AtVgCBJI/CYk0PIHq44XOol05bcT5DsAZQ4Y62m5rAiJhREVodaI08ZQ18tEKTQeikUlD5+4gMWhSbNHj56t+AZS1whZmciMIKUus3pOHanu3nVg2+PWAmvLTYn3Tm4JzA5q1S4JO3p6qhcrFAA/YDxQs/mYnBpWQVoqHTGFg/XAtKTUTCGw7mDILQv8Z76hEmJJcQQy3UMksA1/JeCqqosgJ0QSGFqUBVIzyFjHAsYShty/Cc/b4WQ0NiApTp0u57NqIiV50cbxIw5gFxHiZZjpt1YUZkBKEFeBjRWxxaOOBRAUtCRy7oLrXFTDRLT1UjIF4FyqQCoRdrOd6Z89e/qLxT5f+m3mKxos+Voqf+pjz7BGYXiao053ebWyT43WNRC51V01RZC1kttWxLru5PakJNU0wXA8KcTCjq0m4qCGxVQCQLxu6MiyRHx56gCPXgoChXnTngN7+o3FuhXNqlnEyTlIw6XfzJrXK7ASLetEMuRtozNeht3FvPee7c//gHhMxgzz29BbWzxNdLUjNX9PDoqGri21U1ppVIbNwzAj2iWP0AEP++SMjwfBSm06kgZ8+InxwfCtcGk48lb9uQmltrhX65VCf/IT25v3Xl/zelChNl16gV0p+mD0nXDg6bD6VNvDWXomo9BYfuZWyxFCStd18FbeuXDez8jRK7Ri5tguuhfNVrkRrLZfkxuVacWKk+6vUrJERrOkcf9i/xuN2OnBmYmsQaF5c8nDOQcMt+YzaWY7N+0wcYq0b1Ys0ebeKU9x8h9y1TvRO1VnI7qHC1VNtgoKBrGRuRysHifwLGhJF5wcix22TmtG95TbJUEhIgLsfKcpmgR1oUiezki7SnE1Gx20K3OSrzltrYQ6G/M2IwdpQ/mcquHXEMCOc4B2FevXY2IHgF/a02+F98JwE/t6k976xr/csK9/3spe0lf8hf38CAuWtPNngMnGuUmHfBvEoyCnsM8x63/h30LYESXxR4G9yd7uPyN+rzK+tZrYqUbx2MiSjiI7D6OPPyJJwWX2Haz1cw6OpXwqpCgL7SfnIUVj+hw/FDwdGzIGyQmUwk+gP/PRzlH6vaqicG+BfWqFUxfPLTwDXfDerBCxARoSkhevwkbPzlQVw/pJR/olACFmGChyy1zZ2c4cT1EeFJTAtojG0VSNMsAaIRrYqIENKKNgFZyOJYGhYF5Rjifb6cz2yAqZSp9c7gNlCp9PUc6J2rZLFX6fHGSu6Ok9G4+ZMGlZTa148+JpNa3srl5nvMr4buIk0Pxu73Z+Nj/Az+cbZR/eZ7D8qcSxMFGQTpwLjzvl9UpSwGdPt6UAMhWnFpuhnyeJ1+jEqLGhtAh/u1K5TDiBDQz8SBpUIC1gYtmYTijlvl0DfbCOWVw0/KNygsW/flxStNg25sGvdqq+RadtnqJtadZOadHqrkaz5V7HIx7KNEMNogtxQ+5m49jahiW9vfogp2rpg6oxRC+N4BmBICfR/ejqbZHe/NF5o6qZwDimofFV6isWj42Nmm8aT3vZyMgugrGooaGxwfNRAK5PfLy8qqrsxIY1YEebjnqdVzF1kDMwz7xyt1XD//l6Q2Fjf3b0XRuf/uNAZDC3nr1XFGD7pQHosPjQNRfnsviS9HXHi/8Z7tcjw0y217fMNaPM1bdf23gbf/psymLc0IkfyiJUlUBFZZXFlq6iSgQS9T8M3CvrKVi1xRYvy5a/Cqx7mw9dAtB9Ik6Wk+Wnu+JtAg88dQFo/vF4rpJJIzjg586Y8y6cBetiwazLhsxtW76exx/bnik3oNtTDbZ8g7NdNgPfJmKxCvT+ZScM6HhG9DfELE0iJyJzBB1zi/XCvF+wmpv/vWmGxMeUB8QrRfBB8XGR11R+Fxnx/F2d259/k3QiBmPbtdRJLkcz35FvcW6SBwwm+oajk0mvyEz676LZIEStP0+hi+nr9j1keiqvFh9IXPZhSBaZLmSg6N5JbJQgl6cTcEbagWT21q1LE8QJ09pb7wla/uT+2UK819Z1aIIoYen6zbshcHMJ6uwggVj+FpYSmPIRRcxClkiFp/YDKFW/RHH+HzmOj1EKSQWr45lKDG4dsX9ky9PyTyX8KgFJ8dn/jxDHHuSS4kIEIzLeT4gNTtOpVfI3yRrtxmm3jARBemT2c9oUc0yYd5Z5KWbcUbWeZrq8JX7bTCG9UiXD4cKehXF6vdqEv4PFTGktV8r8HoUs3Sydc1kbLlT019QZRnTM5ARpZxrS2hoW6oBFmeH5IVPk/8/+n19bfmlTPhQvemh/qOW3BQbPezqiMxUqBuEMe5rFmGnO3EoLtKAJRtj3DLMaM5b1x0440RML/S7VuqW63+xRYX+pJ3fphjXVakYcAmP+AL5XoDjP5uULwzOk4nz5w2u3vPcJASavvT307FZ2ugtZJ1e8NpolfuaHsCKJeOs/eeljWkPKJneyXlSNya+NPWbP5/Chb6v5lV9bdBov/j72USDGDB/TPoaroJW83MER2jXXp9JN1N7+tmEqKGVXZIX36K/oA0JOIWvy/mDnm6BnPTgw5yz0mY990SGLh9ak3EjSWEWy1mrfEriZVAa7Sa21h/S22K09WKQyjNDSZa33BBLmeyHJzAuSzffuWwI/SGWpL1Kb75/0TsXs9gbro2ybNI9aMXHHvMRgOFuUvT3VNhWcnEovNdUexayXI7dW7+ugKYkV6mvbj9EwQ1iyvevBdFEgqwgzLWPbxVgtdWSVbiu0JZawjWhcFGMrjHCX2JNQYMaP5pd3SrOSAkchfS85qWmJeM/0tHVD+O7TEKrfkrStXbP6IuEG44FIVYnZuwuA4laBmMq9LKPJj7vNxSirLOmw45mwtJ2/tRzg1LAbkLmhKVLkKFFFHU200UUfQ4wxxUxzA1PmeRhXQj2X+ITiam6rh+uWbqDgIwVaHLOJB+GnORHetMhbF8dutL/1YZRyCRyPvEzENJEn7muHaUzx5Xc+AAAAAA==') format('woff2'),
5
-       url('iconfont.woff?t=1734012910808') format('woff'),
6
-       url('iconfont.ttf?t=1734012910808') format('truetype'),
7
-       url('iconfont.svg?t=1734012910808#iconfont') format('svg');
2
+  font-family: "iconfont"; /* Project id 4790103 */
3
+  src: url('iconfont.woff2?t=1734834209256') format('woff2'),
4
+       url('iconfont.woff?t=1734834209256') format('woff'),
5
+       url('iconfont.ttf?t=1734834209256') format('truetype');
8 6
 }
9 7
 
10 8
 .iconfont {
@@ -15,28 +13,12 @@
15 13
   -moz-osx-font-smoothing: grayscale;
16 14
 }
17 15
 
18
-.icon-youjian:before {
19
-  content: "\e804";
16
+.icon-right:before {
17
+  content: "\e708";
20 18
 }
21 19
 
22
-.icon-dianhua:before {
23
-  content: "\e67b";
24
-}
25
-
26
-.icon-dadian-1:before {
27
-  content: "\e602";
28
-}
29
-
30
-.icon-xiala:before {
31
-  content: "\e60d";
32
-}
33
-
34
-.icon-logo:before {
35
-  content: "\e60c";
36
-}
37
-
38
-.icon-guanbi:before {
39
-  content: "\e676";
20
+.icon-left:before {
21
+  content: "\e709";
40 22
 }
41 23
 
42 24
 .icon-arrow-right:before {
@@ -47,19 +29,23 @@
47 29
   content: "\e707";
48 30
 }
49 31
 
50
-.icon-weibo:before {
51
-  content: "\e619";
52
-}
53
-
54 32
 .icon-jiantou:before {
55 33
   content: "\e63a";
56 34
 }
57 35
 
58
-.icon-kuaishou:before {
59
-  content: "\e657";
36
+.icon-guanbi:before {
37
+  content: "\e676";
38
+}
39
+
40
+.icon-xiazai:before {
41
+  content: "\e62e";
42
+}
43
+
44
+.icon-xiala:before {
45
+  content: "\e60d";
60 46
 }
61 47
 
62
-.icon-douyin:before {
63
-  content: "\e600";
48
+.icon-search:before {
49
+  content: "\e602";
64 50
 }
65 51
 

Binārs
dev/static/font/iconfont.ttf Parādīt failu


Binārs
dev/static/font/iconfont.woff Parādīt failu


Binārs
dev/static/font/iconfont.woff2 Parādīt failu


Binārs
dev/static/images/index/banner1.jpg Parādīt failu


Binārs
dev/static/images/index/banner1m.jpg Parādīt failu


Binārs
dev/static/images/index/news1.jpg Parādīt failu


Binārs
dev/static/images/index/newsz.png Parādīt failu


Binārs
dev/static/images/index/product1.jpg Parādīt failu


Binārs
dev/static/images/index/productT1.png Parādīt failu


Binārs
dev/static/images/index/productT1h.png Parādīt failu


Binārs
dev/static/images/index/productT3.png Parādīt failu


Binārs
dev/static/images/index/productz.png Parādīt failu


Binārs
dev/static/images/index/society.jpg Parādīt failu


Binārs
dev/static/images/index/societym.jpg Parādīt failu


+ 328
- 217
src/pages/common/css/common.less Parādīt failu

@@ -14,6 +14,7 @@ pc端:
14 14
 
15 15
 */
16 16
 @import "/dev/static/font/iconfont.css";
17
+@import "/dev/static/font/cavan.css";
17 18
 
18 19
 html,
19 20
 body,
@@ -39,13 +40,13 @@ html,
39 40
 body {
40 41
     width: 100%;
41 42
     height: 100%;
42
-    font-family: Arial, sans-serif;
43
+    font-family: 'MyFont2',sans-serif;
43 44
     font-size: 16px;
44
-    color: #333333;
45
+    color: #231f20;
45 46
 }
46 47
 a{
47 48
     text-decoration: none;
48
-    color: #333333;
49
+    color: #231f20;
49 50
 }
50 51
 img{
51 52
     width: 100%;
@@ -58,21 +59,22 @@ img:not([src]) {
58 59
 
59 60
 .btn{
60 61
     position: relative;
61
-    z-index: 2;
62
-    width: 200px;
62
+    min-width: 200px;
63 63
     height: 50px;
64
+    margin: 0px auto;
65
+    background: #B81C25;
64 66
     box-sizing: border-box;
65 67
     color: #ffffff;
66
-    border: 1px solid #ffffff;
67 68
     display: inline-block;
68 69
     text-align: center;
69 70
     line-height: 50px;
70 71
     font-size: 14px;
71 72
     transition: all .3s ease-in-out;
72 73
     cursor: pointer;
74
+    border-radius: 8px;
73 75
     &:hover{
74
-        background: #48A038;
75
-        border-color: #48A038;
76
+        // background: #48A038;
77
+        // border-color: #48A038;
76 78
     }
77 79
 }
78 80
 .btnBlack{
@@ -104,73 +106,16 @@ img:not([src]) {
104 106
 }
105 107
 
106 108
 //公共文本样式,默认是加粗,后面加R表示不加粗,正文文本样式用text
107
-.h1,.h2,.h3,.h4,.h6,.h5,.h7{
109
+.title{
110
+    font-size: 56px;
111
+    font-family: 'MyFont1',sans-serif;
108 112
     font-weight: bold;
109 113
 }
110
-.h1{
111
-    font-size: 110px;
112
-    line-height: 150px;
113
-    letter-spacing:-1px;
114
-}
115
-.h2{
116
-    font-size: 72px;
117
-    color: #181818;
118
-    line-height: 100px;
119
-}
120
-.h3{
121
-    font-size: 40px;
122
-    line-height: 50px;
123
-}
124
-.h3R{
125
-    font-size: 40px;
126
-    line-height: 50px;
127
-}
128
-.h4{
129
-    font-size: 24px;
130
-    line-height: 40px;
131
-}
132
-.h4R{
133
-    font-size: 24px;
134
-    line-height: 40px;
135
-}
136
-.h5{
137
-    font-size: 18px;
138
-    line-height: 36px;
139
-}
140
-.h5R{
141
-    font-size: 18px;
142
-    font-weight: 400;
143
-    line-height: 36px;
144
-}
145
-.h6{
146
-    font-size: 16px;
147
-    line-height: 32px;
148
-}
149
-.h6R{
150
-    font-size: 16px;
151
-    font-weight: 400;
152
-    line-height: 32px;
153
-}
154
-.h7{
155
-    font-size: 14px;
156
-    line-height: 28px;
157
-}
158
-.h7R{
159
-    font-size: 14px;
160
-    font-weight: 400;
161
-    line-height: 28px;
162
-}
163
-
164 114
 // 正文文本样式
165 115
 .text{
166
-    font-size: 24px;
116
+    font-size: 20px;
167 117
     line-height: 44px;
168 118
 }
169
-.text48{
170
-    font-size: 24px;
171
-    line-height: 44px;
172
-    font-weight: bold;
173
-}
174 119
 
175 120
 
176 121
 
@@ -215,15 +160,18 @@ header{
215 160
     position: fixed;
216 161
     z-index: 9;
217 162
     transition: all .3s ease-in-out;
163
+
218 164
     .headCon{
219 165
         width: 100%;
220 166
         margin: 0 auto;
221 167
         max-width: 1920px;
222 168
         // box-shadow: 0px 0px 34px 9px rgba(0,0,0,0.1);
223 169
         background: #ffffff;
170
+        border-bottom: 1px solid rgba(0,0,0,0.1);
224 171
     }
225 172
     .menuType{
226 173
         background: #ffffff12;
174
+        border-bottom: 0px solid rgba(0,0,0,0);
227 175
         .logo{
228 176
             
229 177
         }
@@ -243,10 +191,10 @@ header{
243 191
                 a{
244 192
                     color: #ffffff;
245 193
                     &:hover{
246
-                        color: #48A038;
194
+                        color: #B81C25;
247 195
                         &.aborder{
248
-                            border: 1px solid #48A038;
249
-                            background: #48A038;
196
+                            border: 1px solid #B81C25;
197
+                            background: #B81C25;
250 198
                             color: #ffffff;
251 199
                         }
252 200
                     }
@@ -254,7 +202,7 @@ header{
254 202
                 .aborder{
255 203
                     border: 1px solid #ffffff;
256 204
                 }
257
-                span{
205
+                .line{
258 206
                     background: #ffffff;
259 207
                 }
260 208
             }
@@ -309,12 +257,12 @@ header{
309 257
                 
310 258
             }
311 259
             &:hover{
312
-                &>a{color: #48A038;}
260
+                &>a{color: #B81C25;}
313 261
             }
314 262
         }
315 263
         .menuClicked{
316 264
             &>a{
317
-                color: #48A038;
265
+                color: #B81C25;
318 266
             }
319 267
         }
320 268
     }
@@ -348,7 +296,7 @@ header{
348 296
             padding: 10px 0;
349 297
             transition: all .3s ease;
350 298
             &:hover{
351
-                color: #48A038;
299
+                color: #B81C25;
352 300
             }
353 301
             &:last-child {
354 302
                 margin-bottom: 0;
@@ -372,19 +320,23 @@ header{
372 320
             color: #000000;
373 321
             transition: all .3s ease;
374 322
             &:hover{
375
-                color: #48A038;
323
+                color: #B81C25;
376 324
                 &.aborder{
377
-                    border: 1px solid #48A038;
378
-                    background: #48A038;
325
+                    border: 1px solid #B81C25;
326
+                    background: #B81C25;
379 327
                     color: #fff;
380 328
                 }
381 329
             }
382 330
         }
383 331
         .aborder{
384 332
             border: 1px solid #000000;
385
-            padding: 10px 15px;
333
+            line-height: 30px;
334
+            text-align: center;
335
+            width: 100px;
336
+            height: 30px;
337
+            box-sizing: border-box;
386 338
         }
387
-        span{
339
+        .line{
388 340
             display: inline-block;
389 341
             width: 1px;
390 342
             height: 13px;
@@ -488,14 +440,14 @@ header{
488 440
             overflow-y: auto;
489 441
             &>div{
490 442
                 width: 100%;
491
-                margin-bottom: 50px;
443
+                margin-bottom: 30px;
492 444
                 a{
493 445
                     font-size: 16px;
494 446
                     display: block;
495 447
                     margin-bottom: 30px;
496 448
                 }
497 449
                 .title{
498
-                    font-size: 24px;
450
+                    font-size: 18px;
499 451
                 }
500 452
             }
501 453
         }
@@ -529,64 +481,175 @@ footer{
529 481
     width: 100%;
530 482
     max-width: 1920px;
531 483
     margin: 0 auto;
532
-    background-color: #EFEFEF;
484
+    background-color: #B81C25;
533 485
     padding-top: 80px;
534 486
     position: relative;
535 487
     .footer{
536 488
         width: 100%;
537
-        padding:0px 100px;
538
-        box-sizing: border-box;
539
-        margin-bottom: 10px;
489
+        max-width: 1300px;
490
+        margin: 0px auto;
491
+        font-size: 14px;
540 492
         display: flex;
541
-        color: #000;
542 493
         justify-content: flex-start;
543
-        .h4{
544
-            margin-bottom: 20px;
545
-        }
546
-        .h5R{
547
-            margin-top: 15px;
548
-        }
549
-        &>div{
550
-            margin-right: 110px;
551
-            a{
552
-                color: #000;
553
-                display: block;
554
-                span{
494
+        .footerLeft{
495
+            width: 320px;
496
+            text-align: left;
497
+            color: #fff;
498
+            margin-right: 100px;
499
+            .footerLogo{
500
+                width: 291px;
501
+                height: 64px;
502
+                background: url('../images/logoBai.png') no-repeat;
503
+                background-size: 100% 100%;
504
+            }
505
+            .footerLCon1{
506
+                width: 100%;
507
+                display: flex;
508
+                margin-top: 50px;
509
+                justify-content: space-between;
510
+                &>div{
555 511
                     display: inline-block;
556
-                    position: relative;
557
-                    &::before{
558
-                        content: '';
559
-                        width: 0%;
560
-                        height: 1px;
561
-                        background-color: #000;
562
-                        position: absolute;
563
-                        bottom: -2px;
564
-                        transition: all 0.3s ease-in-out;
512
+                    font-size: 14px;
513
+                    font-weight: bold;
514
+                    span{
515
+                        opacity: 0.7;
516
+                        font-size: 16px;
517
+                        font-weight: 100;
565 518
                     }
566 519
                 }
567
-                &:hover{
568
-                    span{
569
-                        &::before{
570
-                            width: 100%;
520
+            }
521
+            .footerLCon2{
522
+                width: 100%;
523
+                font-size: 14px;
524
+                font-weight: bold;
525
+                margin-top: 40px;
526
+                span{
527
+                    opacity: 0.7;
528
+                    font-weight: 100;
529
+                }
530
+                .txt16{
531
+                    font-size: 16px;
532
+                }
533
+            }
534
+        }
535
+        .footerRight{
536
+            width: 176px;
537
+            .btnDown{
538
+                width: 100%;
539
+                height: 40px;
540
+                border-radius: 8px;
541
+                border: 1px solid #FFFFFF;
542
+                position: relative;
543
+                .btnDownTitle{
544
+                    width: 100%;
545
+                    height: 40px;
546
+                    line-height: 40px;
547
+                    box-sizing: border-box;
548
+                    padding: 0px 20px;
549
+                    color: #fff;
550
+                    cursor: pointer;
551
+                    .tit{
552
+                        opacity: 0.5;
553
+                    }
554
+                    .iconfont{
555
+                        font-size: 14px;
556
+                        float: right;
557
+                    }
558
+                }
559
+                .btnDownMenu{
560
+                    position: absolute;
561
+                    top: 42px;
562
+                    left: 0px;
563
+                    width: 100%;
564
+                    max-height: 100px;
565
+                    overflow-y: auto;
566
+                    background: #fff;
567
+                    color: #000;
568
+                    border-radius: 8px;
569
+                    clip-path: inset(0% 0% 100% 0%);
570
+                    transition: all 0.3s ease-in-out;
571
+                    a{
572
+                        width: 100%;
573
+                        line-height: 20px;
574
+                        padding: 10px 20px;
575
+                        display: block;
576
+                        box-sizing: border-box;
577
+                        transition: all .3s ease-in-out;
578
+                        &:hover{
579
+                            color: #B81C25;
571 580
                         }
572 581
                     }
573 582
                 }
583
+                .btnShow{
584
+                    clip-path: inset(0% 0% 0% 0%);
585
+                }
574 586
             }
575
-            .h7{
576
-                margin-bottom: 5px;
587
+            .btnUp,.footerLConM{
588
+                display: none;
577 589
             }
578
-            .h7R{
579
-                margin-bottom: 10px;
590
+        }
591
+        .footerCenter{
592
+            width: 730px;
593
+            box-sizing: border-box;
594
+            margin-bottom: 10px;
595
+            margin-right: 20px;
596
+            display: flex;
597
+            color: #fff;
598
+            justify-content: flex-start;
599
+            .h4{
600
+                margin-bottom: 20px;
580 601
             }
581
-            &>span{
582
-                display: none;
602
+            .h5R{
603
+                margin-top: 15px;
583 604
             }
584
-            .footerShow{
585
-                display: flex;
586
-                flex-direction: column;
605
+            &>div{
606
+                margin-right: 58px;
607
+                a{
608
+                    color: #fff;
609
+                    display: block;
610
+                    span{
611
+                        display: inline-block;
612
+                        position: relative;
613
+                        &::before{
614
+                            content: '';
615
+                            position: absolute;
616
+                            bottom: -5px;
617
+                            left: 0px;
618
+                            width: 0%;
619
+                            height: 1px;
620
+                            background: #fff;
621
+                            transition: all .3s ease-in-out;
622
+                        }
623
+                    }
624
+                    &:hover{
625
+                        span{
626
+                            &::before{
627
+                                width: 100%;
628
+                            }
629
+                        }
630
+                    }
631
+                }
632
+                .h7{
633
+                    margin-bottom: 20px;
634
+                    font-weight: bold;
635
+                    font-family: 'MyFont1';
636
+                }
637
+                .h7R{
638
+                    margin-bottom: 20px;
639
+                    opacity: 0.7;
640
+                }
641
+                &>span{
642
+                    display: none;
643
+                }
644
+                .footerShow{
645
+                    display: flex;
646
+                    flex-direction: column;
647
+                }
587 648
             }
588 649
         }
589
-        
650
+        .footerCenterM{
651
+            display: none;
652
+        }
590 653
     }
591 654
     .footerIcon{
592 655
         width: calc(100% - 200px);
@@ -595,12 +658,29 @@ footer{
595 658
         flex-direction: row;
596 659
         justify-content: flex-end;
597 660
         padding-bottom: 20px;
598
-        border-bottom: 1px solid #c6c6c6;
661
+        border-bottom: 1px solid #ffffff21;
662
+        color: #fff;
599 663
         &>div{
600 664
             margin-left: 40px;
601 665
             cursor: pointer;
666
+            position: relative;
667
+            &>div{
668
+                width: 187px;
669
+                height: 186px;
670
+                position: absolute;
671
+                bottom:40px;
672
+                left: -85px;
673
+                background: url('../images/weixin.png') no-repeat;
674
+                background-size: 100%;
675
+                opacity: 0;
676
+                clip-path: inset(0 0 100% 0);
677
+                transition: opacity 0.3s ease-in-out;
678
+            }
602 679
             &:hover{
603
-                color: #48A038;
680
+                &>div{
681
+                    opacity: 1;
682
+                    clip-path: inset(0 0 0 0);
683
+                }
604 684
             }
605 685
         }
606 686
         .iconfont{
@@ -611,12 +691,13 @@ footer{
611 691
     .footerText{
612 692
         width: 100%;
613 693
         text-align: center;
614
-        color: #9d9d9d;
615
-        font-size: 14px;
694
+        color: #fff;
695
+        font-size: 12px;
616 696
         box-sizing: border-box;
617
-        padding:16px 5px;
697
+        padding:20px 15px;
698
+        opacity: 0.7;
618 699
         a{
619
-            color: #9d9d9d;
700
+            color: #fff;
620 701
         }
621 702
         br,&>span{
622 703
             display: none;
@@ -654,55 +735,16 @@ footer{
654 735
     body {
655 736
         font-size: 3.5vw;
656 737
     }
657
-    .h1{
658
-        font-size: 50px;
659
-        line-height: 75px;
660
-    }
661
-    .h2{
662
-        font-size: 40px;
663
-        line-height: 50px;
664
-    }
665
-    .h3{
666
-        font-size: 24px;
667
-        line-height: 40px;
668
-    }
669
-    .h3R{
670
-        font-size: 24px;
671
-        line-height: 40px;
672
-    }
673
-    .h4{
674
-        font-size: 16px;
675
-        line-height: 32px;
676
-    }
677
-    .h4R{
678
-        font-size: 16px;
679
-        line-height: 32px;
680
-    }
681
-    .h5{
682
-        font-size: 14px;
683
-    }
684
-    .h5R{
685
-        font-size: 14px;
686
-    }
687
-    .h6{
688
-        font-size: 14px;
689
-        line-height: 24px;
690
-    }
691
-    .h6R{
692
-        font-size: 14px;
693
-        line-height: 24px;
694
-    }
695
-    .h7{
696
-        font-size: 12px;
697
-    }
698
-    .h7R{
699
-        font-size: 12px;
738
+    .title{
739
+        font-size: 32px;
740
+        line-height: 48px;
700 741
     }
701 742
     // 正文文本样式
702 743
     .text{
703 744
         font-size: 16px;
704
-        line-height: 30px;
745
+        line-height: 32px;
705 746
     }
747
+    
706 748
     .btn{
707 749
         width: 175px;
708 750
         height: 35px;
@@ -843,68 +885,137 @@ footer{
843 885
     footer{
844 886
         width: 100%;
845 887
         box-sizing: border-box;
846
-        padding: 20px 15px 55px 15px;
888
+        padding: 45px 15px 0px 15px;
847 889
         position: relative;
848 890
         .footer{
849 891
             margin-bottom: 0px;
850 892
             justify-content: space-between;
851 893
             flex-wrap: wrap;
852 894
             padding: 0px;
853
-            &>div{
854
-                width:100%;
855
-                margin-bottom: 0px;
856
-                padding: 20px 0px;
895
+            .footerLeft{
896
+                width: 100%;
857 897
                 margin-right: 0px;
858
-                display: flex;
859
-                flex-wrap: wrap;
860
-                justify-content: space-between;
861
-                border-bottom: 1px solid #e5e5e5;
862
-                .h7{
863
-                    margin-bottom: 0px;
864
-                    line-height: 17px;
865
-                    font-weight: normal;
898
+                text-align: center;
899
+                .footerLogo{
900
+                    width: 175px;
901
+                    height: 33px;
902
+                    margin: 0px auto;
866 903
                 }
867
-                .h7R{
868
-                    margin-bottom: 0px;
904
+                .footerLCon1,.footerLCon2{
905
+                    display: none;
869 906
                 }
870
-                &>a{
871
-                    width: 50%;
872
-                    span{
873
-                        &::before{
874
-                            display: none;
907
+            }
908
+            .footerCenter{
909
+                width: 100%;
910
+                margin-top: 55px;
911
+                margin-bottom: 30px;
912
+                margin-right: 0px;
913
+                justify-content: flex-start;
914
+                flex-wrap: wrap;
915
+                display: none;
916
+                &>div{
917
+                    margin-right: 0px;
918
+                    display: flex;
919
+                    flex-wrap: wrap;
920
+                    justify-content: space-between;
921
+                    width: 55px;
922
+                    margin-bottom: 0px;
923
+                    padding: 15px 0px;
924
+                    .h7{
925
+                        margin-bottom: 0px;
926
+                        line-height: 17px;
927
+                        font-weight: normal;
928
+                    }
929
+                    .h7R{
930
+                        margin-bottom: 0px;
931
+                    }
932
+                    &>a{
933
+                        width: 50%;
934
+                        span{
935
+                            &::before{
936
+                                display: none;
937
+                            }
875 938
                         }
876 939
                     }
877
-                }
878
-                &>span{
879
-                    font-size: 17px;
880
-                    width: 17px;
881
-                    height: 17px;
882
-                    line-height: 17px;
883
-                    display: inline-block;
884
-                    &::before{
885
-                        transform: rotate(90deg);
940
+                    &>span{
941
+                        font-size: 17px;
942
+                        width: 17px;
943
+                        height: 17px;
944
+                        line-height: 17px;
886 945
                         display: inline-block;
946
+                        &::before{
947
+                            transform: rotate(90deg);
948
+                            display: inline-block;
949
+                            transition: all 0.5s ease-in-out;
950
+                        }
951
+                    }
952
+                    .footerShow{
953
+                        width: 100%;
954
+                        display: flex;
955
+                        flex-wrap: wrap;
956
+                        height: 0px;
957
+                        overflow: hidden;
887 958
                         transition: all 0.5s ease-in-out;
959
+                        padding-top: 0px;
960
+                        box-sizing: border-box;
961
+                        flex-direction: row;
962
+                        align-items: center;
963
+                        a{
964
+                            width: 100%;
965
+                            box-sizing: border-box;
966
+                            display: inline-block;
967
+                        }
888 968
                     }
969
+
889 970
                 }
890
-                .footerShow{
971
+            }
972
+            .footerCenterM{
973
+                display: block;
974
+                width: 100%;
975
+                margin-top: 40px;
976
+                margin-bottom: 30px;
977
+                padding-bottom: 15px;
978
+                border-bottom: 1px solid #ffffff21;
979
+                a{
980
+                    width: 60px;
981
+                    color: #fff;
982
+                    font-size: 14px;
983
+                    display: inline-block;
984
+                    padding: 15px 0px;
985
+                }
986
+                div{
987
+                    width: 1px;
988
+                    height: 8px;
989
+                    background: #fff;
990
+                    opacity: 0.2;
991
+                    display: inline-block;
992
+                    margin: 0px 13px;
993
+                }
994
+            }
995
+            .footerRight{
996
+                width: 100%;
997
+                color: #FFFFFF;
998
+                .btnUp{
999
+                    display: block;
891 1000
                     width: 100%;
892
-                    display: flex;
893
-                    flex-wrap: wrap;
894
-                    height: 0px;
895
-                    overflow: hidden;
896
-                    transition: all 0.5s ease-in-out;
897
-                    padding-top: 0px;
898
-                    box-sizing: border-box;
899
-                    flex-direction: row;
900
-                    align-items: center;
1001
+                    font-size: 14px;
1002
+                    margin-bottom: 20px;
1003
+                }
1004
+                .footerLConM{
1005
+                    display: block;
1006
+                    font-size: 14px;
1007
+                    padding-top: 10px;
901 1008
                     a{
1009
+                        color: #FFFFFF;
1010
+                        margin-top: 30px;
1011
+                        display: block;
902 1012
                         width: 100%;
903
-                        box-sizing: border-box;
904
-                        display: inline-block;
1013
+                    }
1014
+                    div{
1015
+                        color: #FFFFFF;
1016
+                        margin-top: 30px;
905 1017
                     }
906 1018
                 }
907
-
908 1019
             }
909 1020
             .ckShow{
910 1021
                 &>span{
@@ -936,8 +1047,8 @@ footer{
936 1047
         .footerIcon{
937 1048
             width: 100%;
938 1049
             justify-content: space-evenly;
939
-            padding-bottom: 40px;
940
-            padding-top: 40px;
1050
+            padding-bottom: 45px;
1051
+            padding-top: 60px;
941 1052
             &>div{
942 1053
                 margin-left: 0px;
943 1054
             }

Binārs
src/pages/common/images/logoB.png Parādīt failu


Binārs
src/pages/common/images/logoBai.png Parādīt failu


Binārs
src/pages/common/images/logoW.png Parādīt failu


Binārs
src/pages/common/images/weixin.png Parādīt failu


+ 16
- 0
src/pages/common/js/Common.js Parādīt failu

@@ -35,6 +35,20 @@ export default class Common {
35 35
     // window.requestUrl = 'https://www.foton.com.cn';
36 36
     this.textAni();
37 37
     
38
+    let btnDownTitle = document.querySelector(".btnDownTitle");
39
+    let btnDownMenu = document.querySelector(".btnDownMenu");
40
+    btnDownTitle.addEventListener("click", (e) => {
41
+      if (btnDownMenu.classList?.contains("btnShow")) {
42
+        btnDownMenu.classList.remove("btnShow");
43
+      } else {
44
+        btnDownMenu.classList.add("btnShow");
45
+      }
46
+    });
47
+    let logo = document.querySelector(".logo");
48
+    logo.addEventListener("click", (e) => {
49
+      window.requestUrl = './index.html';
50
+    });
51
+    
38 52
   }
39 53
   textAni(){
40 54
     let mod = this.isMobile;
@@ -215,6 +229,8 @@ export default class Common {
215 229
           }
216 230
         });
217 231
     });
232
+    
233
+    
218 234
   }
219 235
   
220 236
 }

+ 90
- 42
src/pages/common/tpl/footer.tpl Parādīt failu

@@ -1,52 +1,100 @@
1 1
 <footer>
2 2
     <div class="wow fadeIn footer">
3
-        <div class="footerClick">
4
-            <a class="h7" href="./news.html"><span>产品</span></a>
5
-            <span class="icon iconfont icon-arrow-right"></span>
6
-            <div class="footerShow show1"><a class="h7R" href="./news.html"><span>新能源整车</span></a>
7
-            <a class="h7R" href="./news.html#structure"><span>核心零部件</span></a>
8
-            <a class="h7R" href="./news.html#structure"><span>充电站</span></a>
9
-            <a class="h7R" href="./news.html#structure"><span>软件服务</span></a></div>
3
+        <div class="footerLeft">
4
+            <div class="footerLogo"></div>
5
+            <div class="footerLCon1"><div>电话:<span>010-65008562</span></div><div>邮编:<span>100020</span></div></div>
6
+            <div class="footerLCon2">地址:<span>北京市朝阳区金河东路正大中心北塔28层</span></div>
7
+            <div class="footerLCon2">邮箱:<span class="txt16">zzjt@lnzzgroup.com</span></div>
10 8
         </div>
11
-        <div class="footerClick">
12
-            <a class="h7" href="./aboutUs.html"><span>解决方案</span></a>
13
-            <span class="icon iconfont icon-arrow-right"></span>
14
-            <div class="footerShow show2"><a class="h7R" href="./aboutUs.html#introduction"><span>能源管理方案</span></a>
15
-            <a class="h7R" href="./aboutUs.html#structure"><span>智慧能源管理体系</span></a>
16
-            <a class="h7R" href="./aboutUs.html#structure"><span>租贸业务管理方案</span></a>
17
-            <a class="h7R" href="./aboutUs.html#structure"><span>二手车解决方案</span></a></div>
18
-        </div>
19
-        <div class="footerClick">
20
-            <a class="h7" href="./serve.html"><span>服务</span></a>
21
-            <span class="icon iconfont icon-arrow-right"></span>
22
-            <div class="footerShow show3"><a class="h7R" href="./serve.html"><span>购车流程</span></a>
23
-            <a class="h7R" href="./serve.html#serve2"><span>门店地图</span></a>
24
-            <a class="h7R" href="./serve.html#serve3"><span>门店预约体验</span></a>
25
-            <a class="h7R" href="./serve.html#serve4"><span>服务体系</span></a>
26
-            <a class="h7R" href="./serve.html#serve5"><span>用户留言</span></a></div>
9
+        <div class="footerCenter">
10
+            <div class="footerClick">
11
+                <a class="h7" href=""><span>走进中泽</span></a>
12
+                <span class="icon iconfont icon-arrow-right"></span>
13
+                <div class="footerShow show1"><a class="h7R" href=""><span>集团简介</span></a>
14
+                <a class="h7R" href=""><span>发展历程</span></a>
15
+                <a class="h7R" href=""><span>企业架构</span></a>
16
+                <a class="h7R" href=""><span>企业文化</span></a>
17
+                <a class="h7R" href=""><span>资质荣誉</span></a>
18
+                </div>
19
+            </div>
20
+            <div class="footerClick">
21
+                <a class="h7" href=""><span>产业布局</span></a>
22
+                <span class="icon iconfont icon-arrow-right"></span>
23
+                <div class="footerShow show2"><a class="h7R" href=""><span>铁合金</span></a>
24
+                <a class="h7R" href=""><span>炭素</span></a>
25
+                <a class="h7R" href=""><span>钼业</span></a>
26
+                <a class="h7R" href=""><span>镍业</span></a>
27
+                <a class="h7R" href=""><span>化工</span></a>
28
+                <a class="h7R" href=""><span>装备制造</span></a>
29
+                <a class="h7R" href=""><span>产业互联网</span></a>
30
+                <a class="h7R" href=""><span>金融</span></a>
31
+                <a class="h7R" href=""><span>其他</span></a></div>
32
+            </div>
33
+            
34
+            <div class="footerClick">
35
+                <a class="h7" href=""><span>新闻中心</span></a>
36
+                <span class="icon iconfont icon-arrow-right"></span>
37
+                <div class="footerShow show2"><a class="h7R" href=""><span>集团新闻</span></a>
38
+                <a class="h7R" href=""><span>前沿资讯</span></a>
39
+                <a class="h7R" href=""><span>政策引领</span></a>
40
+                <a class="h7R" href=""><span>研发创新</span></a></div>
41
+            </div>
42
+            <div class="footerClick">
43
+                <a class="h7" href=""><span>党建工作</span></a>
44
+                <span class="icon iconfont icon-arrow-right"></span>
45
+                <div class="footerShow show2"><a class="h7R" href=""><span>企业党建</span></a>
46
+                <a class="h7R" href=""><span>学习文件</span></a></div>
47
+            </div>
48
+            <div class="footerClick">
49
+                <a class="h7" href=""><span>社会责任</span></a>
50
+                <span class="icon iconfont icon-arrow-right"></span>
51
+                <div class="footerShow show2"><a class="h7R" href=""><span>社会公益</span></a>
52
+                <a class="h7R" href=""><span>绿色转型</span></a></div>
53
+            </div>
54
+            <div class="footerClick">
55
+                <a class="h7" href=""><span>加入中泽</span></a>
56
+                <span class="icon iconfont icon-arrow-right"></span>
57
+                <div class="footerShow show2"><a class="h7R" href=""><span>招聘信息</span></a>
58
+                <a class="h7R" href=""><span>招标信息</span></a>
59
+                <a class="h7R" href=""><span>联系我们</span></a></div>
60
+            </div>
27 61
         </div>
28
-        <div class="footerClick">
29
-            <a class="h7" href="./aboutUs.html"><span>新闻资讯</span></a>
30
-            <span class="icon iconfont icon-arrow-right"></span>
31
-            <div class="footerShow show4"><a class="h7R" href="./aboutUs.html#introduction"><span>公司新闻</span></a>
32
-            <a class="h7R" href="./aboutUs.html#structure"><span>行业新闻</span></a></div>
62
+        <div class="footerCenterM">
63
+            <a class="h7" href="">走进中泽</a>
64
+            <div></div>
65
+            <a class="h7" href="">产业布局</a>
66
+            <div></div>
67
+            <a class="h7" href="">新闻中心</a>
68
+            <div></div>
69
+            <a class="h7" href="">党建工作</a>
70
+            <a class="h7" href="">社会责任</a>
71
+            <div></div>
72
+            <a class="h7" href="">加入中泽</a>
33 73
         </div>
34
-        <div class="footerClick">
35
-            <a class="h7" href="./about.html"><span>关于卡文</span></a>
36
-            <span class="icon iconfont icon-arrow-right"></span>
37
-            <div class="footerShow show5"><a class="h7R" href="./about.html#about1"><span>品牌故事</span></a>
38
-            <a class="h7R" href="./about.html#about2"><span>可持续发展</span></a>
39
-            <a class="h7R" href="./about.html#about3"><span>经销商加盟</span></a>
40
-            <a class="h7R" href="./about.html#about4"><span>联系我们</span></a></div>
74
+        <div class="footerRight">
75
+            <div class="btnUp">旗下企业:</div>
76
+            <div class="btnDown">
77
+                <div class="btnDownTitle"><span class="tit">旗下企业</span><span class="iconfont icon-xiala"></span></div>
78
+                <div class="btnDownMenu">
79
+                    <a href="">旗下企业1</a>
80
+                    <a href="">旗下企业2</a>
81
+                </div>
82
+            </div>
83
+            <div class="footerLConM">
84
+                <a href="tel:01065008562" class="footerLCon2">电话:010-65008562</a>
85
+                <div class="footerLCon2">邮编:100020</div>
86
+                <div class="footerLCon2">地址:北京市朝阳区金河东路正大中心北塔28层</div>
87
+                <a href="mail:zzjt@lnzzgroup.com" class="footerLCon2">邮箱:zzjt@lnzzgroup.com</a>
88
+            </div>
41 89
         </div>
42 90
     </div>
43 91
     <div class="footerIcon">
44
-        <div><span class="icon iconfont icon-weixin"></span></div>
45
-        <div><span class="icon iconfont icon-douyin"></span></div>
46
-        <div><span class="icon iconfont icon-weibo"></span></div>
47
-        <div><span class="icon iconfont icon-kuaishou"></span></div>
92
+        <div class="weixin">
93
+            <span class="icon iconfont icon-weixin"></span>
94
+            <div></div>
95
+        </div>
48 96
     </div>
49
-    <div class="footerText">法律声明 <span></span>隐私政策 <br>版权公告 Copyright © 2024 北京卡文新能源汽车有限公司 <br><a href="https://beian.miit.gov.cn/#/Integrated/index">京ICP备2023038730号</a></div>
97
+    <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>
50 98
     <!--<div class="goTop">
51 99
         <div class="btn goTopBtn">
52 100
                   <a href="javascript:void(0);">
@@ -60,8 +108,8 @@
60 108
                 </div>
61 109
     </div> -->
62 110
 </footer>
63
-<div class="chooseM">
111
+<!--<div class="chooseM">
64 112
     <a href="">购车咨询</a>
65 113
     <span></span>
66 114
     <a href="./serveBooking.html">门店预约体验</a>
67
-</div>
115
+</div> -->

+ 40
- 53
src/pages/common/tpl/header.tpl Parādīt failu

@@ -2,63 +2,71 @@
2 2
     <div class="headCon"><div class="headerPC">
3 3
         <div class="logo"></div>
4 4
         <div class="menu">
5
-            <div class="menuOne"><a href="./index.html">首页</a></div>
6 5
             <div class="menuOne">
7
-                <a href="./product.html">产品</a>
8
-                <div class="menuSon">
6
+                <a href="">走进中泽</a>
7
+                <!--<div class="menuSon">
9 8
                     <div class="menuUp"></div>
10
-                    <a href="./product.html">新能源整车</a>
11
-                    <a href="./coreComponents.html">核心零部件</a>
12
-                    <a href="./chargingStation.html">充电站</a>
13
-                    <a href="./softwareServices.html">软件服务</a>
14
-                </div>
9
+                    <a href=""><span>集团简介</span></a>
10
+                    <a href=""><span>发展历程</span></a>
11
+                    <a href=""><span>企业架构</span></a>
12
+                    <a href=""><span>企业文化</span></a>
13
+                    <a href=""><span>资质荣誉</span></a>
14
+                </div>-->
15 15
             </div>
16 16
             <div class="menuOne">
17
-                <a href="./cultural.html">解决方案</a>
18
-                <div class="menuSon">
17
+                <a href="">产业布局</a>
18
+                <!--<div class="menuSon">
19 19
                     <div class="menuUp"></div>
20 20
                     <a href="./aboutUs.html#introduction">能源管理方案</a>
21 21
                     <a href="./aboutUs.html#structure">智慧能源管理体系</a>
22 22
                     <a href="./aboutUs.html#structure">租贸业务管理方案</a>
23 23
                     <a href="./aboutUs.html#structure">二手车解决方案</a>
24
-                </div>
24
+                </div>-->
25 25
             </div>
26 26
             <div class="menuOne">
27
-                <a href="./serve.html">服务</a>
28
-                <div class="menuSon">
27
+                <a href="./news.html">新闻中心</a>
28
+                <!--<div class="menuSon">
29 29
                     <div class="menuUp"></div>
30 30
                     <a href="./serve.html">购车流程</a>
31 31
                     <a href="./serve.html#serve2">门店地图</a>
32 32
                     <a href="./serve.html#serve3">门店预约体验</a>
33 33
                     <a href="./serve.html#serve4">服务体系</a>
34 34
                     <a href="./serve.html#serve5">用户留言</a>
35
-                </div>
35
+                </div>-->
36 36
             </div>
37 37
             <div class="menuOne">
38
-                <a href="./news.html">新闻资讯</a>
39
-                <div class="menuSon">
38
+                <a href="">党建工作</a>
39
+                <!--<div class="menuSon">
40 40
                     <div class="menuUp"></div>
41 41
                     <a href="./news.html">公司新闻</a>
42 42
                     <a href="./news.html">行业新闻</a>
43
-                </div>
43
+                </div>-->
44 44
             </div>
45 45
             <div class="menuOne">
46
-                <a href="./about.html">关于卡文</a>
47
-                <div class="menuSon">
46
+                <a href="">社会责任</a>
47
+                <!--<div class="menuSon">
48 48
                     <div class="menuUp"></div>
49 49
                     <a href="./about.html#about1">品牌故事</a>
50 50
                     <a href="./about.html#about2">可持续发展</a>
51 51
                     <a href="./about.html#about3">经销商加盟</a>
52 52
                     <a href="./about.html#about4">联系我们</a>
53
-                </div>
53
+                </div>-->
54
+            </div>
55
+            <div class="menuOne">
56
+                <a href="">加入中泽</a>
57
+                <!--<div class="menuSon">
58
+                    <div class="menuUp"></div>
59
+                    <a href="./about.html#about1">品牌故事</a>
60
+                    <a href="./about.html#about2">可持续发展</a>
61
+                    <a href="./about.html#about3">经销商加盟</a>
62
+                    <a href="./about.html#about4">联系我们</a>
63
+                </div>-->
54 64
             </div>
55 65
         </div>
56 66
         <div class="language menuOne">
57
-            <a href="" class="btn2 btnW">购车咨询</a>
58
-            <span class="line"></span>
59
-            <a href="./serveMap.html" class="btn2 btnW">门店地图</a>
67
+            <a href="./serveMap.html" class="btn2 btnW"><span class="iconfont icon-search"></span></a>
60 68
             <span class="line"></span>
61
-            <a href="./serveBooking.html" class="aborder">门店预约体验</a>
69
+            <a href="./serveBooking.html" class="aborder">联系我们</a>
62 70
         </div>
63 71
     </div>
64 72
     <div class="headerMobile">
@@ -74,49 +82,28 @@
74 82
             <div class="navBg"></div>
75 83
             <div class="navMenu">
76 84
                 <div>
77
-                    <a class="title" href="./index.html">首页</a>
85
+                    <a class="title" href="">走进中泽</a>
78 86
                 </div>
79 87
                 <div>
80
-                    <a class="title" href="./aboutUs.html">产品</a>
81
-                    <a href="">新能源整车</a>
82
-                    <a href="">核心零部件</a>
83
-                    <a href="">充电站</a>
84
-                    <a href="">软件服务</a>
88
+                    <a class="title" href="">产业布局</a>
85 89
                 </div>
86 90
                 <div>
87
-                    <a class="title" href="./cultural.html">解决方案</a>
88
-                    <a href="./aboutUs.html#introduction">能源管理方案</a>
89
-                    <a href="./aboutUs.html#structure">智慧能源管理体系</a>
90
-                    <a href="./aboutUs.html#structure">租贸业务管理方案</a>
91
-                    <a href="./aboutUs.html#structure">二手车解决方案</a>
91
+                    <a class="title" href="./news.html">新闻中心</a>
92 92
                 </div>
93 93
                 <div>
94
-                    <a class="title" href="./serve.html">服务</a>
95
-                    <a href="./serve.html">购车流程</a>
96
-                    <a href="./serve.html#serve2">门店地图</a>
97
-                    <a href="./serve.html#serve3">门店预约体验</a>
98
-                    <a href="./serve.html#serve4">服务体系</a>
99
-                    <a href="./serve.html#serve5">用户留言</a>
94
+                    <a class="title" href="">党建工作</a>
100 95
                 </div>
101 96
                 <div>
102
-                    <a class="title" href="./contactUs.html">新闻资讯</a>
103
-                    <a href="./aboutUs.html#introduction">公司新闻</a>
104
-                    <a href="./aboutUs.html#structure">行业新闻</a>
97
+                    <a class="title" href="">社会责任</a>
105 98
                 </div>
106 99
                 <div>
107
-                    <a class="title" href="./about.html">关于卡文</a>
108
-                    <a href="./about.html#about1">品牌故事</a>
109
-                    <a href="./about.html#about2">可持续发展</a>
110
-                    <a href="./about.html#about3">经销商加盟</a>
111
-                    <a href="./about.html#about4">联系我们</a>
100
+                    <a class="title" href="">加入中泽</a>
112 101
                 </div>
113 102
             </div>
114 103
             <div class="language">
115
-                <a href="http://test.cn-wbst.com/abs/en/index.html">EN</a>
116
-                <div></div>
117
-                <a href="http://test.cn-wbst.com/abs/tc/index.html">中文繁體</a>
104
+                <a href=""><span class="iconfont icon-search"></span></a>
118 105
                 <div></div>
119
-                <a href="http://test.cn-wbst.com/abs/zh/index.html">中文简体</a>
106
+                <a href="">联系我们</a>
120 107
             </div>
121 108
         </div>
122 109
     </div></div>

+ 71
- 180
src/pages/index/App.js Parādīt failu

@@ -8,11 +8,10 @@ import {
8 8
 
9 9
 export default class App {
10 10
     constructor() {
11
-        let common = new Common(document.querySelector('.main'),0)   //导航菜单高亮,0是首页,后面的按顺序添加
11
+        let common = new Common()   //导航菜单高亮,0是首页,后面的按顺序添加
12 12
         this.isMobile = isMobile()
13 13
         
14 14
         this.scroll = new LocomotiveScroll();
15
-
16 15
         // 图片及视频资源懒加载。防止阻塞js执行
17 16
         let lazyDoms = document.querySelectorAll(".lazy");
18 17
         let Time = null;
@@ -39,11 +38,8 @@ export default class App {
39 38
         this.busGrouds=[];
40 39
         
41 40
         this.banner();
41
+        this.news();
42 42
         this.product();
43
-        this.live();
44
-        this.four();
45
-        // new WOW().init();
46
-        
47 43
     }
48 44
     banner() {
49 45
         
@@ -51,10 +47,10 @@ export default class App {
51 47
         let menuType = document.querySelector(".headCon");
52 48
         menuType.classList.add("menuType");
53 49
         let mySwiper = new Swiper('.bannerSwiper', {
54
-            autoplay: true,//可选选项,自动滑动
50
+            autoplay: false,//可选选项,自动滑动
55 51
             // 如果需要分页器
56 52
             pagination: {
57
-                el: '.swiper-pagination',
53
+                el: '.swiper-paginationB',
58 54
             },
59 55
             
60 56
             // 如果需要前进后退按钮
@@ -105,210 +101,105 @@ export default class App {
105 101
         
106 102
     }
107 103
     //产品轮播
108
-    product() {
109
-        let mySwiper = new Swiper('.masterSwiper1', {
104
+    news() {
105
+        let mySwiper = new Swiper('.newsSwiper1', {
110 106
             autoplay: false,//可选选项,自动滑动
111
-            // 如果需要前进后退按钮
112
-            navigation: {
113
-                nextEl: '.btn-nextP1',
114
-                prevEl: '.btn-prevP1',
107
+            pagination: {
108
+                el: '.swiper-pagination1',
115 109
             }
116 110
         });
117
-        let mySwiper2 = new Swiper('.masterSwiper2', {
111
+        let mySwiper2 = new Swiper('.newsSwiper2', {
118 112
             autoplay: false,//可选选项,自动滑动
119
-            // 如果需要前进后退按钮
120
-            navigation: {
121
-                nextEl: '.btn-nextP2',
122
-                prevEl: '.btn-prevP2',
113
+            pagination: {
114
+                el: '.swiper-pagination2',
123 115
             }
124 116
         });
125
-        let mySwiper3 = new Swiper('.masterSwiper3', {
117
+        let mySwiper3 = new Swiper('.newsSwiper3', {
126 118
             autoplay: false,//可选选项,自动滑动
127
-            // 如果需要前进后退按钮
128
-            navigation: {
129
-                nextEl: '.btn-nextP3',
130
-                prevEl: '.btn-prevP3',
119
+            pagination: {
120
+                el: '.swiper-pagination3',
131 121
             }
132 122
         });
133
-        let ckTypes = document.querySelectorAll(".oneTit");
134
-        let masterDivs = document.querySelectorAll(".masterDiv");
123
+        let mySwiper4 = new Swiper('.newsSwiper4', {
124
+            autoplay: false,//可选选项,自动滑动
125
+            pagination: {
126
+                el: '.swiper-pagination4',
127
+            }
128
+        });
129
+        let newsCks = document.querySelectorAll(".newsCk");
130
+        let newsTypes = document.querySelectorAll(".newsType");
131
+        let newSwipers = document.querySelectorAll(".newsCon .swiper");
132
+        
135 133
         function masterShow(num){
136
-            masterDivs.forEach((item,index)=>{
134
+            newSwipers.forEach((item,index)=>{
137 135
                 if(index==num){
138
-                    item.classList.add("masterShow");
136
+                    item.classList.add("newsShowSwiper");
139 137
                 }else{
140
-                    item.classList.remove("masterShow");
138
+                    item.classList.remove("newsShowSwiper");
139
+                }
140
+            });
141
+            newsTypes.forEach((item,index)=>{
142
+                if(index==num){
143
+                    item.classList.add("newsDivShow");
144
+                }else{
145
+                    item.classList.remove("newsDivShow");
141 146
                 }
142 147
             })
143 148
         }
144 149
         
145
-        ckTypes.forEach((item,index)=>{
150
+        newsCks.forEach((item,index)=>{
146 151
             item.addEventListener("click", (e) => {
147 152
                 
148
-                item.parentNode.querySelectorAll(".oneTit").forEach(item=>{
149
-                    item.classList.remove("ckTit");
153
+                item.parentNode.querySelectorAll(".newsCk").forEach(item=>{
154
+                    item.classList.remove("newsShow");
150 155
                 });
151
-                item.classList.add("ckTit");
156
+                item.classList.add("newsShow");
152 157
                 masterShow(index)
153 158
             });
154 159
         })
155 160
     }
156
-    //直播视频
157
-    live() {
161
+    product(){
158 162
         let isMob=this.isMobile;
159
-        let ckTypes = document.querySelectorAll(".twoRChoose .btn2");
160
-        let twoRDivs = document.querySelectorAll(".twoRChooseDivCon");
161
-        function masterShow(num){
162
-            let nowN=num;
163
-            if(nowN==1||nowN==3){
164
-                nowN=1;
165
-            }else{
166
-                nowN=0;
167
-            }
168
-            twoRDivs.forEach((item,index)=>{
169
-                if(index==nowN){
170
-                    item.classList.add("twoRShow");
171
-                }else{
172
-                    item.classList.remove("twoRShow");
173
-                }
174
-            })
175
-        }
176
-        
177
-        ckTypes.forEach((item,index)=>{
163
+      let mySwiper = new Swiper('.productSwiper', {
164
+            autoplay: false,//可选选项,自动滑动
165
+            slidesPerView: "auto",
166
+            spaceBetween: isMob?0:35,
167
+            navigation: {
168
+                nextEl: '.btn-nextP1',
169
+                prevEl: '.btn-prevP1',
170
+            },
171
+      });
172
+      let productCks = document.querySelectorAll(".productTit");
173
+      let productTypes = document.querySelectorAll(".productList");
174
+      productCks.forEach((item,index)=>{
178 175
             item.addEventListener("click", (e) => {
179 176
                 
180
-                item.parentNode.querySelectorAll(".btn2").forEach(item=>{
181
-                    item.classList.remove("twoCk");
177
+                item.parentNode.querySelectorAll(".productTit").forEach(item2=>{
178
+                    item2.classList.remove("productCk");
182 179
                 });
183
-                item.classList.add("twoCk");
184
-                masterShow(index)
185
-            });
186
-        });
187
-        let twoRCks = document.querySelectorAll(".twoRCk");
188
-        let lconNames = document.querySelectorAll(".lconName");
189
-        function changeCon(name){
190
-            lconNames.forEach(item=>{
191
-                let dataName = item.getAttribute('data-name');
192
-                if(dataName==name){
193
-                    item.classList.add("lconShow");
194
-                }else{
195
-                    item.classList.remove("lconShow");
196
-                }
197
-            })
198
-        }
199
-        
200
-        twoRCks.forEach(item=>{
201
-            item.addEventListener("click", (e) => {
202
-                twoRCks.forEach(items=>{
203
-                    items.classList.remove("twoRCkShow");
204
-                });
205
-                item.classList.add("twoRCkShow");
206
-                let dataName = item.getAttribute('data-name');
207
-                changeCon(dataName)
208
-            });
209
-        });
210
-        if(isMob){
211
-            
212
-            let twoRCon = document.querySelector(".twoRChooseDiv");
213
-            let twoRCons = document.querySelectorAll(".twoRChooseDivCon");
214
-            let w=twoRCon.offsetWidth;
215
-            let sonW1=w*0.38;
216
-            twoRCons.forEach(item=>{
217
-                // 获取当前元素的所有子元素
218
-                let children = item.children;
219
-                let sonW=0;
220
-                for (let i = 0; i < children.length; i++) {
221
-                    children[i].style.width = sonW1 + 'px';
222
-                    sonW+=sonW1+10;
223
-                    if(i==children.length-1){
224
-                        sonW=sonW-10;
180
+                item.classList.add("productCk");
181
+                mySwiper.removeAllSlides();
182
+                productTypes.forEach((item2,index2)=>{
183
+                    if(index==index2){
184
+                        item2.querySelectorAll(".swiper-slide").forEach(item3=>{
185
+                            let divS=item3.cloneNode(true);;
186
+                            mySwiper.appendSlide(divS)
187
+                        });
225 188
                     }
226
-                }
227
-                item.style.width = sonW + 'px';
189
+                })
228 190
             });
229
-        }
230
-        
231
-    }
232
-    //four
233
-    four() {
234
-        let isMob=this.isMobile;
235
-        
236
-        let fourCon = document.querySelector(".fourCon");
237
-        let fourSons = document.querySelectorAll(".fourSon");
238
-        let fourR = document.querySelector(".fourR");
239
-        let fourRsons = document.querySelectorAll(".fourRson");
240
-        
241
-        let sonArr = [];
242
-        fourSons.forEach((item,index)=>{
243
-            let childHeight = item.offsetHeight;
244
-            if(index==3)childHeight=childHeight*0.5;
245
-            sonArr.push([childHeight,index]);
191
+
246 192
         });
247
-        fourRsons.forEach((item,index)=>{
248
-            item.style.width =(fourR.offsetWidth-fourCon.offsetWidth*0.064)+'px';
249
-            item.style.height =(fourR.offsetWidth-fourCon.offsetWidth*0.064)+'px';
250
-            item.style.zIndex =fourRsons.length-index;
193
+        let firstProductCk = productCks[0]; // 获取第一个元素
194
+
195
+        // 创建一个新的鼠标点击事件
196
+        let clickEvent = new MouseEvent('click', {
197
+        bubbles: true, // 确保事件会冒泡
198
+        cancelable: true // 事件可取消
251 199
         });
252
-        function changeDiv(num,val){
253
-            fourSons.forEach((item,index)=>{
254
-                if(index==num){
255
-                    let nvl=val*100;
256
-                    nvl=nvl>97?100:nvl<3?0:nvl;
257
-                    nvl=nvl.toFixed(2);
258
-                    if(index<fourSons.length-1)fourRsons[index].style.clipPath ='inset(0px 0px '+nvl+'%)';
259
-                    if(index<fourSons.length)fourSons[index+1].style.opacity  =0.3+(val>0.7?0.7:val);
260
-                }
261
-            })
262
-        }
263
-        
264
-        
265
-        // 获取元素的滚动条高度
266
-        let scrollHeight = fourCon.scrollHeight;
267
-        let conStart=0;
268
-        let conEnd=0;
269
-        function updateScrollChange1() {
270
-            try {
271
-                let hh=fourCon.getBoundingClientRect();
272
-                let scrollTop = hh.top;
273
-                let scrollBottom = hh.bottom;
274
-              let scrollY = window.scrollY;
275 200
 
276
-              
277
-              if (scrollTop<0&conStart==0) {
278
-                conStart=scrollY;
279
-                conEnd=scrollY+scrollHeight;
280
-                let startH=0;
281
-                sonArr.forEach((item,index)=>{
282
-                    let childH = scrollY+startH+item[0];
283
-                    let childHs = scrollY+startH;
284
-                    startH+=item[0];
285
-                    item.push(childH)
286
-                    item.push(childHs)
287
-                });
288
-              }else if(scrollTop<0&&scrollY>conStart&&scrollY<conEnd){
289
-                
290
-                
291
-                
292
-                sonArr.forEach((item,index)=>{
293
-                    let chazhi=item[2]-scrollY;
294
-                    if(chazhi>0&&scrollY<item[2]&&scrollY>item[3]){
295
-                        let bili=chazhi/item[0];
296
-                        bili=bili.toFixed(4);
297
-                        bili=parseFloat(bili);
298
-                        bili=1-bili;
299
-                        bili=bili.toFixed(4);
300
-                        bili=parseFloat(bili);
301
-                        changeDiv(index,bili)
302
-                    }
303
-                });
304
-              }
305
-            } catch (error) {}
306
-          }
307
-        
308
-            
309
-        // 添加滚动事件监听器
310
-        window.addEventListener('scroll', updateScrollChange1);
311
-        
201
+        // 触发点击事件
202
+        firstProductCk.dispatchEvent(clickEvent);
312 203
 
313 204
     }
314 205
 

+ 0
- 20
src/pages/index/images/720d.svg Parādīt failu

@@ -1,20 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
-	 viewBox="0 0 750 1330" style="enable-background:new 0 0 750 1330;" xml:space="preserve">
5
-<style type="text/css">
6
-	.st0{fill:none;}
7
-	.st1{font-family:'SourceHanSansCN-Bold-GBpc-EUC-H';}
8
-	.st2{font-size:163.8541px;}
9
-</style>
10
-<path d="M554.1,356.6c-14.6,0-26.5,11.5-26.5,25.7v0.6c0.1,14,11.9,25.2,26.3,25.1h0.2c14.6,0,26.5-11.5,26.5-25.8
11
-	C580.5,368.1,568.7,356.6,554.1,356.6z M554.1,394.9L554.1,394.9c-7.1,0.1-12.8-5.4-12.9-12.3v-0.3c0-6.9,5.8-12.6,12.9-12.6
12
-	c7.1,0,12.9,5.6,12.9,12.6C567,389.3,561.2,394.9,554.1,394.9z"/>
13
-<path d="M402.6,587.2"/>
14
-<path d="M350.7,581c-109.2-5.2-193.3-38-193.3-77.7c0-25.7,35.3-48.5,89.9-62.8c-45.8,12.3-74.8,30.7-74.8,51.4
15
-	c0,33.6,77.3,61.5,178.2,66.2 M414.8,579.7c109-5.2,193.3-38,193.3-77.8c0-25.7-35.3-48.5-89.9-62.7c45.6,12.3,74.8,30.7,74.8,51.4
16
-	c0,33.6-77.3,61.5-178.1,66.2"/>
17
-<rect x="157.5" y="373.1" class="st0" width="450.6" height="259.3"/>
18
-<text transform="matrix(1 0 0 1 230.6735 488.2739)" class="st1 st2">720</text>
19
-<polygon points="402.6,570.5 350.5,525.9 350.5,615.2 402.6,570.4 "/>
20
-</svg>

Binārs
src/pages/index/images/newsz.png Parādīt failu


Binārs
src/pages/index/images/numBg.png Parādīt failu


Binārs
src/pages/index/images/productz.png Parādīt failu


+ 951
- 228
src/pages/index/index.html
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 526
- 577
src/pages/index/index.less
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt