File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
.folder-header__title {
16
16
flex : 1 ;
17
+ display : -webkit-box ;
18
+ -webkit-line-clamp : 1 ;
19
+ -webkit-box-orient : vertical ;
20
+ overflow : hidden ;
17
21
}
18
22
}
19
23
.folder-content {
Original file line number Diff line number Diff line change 9
9
min-height : 60px ;
10
10
background : #fff ;
11
11
}
12
+ .swipeout-content__mask {
13
+ position : absolute ;
14
+ top : 0 ;
15
+ left : 0 ;
16
+ width : 100% ;
17
+ height : 100% ;
18
+ z-index : 99 ;
19
+ }
12
20
.swipeout-action {
13
21
display : flex ;
14
22
position : absolute ;
Original file line number Diff line number Diff line change 2
2
<template>
3
3
<view class="swipeout-container">
4
4
<view class="swipeout-content" @tap="tap" @touchstart="start" @touchmove="move" @touchend="end" style="transform: translateX({{left}}px);">
5
+ <view class="swipeout-content__mask" style="width:{{left===0?'0':'100%'}}"></view>
5
6
<slot name="content"></slot>
6
7
</view>
7
8
<view class="swipeout-action swipeout-action__{{componentId}}">
You can’t perform that action at this time.
0 commit comments