Browse Source

修复bug

master
suomingxiang 3 months ago
parent
commit
e318f1c16a

+ 1
- 1
src/pages/articleDetails/App.js View File

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

+ 4
- 2
src/pages/articleDetails/index.less View File

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

+ 61
- 61
src/pages/enterprisePartyBuilding/index.less View File

320
          
320
          
321
         }
321
         }
322
         .article_list{
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
         .news_paging{
355
         .news_paging{
355
             padding-top: 16vw;
356
             padding-top: 16vw;
366
                 transition: all 0.2s;
367
                 transition: all 0.2s;
367
                 box-sizing: border-box;
368
                 box-sizing: border-box;
368
             }
369
             }
369
-            .pageNum{
370
-                font-size: 3.5vw;
371
-            }
370
+
372
             .ellipsis{
371
             .ellipsis{
373
                 font-size: 3.5vw;
372
                 font-size: 3.5vw;
374
                 padding: 1.875vw 2.5vw;
373
                 padding: 1.875vw 2.5vw;
403
          
402
          
404
         }
403
         }
405
         .article_list{
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
         .news_paging{
439
         .news_paging{
440
             padding-top: 16vw;
440
             padding-top: 16vw;

+ 1
- 1
src/pages/index/index.html View File

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

+ 4
- 3
src/pages/partyBuilding/index.less View File

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

Loading…
Cancel
Save