这一版本优化了很多
This commit is contained in:
22
node_modules/wot-design-uni/components/wd-swipe-action/index.scss
generated
vendored
Normal file
22
node_modules/wot-design-uni/components/wd-swipe-action/index.scss
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
@import '../common/abstracts/variable';
|
||||
@import '../common/abstracts/mixin';
|
||||
|
||||
@include b(swipe-action) {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@include e(left) {
|
||||
left: 0;
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
@include e(right) {
|
||||
right: 0;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.wd-swipe-action__left,
|
||||
.wd-swipe-action__right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user