Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit d8055bf

Browse files
committed
add moving
1 parent ec0bc40 commit d8055bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

index.wxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
catch:tap="onTap"
1414
data-id="{{index}}">
1515
<text class="ImagePicker-itemClose"
16-
catch:tap="onDel" hidden="{{animation}}" data-id="{{index}}"/>
16+
catch:tap="onDel" hidden="{{moving}}" data-id="{{index}}"/>
1717
<image class="ImagePicker-itemImg" src="{{item.img.path}}" mode="aspectFill" />
1818
</movable-view>
1919

20-
<movable-view hidden="{{animation || (iconX === null)}}"
20+
<movable-view hidden="{{moving || (iconX === null)}}"
2121
class="ImagePicker-item"
2222
style="width:{{length}}px;height:{{length}}px;"
2323
x="{{iconX}}" y="{{iconY}}" direction="all" animation="{{false}}" disabled="{{true}}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "miniprogram-image-picker",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "customized image picker component for wechet MiniProgram,小程序自定义图片选择组件",
55
"main": "dist/index.js",
66
"miniprogram": "dist",

0 commit comments

Comments
 (0)