Selaa lähdekoodia

修复bug

master
suomingxiang 3 kuukautta sitten
vanhempi
commit
e318f1c16a

+ 1
- 1
src/pages/articleDetails/App.js Näytä tiedosto

@@ -47,7 +47,7 @@ export default class App {
47 47
                 let path = canshu.getAttribute('data-path');
48 48
                 let uuid = canshu.getAttribute('data-uuid');
49 49
                 const res = await fetchRequest(`/front/viev/get?path=${path}&uuid=${uuid}`,'GET')
50
-                if(res){
50
+                if(res.code == 200){
51 51
                     const nums = document.querySelectorAll('.nums')
52 52
                     nums.forEach((item)=>{
53 53
                         item.innerHTML = '浏览次数:' + res.data || 0

+ 4
- 2
src/pages/articleDetails/index.less Näytä tiedosto

@@ -12,7 +12,7 @@
12 12
 //pc端样式
13 13
 .main {
14 14
     width: 100%;
15
-    max-width: 1920px;
15
+    max-width: 1080px;
16 16
     margin: 0 auto;
17 17
     padding-top: 70px;
18 18
     padding-bottom: 110px;
@@ -29,7 +29,7 @@
29 29
         margin-top: 100px;
30 30
     }
31 31
     .content{
32
-        width: 1300px;
32
+        width: 1080px;
33 33
         margin: 0 auto;
34 34
         .detail_head{
35 35
             width: 100%;
@@ -156,6 +156,7 @@ a{
156 156
     height: 100%;
157 157
     margin: 0px;
158 158
     position: relative;
159
+    line-height: 1.5;
159 160
   }
160 161
   .ql-container.ql-disabled .ql-tooltip {
161 162
     visibility: hidden;
@@ -1127,6 +1128,7 @@ a{
1127 1128
                     color: #333333;
1128 1129
                     text-align: left;
1129 1130
                     margin-bottom: 7.5vw;
1131
+                    line-height: 1.5;
1130 1132
                 }
1131 1133
                 .date{
1132 1134
                     color: #333333;

+ 61
- 61
src/pages/enterprisePartyBuilding/index.less Näytä tiedosto

@@ -320,36 +320,37 @@ a{
320 320
          
321 321
         }
322 322
         .article_list{
323
-            width: 92.125vw;
324
-            margin: 0 auto;
325
-            .article_li{
326
-                width: 100%;
327
-                margin-bottom: 10.5vw;
328
-                padding-bottom: 10.5vw;
329
-                padding-right: 0;
330
-                border-bottom: 1px solid #DDE2E6;
323
+            width: calc(100% - 40px);
324
+            // width: 92.125vw;
325
+            // margin: 0 auto;
326
+            // .article_li{
327
+            //     width: 100%;
328
+            //     margin-bottom: 10.5vw;
329
+            //     padding-bottom: 10.5vw;
330
+            //     padding-right: 0;
331
+            //     border-bottom: 1px solid #DDE2E6;
331 332
     
332 333
               
333
-                &:nth-of-type(7){
334
-                   border-bottom: 1px solid #DDE2E6;
335
-                }
336
-                &:nth-of-type(8){
337
-                   border-bottom: 1px solid #DDE2E6;
338
-                }
339
-                &:nth-of-type(9){
340
-                   border-bottom: 1px solid #DDE2E6;
341
-                }
342
-                &:last-child{
343
-                    border: 0;
344
-                }
345
-                img{
346
-                    height: 69.125vw;
347
-                    margin-bottom: 5.125vw;
348
-                }
349
-                .txt1{
350
-                    font-size: 3.75vw;
351
-                }
352
-            }
334
+            //     &:nth-of-type(7){
335
+            //        border-bottom: 1px solid #DDE2E6;
336
+            //     }
337
+            //     &:nth-of-type(8){
338
+            //        border-bottom: 1px solid #DDE2E6;
339
+            //     }
340
+            //     &:nth-of-type(9){
341
+            //        border-bottom: 1px solid #DDE2E6;
342
+            //     }
343
+            //     &:last-child{
344
+            //         border: 0;
345
+            //     }
346
+            //     img{
347
+            //         height: 69.125vw;
348
+            //         margin-bottom: 5.125vw;
349
+            //     }
350
+            //     .txt1{
351
+            //         font-size: 3.75vw;
352
+            //     }
353
+            // }
353 354
         }
354 355
         .news_paging{
355 356
             padding-top: 16vw;
@@ -366,9 +367,7 @@ a{
366 367
                 transition: all 0.2s;
367 368
                 box-sizing: border-box;
368 369
             }
369
-            .pageNum{
370
-                font-size: 3.5vw;
371
-            }
370
+
372 371
             .ellipsis{
373 372
                 font-size: 3.5vw;
374 373
                 padding: 1.875vw 2.5vw;
@@ -403,38 +402,39 @@ a{
403 402
          
404 403
         }
405 404
         .article_list{
406
-            width: 92.125vw;
407
-            margin: 0 auto;
408
-            .article_li{
409
-                width: 100%;
410
-                margin-bottom: 10.5vw;
411
-                padding-bottom: 10.5vw;
412
-                padding-right: 0;
413
-                border-bottom: 1px solid #DDE2E6;
405
+            width: calc(100% - 40px);
406
+            // width: 92.125vw;
407
+            // margin: 0 auto;
408
+            // .article_li{
409
+            //     width: 100%;
410
+            //     margin-bottom: 10.5vw;
411
+            //     padding-bottom: 10.5vw;
412
+            //     padding-right: 0;
413
+            //     border-bottom: 1px solid #DDE2E6;
414 414
     
415 415
               
416
-                &:nth-of-type(7){
417
-                   border-bottom: 1px solid #DDE2E6;
418
-                   margin-bottom: 10.5vw;
419
-                }
420
-                &:nth-of-type(8){
421
-                   border-bottom: 1px solid #DDE2E6;
422
-                   margin-bottom: 10.5vw;
423
-                }
424
-                &:nth-of-type(9){
425
-                   border-bottom: 1px solid #DDE2E6;
426
-                }
427
-                &:last-child{
428
-                    border: 0;
429
-                }
430
-                img{
431
-                    height: 69.125vw;
432
-                    margin-bottom: 5.125vw;
433
-                }
434
-                .txt1{
435
-                    font-size: 3.75vw;
436
-                }
437
-            }
416
+            //     &:nth-of-type(7){
417
+            //        border-bottom: 1px solid #DDE2E6;
418
+            //        margin-bottom: 10.5vw;
419
+            //     }
420
+            //     &:nth-of-type(8){
421
+            //        border-bottom: 1px solid #DDE2E6;
422
+            //        margin-bottom: 10.5vw;
423
+            //     }
424
+            //     &:nth-of-type(9){
425
+            //        border-bottom: 1px solid #DDE2E6;
426
+            //     }
427
+            //     &:last-child{
428
+            //         border: 0;
429
+            //     }
430
+            //     img{
431
+            //         height: 69.125vw;
432
+            //         margin-bottom: 5.125vw;
433
+            //     }
434
+            //     .txt1{
435
+            //         font-size: 3.75vw;
436
+            //     }
437
+            // }
438 438
         }
439 439
         .news_paging{
440 440
             padding-top: 16vw;

+ 1
- 1
src/pages/index/index.html Näytä tiedosto

@@ -721,7 +721,7 @@
721 721
           <div class="corTxts">
722 722
             <div class="activS">专注于盘活存量和长期价值投资</div>
723 723
             <div>实业为本 产业报国</div>
724
-            <div>以人为本 家国情怀 正直诚信 永不妥协 志存高远 坚韧不拔 创新超越 追求卓越</div>
724
+            <div>以人为本 家国情怀&nbsp;&nbsp;&nbsp;&nbsp;正直诚信 永不妥协&nbsp;&nbsp;&nbsp;&nbsp;志存高远 坚韧不拔&nbsp;&nbsp;&nbsp;&nbsp;创新超越 追求卓越</div>
725 725
           </div>
726 726
         </div>
727 727
       </div>

+ 4
- 3
src/pages/partyBuilding/index.less Näytä tiedosto

@@ -402,7 +402,6 @@ a{
402 402
         }
403 403
         .article_list{
404 404
             width: calc(100% - 40px);
405
-            justify-content: space-between;
406 405
         }
407 406
         .tabs_box{
408 407
             width: calc(100% - 40px);
@@ -421,8 +420,9 @@ a{
421 420
     .main {
422 421
         width: 100%;
423 422
         padding-top: 15vw;
423
+        
424 424
         .listBtn{
425
-            padding: 10px 0 30px;
425
+            padding: 0 0 110px;
426 426
             a{
427 427
                 border-radius: 50px;
428 428
             }
@@ -582,6 +582,7 @@ a{
582 582
                 }
583 583
                 &:last-child{
584 584
                     border: 0;
585
+                    margin-bottom: 0;
585 586
                 }
586 587
                 img{
587 588
                     height: 69.125vw;
@@ -652,7 +653,7 @@ a{
652 653
     }
653 654
     .btn_study{
654 655
         display: flex;
655
-        margin:20px auto;
656
+        margin:40px auto 0;
656 657
         span{
657 658
             transform: rotate(90deg);
658 659
         }

Loading…
Peruuta
Tallenna