Bläddra i källkod

手机端搜索无法遮盖当前页面内容问题处理

yangc 8 år sedan
förälder
incheckning
25c4294641
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      components/mobile/search/MainSearch.vue

+ 3 - 3
components/mobile/search/MainSearch.vue

@@ -134,17 +134,17 @@
 <style lang="scss" scoped>
   .main-search {
     background: #fff;
-    height: -webkit-fill-available;
-    width: -webkit-fill-available;
+    width: 100%;
     position: fixed;
     z-index: 1000;
-    top: 0;
+    top: -2rem;
     bottom: 0;
     .main-search-header {
       height: .88rem;
       background: #3e82f5;
       padding-left: .5rem;
       line-height: .88rem;
+      margin-top: 2rem;
       input {
         width: 4.78rem;
         height: .62rem;