Browse Source

修改移动端反馈

master
等你 1 month ago
parent
commit
ae3fdbf34d

+ 2
- 1
src/pages/index/App.js View File

53
         let mySwiper = new Swiper('.bannerSwiper', {
53
         let mySwiper = new Swiper('.bannerSwiper', {
54
             // autoplay: false,//可选选项,自动滑动
54
             // autoplay: false,//可选选项,自动滑动
55
             autoplay: {
55
             autoplay: {
56
-                delay: 6000,//1秒切换一次
56
+                delay: 5000,//1秒切换一次
57
+                disableOnInteraction: false,
57
               },
58
               },
58
             effect: "fade",
59
             effect: "fade",
59
             speed:1000,
60
             speed:1000,

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

1214
           height: auto;
1214
           height: auto;
1215
           .hisTime{
1215
           .hisTime{
1216
             display: block;
1216
             display: block;
1217
+            text-align: left;
1218
+            padding: 0px 20px;
1217
           }
1219
           }
1218
           .hisBottom{
1220
           .hisBottom{
1219
             display: none;
1221
             display: none;

+ 4
- 4
src/pages/news/index.less View File

1208
                     .li_cont{
1208
                     .li_cont{
1209
                         width: 70vw;
1209
                         width: 70vw;
1210
                         div:nth-child(1){
1210
                         div:nth-child(1){
1211
-                            font-size: 3.75vw;
1211
+                            font-size: 16px;
1212
                             color: #282828;
1212
                             color: #282828;
1213
-                            line-height: 28px;
1214
                             display: -webkit-box;        /* 使用 Flexbox 布局 */
1213
                             display: -webkit-box;        /* 使用 Flexbox 布局 */
1215
                             -webkit-box-orient: vertical; /* 垂直方向排列 */
1214
                             -webkit-box-orient: vertical; /* 垂直方向排列 */
1216
                             -webkit-line-clamp: 1;      /* 限制显示的行数,这里是3行 */
1215
                             -webkit-line-clamp: 1;      /* 限制显示的行数,这里是3行 */
1217
                             overflow: hidden;     
1216
                             overflow: hidden;     
1218
                             font-weight: bold;
1217
                             font-weight: bold;
1219
-                            margin-bottom: 0;
1218
+                            margin-bottom: 8px;
1219
+                            line-height: normal;
1220
                         }
1220
                         }
1221
                         div:nth-child(2){
1221
                         div:nth-child(2){
1222
                             width: auto;
1222
                             width: auto;
1223
                             height: auto;
1223
                             height: auto;
1224
                             overflow: unset;
1224
                             overflow: unset;
1225
                             line-height: 18px;
1225
                             line-height: 18px;
1226
-                            font-size: 3.25vw;
1226
+                            font-size: 14px;
1227
                             color: #A7A5A5;
1227
                             color: #A7A5A5;
1228
                             padding: 0;
1228
                             padding: 0;
1229
                             display: -webkit-box;        /* 使用 Flexbox 布局 */
1229
                             display: -webkit-box;        /* 使用 Flexbox 布局 */

+ 5
- 5
src/pages/socialResponsibility/index.less View File

567
                     .li_cont{
567
                     .li_cont{
568
                         width: 70vw;
568
                         width: 70vw;
569
                         div:nth-child(1){
569
                         div:nth-child(1){
570
-                            font-size: 3.75vw;
570
+                            font-size: 16px;
571
                             color: #282828;
571
                             color: #282828;
572
-                            line-height: 7.5vw;
573
                             display: -webkit-box;        /* 使用 Flexbox 布局 */
572
                             display: -webkit-box;        /* 使用 Flexbox 布局 */
574
                             -webkit-box-orient: vertical; /* 垂直方向排列 */
573
                             -webkit-box-orient: vertical; /* 垂直方向排列 */
575
                             -webkit-line-clamp: 1;      /* 限制显示的行数,这里是3行 */
574
                             -webkit-line-clamp: 1;      /* 限制显示的行数,这里是3行 */
576
                             overflow: hidden;     
575
                             overflow: hidden;     
577
                             font-weight: bold;
576
                             font-weight: bold;
578
-                            margin-bottom: 0;
577
+                            margin-bottom: 8px;
578
+                            line-height: normal;
579
                         }
579
                         }
580
                         div:nth-child(2){
580
                         div:nth-child(2){
581
                             width: auto;
581
                             width: auto;
582
                             height: auto;
582
                             height: auto;
583
                             overflow: unset;
583
                             overflow: unset;
584
-                            line-height: 1.5;
585
-                            font-size: 3.25vw;
584
+                            line-height: 18px;
585
+                            font-size: 14px;
586
                             color: #A7A5A5;
586
                             color: #A7A5A5;
587
                             padding: 0;
587
                             padding: 0;
588
                             display: -webkit-box;        /* 使用 Flexbox 布局 */
588
                             display: -webkit-box;        /* 使用 Flexbox 布局 */

Loading…
Cancel
Save