[Improvement] CellSwipe: optimzie animation fluency (#685)

This commit is contained in:
neverland
2018-03-13 19:41:31 +08:00
committed by GitHub
parent 4006a86cec
commit d8d1aa6e82
7 changed files with 57 additions and 69 deletions
+6 -9
View File
@@ -71,21 +71,18 @@ export default {
.demo-cell-swipe {
user-select: none;
.van-cell-swipe__left,
.van-cell-swipe__right {
.van-cell-swipe {
&__left,
&__right {
color: #FFFFFF;
font-size: 16px;
font-size: 15px;
width: 65px;
height: 44px;
display: inline-block;
text-align: center;
line-height: 44px;
}
.van-cell-swipe__left {
background-color: #FF4444;
}
.van-cell-swipe__right {
background-color: #84c483;
background-color: #F44;
}
}
}
</style>