浏览代码

修复bug

master
suomingxiang 2 个月前
父节点
当前提交
ecd7a7e85a

+ 6
- 0
src/pages/articleDetails/index.less 查看文件

@@ -124,6 +124,12 @@ a{
124 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 133
 @media screen and (min-width: 801px) and (max-width: 1400px) {
128 134
     .main{
129 135
         

+ 32
- 1
src/pages/common/css/common.less 查看文件

@@ -249,6 +249,10 @@ header{
249 249
                 background: url("../images/logoW.png") no-repeat;
250 250
                 background-size: 142px 32px;
251 251
             }
252
+            .logos{
253
+                background: url("../images/logoW.png") no-repeat;
254
+                background-size: 142px 32px;
255
+            }
252 256
             .language{
253 257
                 .btn2{
254 258
                     color: #ffffff;
@@ -274,6 +278,10 @@ header{
274 278
                 background: url("../images/logoW.png") no-repeat;
275 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,6 +309,15 @@ header{
301 309
         position: absolute;
302 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 321
     .menu{
305 322
         display: flex;
306 323
         position: relative;
@@ -317,7 +334,7 @@ header{
317 334
                 line-height: 70px;
318 335
                 z-index: 11;
319 336
                 transition: all .3s ease;
320
-                font-size: 16px;
337
+                font-size: 18px;
321 338
             }
322 339
             &:hover{
323 340
                 &>a{color: #B81C25;}
@@ -465,6 +482,16 @@ header{
465 482
         cursor: pointer;
466 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 495
     .navFlagBtn {
469 496
         position: absolute;
470 497
         top: 12px;
@@ -1036,6 +1063,10 @@ footer{
1036 1063
             position: relative;
1037 1064
             left: 0px;
1038 1065
         }
1066
+        .logos{
1067
+            position: relative;
1068
+            left: 0px;
1069
+        }
1039 1070
         .language{
1040 1071
             position: relative;
1041 1072
             right: 0px;

+ 14
- 4
src/pages/common/js/Common.js 查看文件

@@ -144,10 +144,20 @@ export default class Common {
144 144
     let menuItems = document.querySelectorAll(".menuOne");
145 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 163
     let curNavId = this.curNavId;

+ 8
- 4
src/pages/index/index.html 查看文件

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

+ 2
- 0
src/pages/index/index.less 查看文件

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

+ 1
- 0
src/pages/product/index.less 查看文件

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

正在加载...
取消
保存