Browse Source

修复bug

master
suomingxiang 2 months ago
parent
commit
ecd7a7e85a

+ 6
- 0
src/pages/articleDetails/index.less View File

124
     display: inline-block;
124
     display: inline-block;
125
 }
125
 }
126
 
126
 
127
+.main img{
128
+    width: auto !important;
129
+}
130
+.ql-align-center{
131
+    text-align: center;
132
+}
127
 @media screen and (min-width: 801px) and (max-width: 1400px) {
133
 @media screen and (min-width: 801px) and (max-width: 1400px) {
128
     .main{
134
     .main{
129
         
135
         

+ 32
- 1
src/pages/common/css/common.less View File

249
                 background: url("../images/logoW.png") no-repeat;
249
                 background: url("../images/logoW.png") no-repeat;
250
                 background-size: 142px 32px;
250
                 background-size: 142px 32px;
251
             }
251
             }
252
+            .logos{
253
+                background: url("../images/logoW.png") no-repeat;
254
+                background-size: 142px 32px;
255
+            }
252
             .language{
256
             .language{
253
                 .btn2{
257
                 .btn2{
254
                     color: #ffffff;
258
                     color: #ffffff;
274
                 background: url("../images/logoW.png") no-repeat;
278
                 background: url("../images/logoW.png") no-repeat;
275
                 background-size: contain;
279
                 background-size: contain;
276
             }
280
             }
281
+            .logos{
282
+                background: url("../images/logoW.png") no-repeat;
283
+                background-size: contain;
284
+            }
277
         }
285
         }
278
     }
286
     }
279
 }
287
 }
301
         position: absolute;
309
         position: absolute;
302
         left: 100px;
310
         left: 100px;
303
     }
311
     }
312
+    .logos{
313
+        width: 142px;
314
+        height: 32px;
315
+        background: url("../images/logoB.png") no-repeat;
316
+        background-size: 142px 32px;
317
+        cursor: pointer;
318
+        position: absolute;
319
+        left: 100px;
320
+    }
304
     .menu{
321
     .menu{
305
         display: flex;
322
         display: flex;
306
         position: relative;
323
         position: relative;
317
                 line-height: 70px;
334
                 line-height: 70px;
318
                 z-index: 11;
335
                 z-index: 11;
319
                 transition: all .3s ease;
336
                 transition: all .3s ease;
320
-                font-size: 16px;
337
+                font-size: 18px;
321
             }
338
             }
322
             &:hover{
339
             &:hover{
323
                 &>a{color: #B81C25;}
340
                 &>a{color: #B81C25;}
465
         cursor: pointer;
482
         cursor: pointer;
466
         top: 2px;
483
         top: 2px;
467
     }
484
     }
485
+    .logos{
486
+        width: 136px;
487
+        height: 30px;
488
+        position: relative;
489
+        z-index: 6;
490
+        background: url("../images/logoB.png") no-repeat;
491
+        background-size: contain;
492
+        cursor: pointer;
493
+        top: 2px;
494
+    }
468
     .navFlagBtn {
495
     .navFlagBtn {
469
         position: absolute;
496
         position: absolute;
470
         top: 12px;
497
         top: 12px;
1036
             position: relative;
1063
             position: relative;
1037
             left: 0px;
1064
             left: 0px;
1038
         }
1065
         }
1066
+        .logos{
1067
+            position: relative;
1068
+            left: 0px;
1069
+        }
1039
         .language{
1070
         .language{
1040
             position: relative;
1071
             position: relative;
1041
             right: 0px;
1072
             right: 0px;

+ 14
- 4
src/pages/common/js/Common.js View File

144
     let menuItems = document.querySelectorAll(".menuOne");
144
     let menuItems = document.querySelectorAll(".menuOne");
145
     let navItems = document.querySelectorAll(".menu .menuOne");
145
     let navItems = document.querySelectorAll(".menu .menuOne");
146
 
146
 
147
-    let logo = document.querySelector(".headerPC .logo");
148
-    logo.addEventListener("click", (e) => {
149
-      window.location.href = "./index.html"
150
-    });
147
+    try {
148
+      let logo = document.querySelector(".headerPC .logo");
149
+      logo.addEventListener("click", (e) => {
150
+        window.location.href = "./index.html"
151
+      });
152
+  
153
+      let logos = document.querySelector(".headerPC .logos");
154
+      logos.addEventListener("click", (e) => {
155
+        window.location.href = "../index.html"
156
+      });
157
+    } catch (error) {
158
+      
159
+    }
160
+   
151
 
161
 
152
     //设置一级菜单高亮
162
     //设置一级菜单高亮
153
     let curNavId = this.curNavId;
163
     let curNavId = this.curNavId;

+ 8
- 4
src/pages/index/index.html View File

25
       <div class="wow domInUp banner">
25
       <div class="wow domInUp banner">
26
         <div class="swiper bannerSwiper">
26
         <div class="swiper bannerSwiper">
27
           <div class="swiper-wrapper">
27
           <div class="swiper-wrapper">
28
-            <div class="swiper-slide bannerS1">
29
-              <img
28
+            <div class="swiper-slide">
29
+              <!-- <img
30
                 class="lazy"
30
                 class="lazy"
31
                 data-src="./static/images/index/banner1.jpg"
31
                 data-src="./static/images/index/banner1.jpg"
32
                 data-srcM="./static/images/index/banner.gif"
32
                 data-srcM="./static/images/index/banner.gif"
33
                 alt=""
33
                 alt=""
34
-              />
34
+              /> -->
35
               <!-- 用视频就用下面的,把图片删除 -->
35
               <!-- 用视频就用下面的,把图片删除 -->
36
               <video
36
               <video
37
                 class="lazy"
37
                 class="lazy"
41
                 muted
41
                 muted
42
                 loop
42
                 loop
43
                 playsinline
43
                 playsinline
44
-              ></video>
44
+              >
45
+              <source src="" type="video/mp4">
46
+              您的浏览器不支持视频标签。
47
+
48
+            </video>
45
               <!-- <div class="slideCon">
49
               <!-- <div class="slideCon">
46
                   <div class="title">投资并购与企业<br>运营双轮驱动</div>
50
                   <div class="title">投资并购与企业<br>运营双轮驱动</div>
47
               </div>-->
51
               </div>-->

+ 2
- 0
src/pages/index/index.less View File

646
           line-height: 30px;
646
           line-height: 30px;
647
           margin-top: 20px;
647
           margin-top: 20px;
648
           padding:0px 20px;
648
           padding:0px 20px;
649
+          text-align: justify;
649
         }
650
         }
650
         .hisBottom{
651
         .hisBottom{
651
           position: absolute;
652
           position: absolute;
729
       .activeShow{
730
       .activeShow{
730
         .text{
731
         .text{
731
           color: #b81c25;
732
           color: #b81c25;
733
+          text-align: justify;
732
         }
734
         }
733
         .hisTime{
735
         .hisTime{
734
           color: #b81c25;
736
           color: #b81c25;

+ 1
- 0
src/pages/product/index.less View File

289
           line-height: 24px;
289
           line-height: 24px;
290
           transform: translateY(70%);
290
           transform: translateY(70%);
291
           transition: all 0.4s ease 0s;
291
           transition: all 0.4s ease 0s;
292
+          text-align: justify;
292
         }
293
         }
293
         a{
294
         a{
294
           width: 54px;
295
           width: 54px;

Loading…
Cancel
Save