Browse Source

修复bug

zjm
suomingxiang 4 months ago
parent
commit
ec38bbe632

+ 3
- 1
src/pages/enterprisePartyBuilding/index.less View File

@@ -292,7 +292,9 @@ a{
292 292
 
293 293
 @media screen and (min-width: 801px) and (max-width: 1400px) {
294 294
     .main{
295
-        
295
+        .content{
296
+            width: 100%;
297
+        }
296 298
     }
297 299
 }
298 300
 

+ 9
- 9
src/pages/news/index.html View File

@@ -100,9 +100,9 @@
100 100
                     </div>
101 101
                     <div class="news_li">
102 102
                         <div class="li_left">
103
-                            <div class="timerData">10</div>
104
-                            <div>24-06</div>
105
-                        </div>  
103
+                            <span>19</span>
104
+                            <span>24-12</span>
105
+                        </div> 
106 106
                         <a class="li_cont" href="./articleDetails.html">
107 107
                             <div>中共中央办公厅 国务院办公厅关于推进新型城市基础设施建设打造韧性城市的意见</div>
108 108
                             <div>为深化城市安全韧性提升行动,推进数字化、网络化、智能化新型城市基础设施建设,打造承受适应能力强、恢复速度快的韧性城市,增强城市风险防控和治理能力,经党...</div>
@@ -130,9 +130,9 @@
130 130
                     </div>
131 131
                     <div class="news_li">
132 132
                         <div class="li_left">
133
-                            <div class="timerData">10</div>
134
-                            <div>24-06</div>
135
-                        </div>  
133
+                            <span>19</span>
134
+                            <span>24-12</span>
135
+                        </div> 
136 136
                         <a class="li_cont" href="./articleDetails.html">
137 137
                             <div>中共中央办公厅 国务院办公厅关于推进新型城市基础设施建设打造韧性城市的意见</div>
138 138
                             <div>为深化城市安全韧性提升行动,推进数字化、网络化、智能化新型城市基础设施建设,打造承受适应能力强、恢复速度快的韧性城市,增强城市风险防控和治理能力,经党...</div>
@@ -160,9 +160,9 @@
160 160
                     </div>
161 161
                     <div class="news_li">
162 162
                         <div class="li_left">
163
-                            <div class="timerData">10</div>
164
-                            <div>24-06</div>
165
-                        </div>  
163
+                            <span>19</span>
164
+                            <span>24-12</span>
165
+                        </div> 
166 166
                         <a class="li_cont" href="./articleDetails.html">
167 167
                             <div>中共中央办公厅 国务院办公厅关于推进新型城市基础设施建设打造韧性城市的意见</div>
168 168
                             <div>为深化城市安全韧性提升行动,推进数字化、网络化、智能化新型城市基础设施建设,打造承受适应能力强、恢复速度快的韧性城市,增强城市风险防控和治理能力,经党...</div>

+ 48
- 1
src/pages/news/index.less View File

@@ -256,11 +256,13 @@
256 256
     }
257 257
 
258 258
     .news_paging{
259
+        width: 100%;
259 260
         display: flex;
260 261
         align-items: center;
261 262
         justify-content: center;
262 263
         padding: 100px 0 120px;
263 264
         background: #F6F6F6;
265
+        box-sizing: border-box;
264 266
         .previousPage{
265 267
             width: 40px;
266 268
             height: 40px;
@@ -352,7 +354,52 @@ a{
352 354
 
353 355
 @media screen and (min-width: 801px) and (max-width: 1400px) {
354 356
     .main{
355
-        
357
+        .content{
358
+            width: calc(100% - 60px);
359
+            .banner_box{
360
+                .news_banner{
361
+                    width: 630px;
362
+                    height: 413px;
363
+                    .news_content{
364
+                        border-radius: 12px;
365
+                    }
366
+                }   
367
+                .news_banner2{
368
+                    width: 300px;
369
+                    img{
370
+                        height: 200px;
371
+                    }
372
+                    .txt1{
373
+                        font-size: 16px;
374
+                    }
375
+                    .txt2{
376
+                        font-size: 14px;
377
+                    }
378
+                    .txt3{
379
+                        font-size: 14px;
380
+                    }
381
+                    a{
382
+                        font-size: 14px;
383
+                        .icon{
384
+                            margin-top: -2px;
385
+                            font-size: 18px;
386
+                        }
387
+                    }
388
+                }
389
+            }
390
+            .tabs_box{
391
+                width: calc(100% - 60px);
392
+            }
393
+        }
394
+        .news_ul {
395
+            max-width: 100%;
396
+            width: calc(100% - 60px);
397
+            overflow: hidden;
398
+            .news_list{
399
+                width: calc(100% - 60px);
400
+            }
401
+        }
402
+        .news_paging{}
356 403
     }
357 404
 }
358 405
 

+ 16
- 2
src/pages/partyBuilding/index.less View File

@@ -16,7 +16,6 @@
16 16
     margin: 0 auto;
17 17
     padding-top: 70px;
18 18
     .content{
19
-        width: 1500px;
20 19
         margin: 0 auto;
21 20
         .news_title{
22 21
             text-align: center;
@@ -331,7 +330,22 @@ a{
331 330
 
332 331
 @media screen and (min-width: 801px) and (max-width: 1400px) {
333 332
     .main{
334
-        
333
+        .banner{
334
+            .bannerSwiper{
335
+                width: 100%;
336
+            }
337
+        }
338
+        .article_list{
339
+            width: calc(100% - 40px);
340
+        }
341
+        .tabs_box{
342
+            width: calc(100% - 40px);
343
+        }
344
+        .study_box{
345
+            .study_head{
346
+                width: calc(100% - 40px);
347
+            }
348
+        }
335 349
     }
336 350
 }
337 351
 

+ 12
- 1
src/pages/socialResponsibility/index.less View File

@@ -463,7 +463,18 @@ a{
463 463
 
464 464
 @media screen and (min-width: 801px) and (max-width: 1400px) {
465 465
     .main{
466
-        
466
+        .content{
467
+            width: calc(100% - 60px);
468
+            .tabs_box{
469
+                width: 100%;
470
+            }
471
+        }
472
+        .news_ul{
473
+            width: 100%;
474
+            .news_list{
475
+                width: calc(100% - 60px);
476
+            }
477
+        }
467 478
     }
468 479
 }
469 480
 

Loading…
Cancel
Save