uview-plus 3.0.9 → 3.0.14
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 +12 -0
- package/components/u--input/u--input.vue +1 -8
- package/components/u--textarea/u--textarea.vue +0 -5
- package/components/u-action-sheet/u-action-sheet.vue +2 -3
- package/components/u-collapse-item/u-collapse-item.vue +4 -4
- package/components/u-grid-item/u-grid-item.vue +1 -1
- package/components/u-input/u-input.vue +1 -1
- package/components/u-parse/u-parse.vue +1 -1
- package/components/u-row-notice/u-row-notice.vue +3 -1
- package/components/u-scroll-list/u-scroll-list.vue +1 -1
- package/components/u-search/u-search.vue +1 -1
- package/components/u-swipe-action-item/u-swipe-action-item.vue +9 -7
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 3.0.14(2022-07-22)
|
|
2
|
+
修复u-grid-item与u-swipe-action-item在支付宝编译报错问题
|
|
3
|
+
## 3.0.13(2022-07-22)
|
|
4
|
+
修复u--input与u--textarea组件多个事件执行两次问题
|
|
5
|
+
## 3.0.12(2022-07-20)
|
|
6
|
+
修复u-action-sheet中v-for报错
|
|
7
|
+
u-collapse-item中slot修复
|
|
8
|
+
## 3.0.11(2022-07-19)
|
|
9
|
+
修复微信小程序编译报错及其它修复
|
|
10
|
+
## 3.0.10(2022-07-15)
|
|
11
|
+
修复文档一批slot示例写法
|
|
12
|
+
修复u-search缺失emits定义导致warning
|
|
1
13
|
## 3.0.9(2022-07-14)
|
|
2
14
|
修复u-search双向绑定
|
|
3
15
|
## 3.0.8(2022-07-12)
|
|
@@ -36,16 +36,9 @@
|
|
|
36
36
|
:shape="shape"
|
|
37
37
|
:customStyle="customStyle"
|
|
38
38
|
:formatter="formatter"
|
|
39
|
-
:ignoreCompositionEvent="ignoreCompositionEvent"
|
|
40
|
-
@focus="$emit('focus')"
|
|
41
|
-
@blur="e => $emit('blur', e)"
|
|
42
|
-
@keyboardheightchange="$emit('keyboardheightchange')"
|
|
43
|
-
@change="e => $emit('change', e)"
|
|
39
|
+
:ignoreCompositionEvent="ignoreCompositionEvent"
|
|
44
40
|
@input="e => $emit('input', e)"
|
|
45
41
|
@update:modelValue="e => $emit('update:modelValue', e)"
|
|
46
|
-
@confirm="e => $emit('confirm', e)"
|
|
47
|
-
@clear="$emit('clear')"
|
|
48
|
-
@click="$emit('click')"
|
|
49
42
|
>
|
|
50
43
|
<!-- #ifdef MP -->
|
|
51
44
|
<slot name="prefix"></slot>
|
|
@@ -23,13 +23,8 @@
|
|
|
23
23
|
:customStyle="customStyle"
|
|
24
24
|
:formatter="formatter"
|
|
25
25
|
:ignoreCompositionEvent="ignoreCompositionEvent"
|
|
26
|
-
@focus="e => $emit('focus')"
|
|
27
|
-
@blur="e => $emit('blur')"
|
|
28
|
-
@linechange="e => $emit('linechange', e)"
|
|
29
|
-
@confirm="e => $emit('confirm')"
|
|
30
26
|
@input="e => $emit('input', e)"
|
|
31
27
|
@update:modelValue="e => $emit('update:modelValue', e)"
|
|
32
|
-
@keyboardheightchange="e => $emit('keyboardheightchange')"
|
|
33
28
|
></uvTextarea>
|
|
34
29
|
</template>
|
|
35
30
|
|
|
@@ -35,10 +35,9 @@
|
|
|
35
35
|
<slot>
|
|
36
36
|
<u-line v-if="description"></u-line>
|
|
37
37
|
<view class="u-action-sheet__item-wrap">
|
|
38
|
-
<
|
|
38
|
+
<view :key="index" v-for="(item, index) in actions">
|
|
39
39
|
<!-- #ifdef MP -->
|
|
40
40
|
<button
|
|
41
|
-
:key="index"
|
|
42
41
|
class="u-reset-button"
|
|
43
42
|
:openType="item.openType"
|
|
44
43
|
@getuserinfo="onGetUserInfo"
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
</button>
|
|
86
85
|
<!-- #endif -->
|
|
87
86
|
<u-line v-if="index !== actions.length - 1"></u-line>
|
|
88
|
-
</
|
|
87
|
+
</view>
|
|
89
88
|
</view>
|
|
90
89
|
</slot>
|
|
91
90
|
<u-gap
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
>
|
|
15
15
|
<!-- #ifndef MP-WEIXIN -->
|
|
16
16
|
<!-- 微信小程序不支持,因为微信中不支持 <slot name="title" slot="title" />的写法 -->
|
|
17
|
-
<template
|
|
17
|
+
<template #title>
|
|
18
18
|
<slot name="title"></slot>
|
|
19
19
|
</template>
|
|
20
|
-
<template
|
|
20
|
+
<template #icon>
|
|
21
21
|
<slot name="icon"></slot>
|
|
22
22
|
</template>
|
|
23
|
-
<template
|
|
23
|
+
<template #value>
|
|
24
24
|
<slot name="value"></slot>
|
|
25
25
|
</template>
|
|
26
|
-
<template
|
|
26
|
+
<template #right-icon>
|
|
27
27
|
<slot name="right-icon"></slot>
|
|
28
28
|
</template>
|
|
29
29
|
<!-- #endif -->
|
|
@@ -318,13 +318,15 @@
|
|
|
318
318
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
+
/* #ifndef APP-NVUE */
|
|
321
322
|
@keyframes u-loop-animation {
|
|
322
323
|
0% {
|
|
323
324
|
transform: translate3d(0, 0, 0);
|
|
324
325
|
}
|
|
325
|
-
|
|
326
|
+
|
|
326
327
|
100% {
|
|
327
328
|
transform: translate3d(-100%, 0, 0);
|
|
328
329
|
}
|
|
329
330
|
}
|
|
331
|
+
/* #endif */
|
|
330
332
|
</style>
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
return !this.animation && this.showAction
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
|
-
emits: ['clear', 'search', 'custom', 'focus', 'blur', 'click', 'clickIcon'],
|
|
160
|
+
emits: ['clear', 'search', 'custom', 'focus', 'blur', 'click', 'clickIcon', 'update:modelValue', 'change'],
|
|
161
161
|
methods: {
|
|
162
162
|
// 目前HX2.6.9 v-model双向绑定无效,故监听input事件获取输入框内容的变化
|
|
163
163
|
inputChange(e) {
|
|
@@ -31,14 +31,16 @@
|
|
|
31
31
|
<view class="u-swipe-action-item__content" @touchstart="wxs.touchstart" @touchmove="wxs.touchmove"
|
|
32
32
|
@touchend="wxs.touchend" :status="status" :change:status="wxs.statusChange" :size="size"
|
|
33
33
|
:change:size="wxs.sizeChange">
|
|
34
|
-
|
|
35
|
-
<!-- #ifdef APP-NVUE -->
|
|
36
|
-
<view class="u-swipe-action-item__content" ref="u-swipe-action-item__content" @panstart="onTouchstart"
|
|
37
|
-
@tap="clickHandler">
|
|
38
|
-
<!-- #endif -->
|
|
39
|
-
<slot />
|
|
40
|
-
</view>
|
|
34
|
+
<slot></slot>
|
|
41
35
|
</view>
|
|
36
|
+
<!-- #endif -->
|
|
37
|
+
<!-- #ifdef APP-NVUE -->
|
|
38
|
+
<view class="u-swipe-action-item__content" ref="u-swipe-action-item__content" @panstart="onTouchstart"
|
|
39
|
+
@tap="clickHandler">
|
|
40
|
+
<slot></slot>
|
|
41
|
+
</view>
|
|
42
|
+
<!-- #endif -->
|
|
43
|
+
</view>
|
|
42
44
|
</template>
|
|
43
45
|
<!-- #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ -->
|
|
44
46
|
<script src="./index.wxs" module="wxs" lang="wxs"></script>
|