uview-plus 3.4.16 → 3.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<view class="u-select">
|
|
3
3
|
<view class="u-select__content">
|
|
4
4
|
<view class="u-select__label" @click="openSelect">
|
|
5
|
-
<slot name="text">
|
|
5
|
+
<slot name="text" :currentLabel="currentLabel">
|
|
6
6
|
<text class="u-select__text" v-if="showOptionsLabel">
|
|
7
7
|
{{ currentLabel }}
|
|
8
8
|
</text>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
:src="item.thumb || item.url"
|
|
13
13
|
:mode="imageMode"
|
|
14
14
|
class="u-upload__wrap__preview__image"
|
|
15
|
-
@tap="
|
|
15
|
+
@tap="onClickPreview(item, index)"
|
|
16
16
|
:style="[{
|
|
17
17
|
width: addUnit(width),
|
|
18
18
|
height: addUnit(height)
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
:src="item.thumb"
|
|
30
30
|
:mode="imageMode"
|
|
31
31
|
class="u-upload__wrap__preview__image"
|
|
32
|
-
@tap="
|
|
32
|
+
@tap="onClickPreview(item, index)"
|
|
33
33
|
:style="[{
|
|
34
34
|
width: addUnit(width),
|
|
35
35
|
height: addUnit(height)
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
></u-icon>
|
|
44
44
|
<view v-if="item.status === 'success'"
|
|
45
45
|
class="u-upload__wrap__play"
|
|
46
|
-
@tap="
|
|
46
|
+
@tap="onClickPreview(item, index)">
|
|
47
47
|
<slot name="playIcon"></slot>
|
|
48
48
|
<up-icon v-if="!$slots['playIcon']"
|
|
49
49
|
class="u-upload__wrap__play__icon"
|
|
@@ -640,13 +640,17 @@
|
|
|
640
640
|
// #endif
|
|
641
641
|
},
|
|
642
642
|
onClickPreview(item, index) {
|
|
643
|
-
if (
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
643
|
+
if (this.previewFullImage) {
|
|
644
|
+
switch (item.type) {
|
|
645
|
+
case 'image':
|
|
646
|
+
this.onPreviewImage(item, index);
|
|
647
|
+
break;
|
|
648
|
+
case 'video':
|
|
649
|
+
this.onPreviewVideo(item, index);
|
|
650
|
+
break;
|
|
651
|
+
default:
|
|
652
|
+
break;
|
|
653
|
+
}
|
|
650
654
|
}
|
|
651
655
|
this.$emit(
|
|
652
656
|
'clickPreview',
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"id": "uview-plus",
|
|
3
3
|
"name": "uview-plus",
|
|
4
4
|
"displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
|
|
5
|
-
"version": "3.4.
|
|
6
|
-
"description": "零云®uview-plus已兼容vue3
|
|
5
|
+
"version": "3.4.18",
|
|
6
|
+
"description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"uview",
|
|
9
9
|
"uview-plus",
|