File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 51
51
flex-direction : row ;
52
52
align-items : center ;
53
53
justify-content : center ;
54
+ }
55
+
56
+ .l-grid-item {
57
+ padding : 0 !important ;
54
58
}
Original file line number Diff line number Diff line change 1
1
<!-- image-picker.wxml -->
2
2
<l-grid row-num="{{ size }}" l-class="l-class">
3
- <l-grid-item wx:for="{{ urls }}" wx:key="index" key="{{ index }}" slot="{{ index }}">
3
+ <l-grid-item wx:for="{{ urls }}" wx:key="index" key="{{ index }}" slot="{{ index }}" l-grid-item="l-grid-item" >
4
4
<view class="item l-item-class" catchtap="onPreviewTap" data-index="{{ index }}">
5
5
<view class="close" data-index="{{ index }}" catchtap="onDelTap">
6
6
<l-icon name="close" color="#fff" size="22" l-class="close-icon" />
9
9
</view>
10
10
</l-grid-item>
11
11
<!-- add 按钮 -->
12
- <l-grid-item wx:if="{{ showBtn }}">
12
+ <l-grid-item wx:if="{{ showBtn }}" l-grid-item="l-grid-item" >
13
13
<!-- 自定义图片选择按钮 -->
14
14
<view class="item l-item-class {{size === 3? 'img': 'min-img'}}" catchtap="onAddTap" wx:if="{{ custom }}">
15
15
<slot></slot>
You can’t perform that action at this time.
0 commit comments