Răsfoiți Sursa

解决动画会闪动的问题

wangn 5 ani în urmă
părinte
comite
e3554c80a8
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 3 - 3
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -159,7 +159,7 @@ export default {
 			notOpenShop:false,
 			hdShopAdminId:0,
       pageInfo: {},
-      myClass: ''
+      myClass: 'fadeIn'
 		};
 	},
 	computed: {
@@ -478,13 +478,13 @@ export default {
     height: 0;
     overflow: hidden;
     animation-name: fadeOutFrames;
-    animation-duration:.9s;
+    animation-duration:.3s;
   }
   .fadeIn{
     height: 240upx;
     overflow: hidden;
     animation-name: fadeInFrames;
-    animation-duration:.9s;
+    animation-duration:.3s;
   }
   /*关键帧*/
   @keyframes fadeOutFrames {