Browse Source

修改搜索显示

zjm
等你 3 months ago
parent
commit
9cfdc5621f
2 changed files with 9 additions and 6 deletions
  1. 5
    2
      src/pages/common/css/common.less
  2. 4
    4
      src/pages/index/App.js

+ 5
- 2
src/pages/common/css/common.less View File

921
                 border: 0px;
921
                 border: 0px;
922
                 width: calc(100% - 60px);
922
                 width: calc(100% - 60px);
923
                 font-size: 20px;
923
                 font-size: 20px;
924
+                font-family: 'MyFont2';
924
             }
925
             }
925
             .icon-search{
926
             .icon-search{
926
                 color: #B81C25;
927
                 color: #B81C25;
945
         .searchDw{
946
         .searchDw{
946
             width: 100%;
947
             width: 100%;
947
             max-height: calc(100% - 60px);
948
             max-height: calc(100% - 60px);
948
-            padding-top: 30px;
949
             overflow-y: auto;
949
             overflow-y: auto;
950
             box-sizing: border-box;
950
             box-sizing: border-box;
951
-            padding: 30px 30px 0;
951
+            padding: 0px 30px 0;
952
         }
952
         }
953
     }
953
     }
954
     
954
     
962
           border-bottom: 1px solid #acacac5e;
962
           border-bottom: 1px solid #acacac5e;
963
           box-sizing: border-box;
963
           box-sizing: border-box;
964
           padding: 27px 0px;
964
           padding: 27px 0px;
965
+          &:first-child {
966
+            margin-top: 30px;
967
+          }
965
           &:last-child{
968
           &:last-child{
966
             border-bottom: 0px solid #ACACAC;
969
             border-bottom: 0px solid #ACACAC;
967
           }
970
           }

+ 4
- 4
src/pages/index/App.js View File

47
         let menuType = document.querySelector(".headCon");
47
         let menuType = document.querySelector(".headCon");
48
         menuType.classList.add("menuType");
48
         menuType.classList.add("menuType");
49
         let mySwiper = new Swiper('.bannerSwiper', {
49
         let mySwiper = new Swiper('.bannerSwiper', {
50
-            autoplay: false,//可选选项,自动滑动
50
+            // autoplay: false,//可选选项,自动滑动
51
-            // autoplay: {
51
+            autoplay: {
52
-            //     delay: 6000,//1秒切换一次
52
+                delay: 6000,//1秒切换一次
53
-            //   },
53
+              },
54
             effect: "fade",
54
             effect: "fade",
55
             speed:1000,
55
             speed:1000,
56
             // 如果需要分页器
56
             // 如果需要分页器

Loading…
Cancel
Save