refactor(Swipe): use flex layout

This commit is contained in:
chenjiahan
2020-03-22 07:48:16 +08:00
parent 3bd9ef1d4c
commit f701de9e58
6 changed files with 66 additions and 45 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
@import '../style/var';
.van-swipe-item {
float: left;
flex-shrink: 0;
width: 100%;
height: 100%;
}