소스 검색

style: 地址统计-删掉按钮翻转动画,不太兼容

xiebing 1 년 전
부모
커밋
9a27869303
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      static/components/custom/scss/page/_dealer.scss

+ 6 - 6
static/components/custom/scss/page/_dealer.scss

@@ -2694,15 +2694,13 @@
     height: 44px;
     width: 80px;
     transition: .2s all linear;
-    transform-style: preserve-3d;
   }
 
   #toggleCategory.rotate {
-    transform: rotateX(180deg);
 
     // 在安卓下,不用隐藏也是正常的,IOS下不隐藏会遮住第二个按钮
-    .mui-btn:nth-child(1) {
-      opacity: 0;
+    .mui-btn:nth-child(2) {
+      display: block;
     }
   }
 
@@ -2715,11 +2713,13 @@
       color: #fff;
       margin-top: 7px;
       position: absolute;
-      transform-style: preserve-3d;
+      display: none;
     }
 
+    .mui-btn:nth-child(1) {
+      display: block;
+    }
     .mui-btn:nth-child(2) {
-      transform: rotateX(180deg);
       background: $default-color-red !important;
     }
   }