uview-plus 3.0.12 → 3.0.15
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 +6 -0
- package/components/u--input/u--input.vue +1 -8
- package/components/u--textarea/u--textarea.vue +0 -5
- package/components/u-cell/u-cell.vue +9 -7
- package/components/u-grid-item/u-grid-item.vue +1 -1
- package/components/u-input/u-input.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-swipe-action-item/u-swipe-action-item.vue +9 -7
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 3.0.15(2022-07-22)
|
|
2
|
+
修复支付宝下不支持this.$slots导致cell的slot失效
|
|
3
|
+
## 3.0.14(2022-07-22)
|
|
4
|
+
修复u-grid-item与u-swipe-action-item在支付宝编译报错问题
|
|
5
|
+
## 3.0.13(2022-07-22)
|
|
6
|
+
修复u--input与u--textarea组件多个事件执行两次问题
|
|
1
7
|
## 3.0.12(2022-07-20)
|
|
2
8
|
修复u-action-sheet中v-for报错
|
|
3
9
|
u-collapse-item中slot修复
|
|
@@ -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
|
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
@tap="clickHandler">
|
|
5
5
|
<view class="u-cell__body" :class="[ center && 'u-cell--center', size === 'large' && 'u-cell__body--large']">
|
|
6
6
|
<view class="u-cell__body__content">
|
|
7
|
-
<view class="u-cell__left-icon-wrap"
|
|
8
|
-
<slot name="icon"
|
|
7
|
+
<view class="u-cell__left-icon-wrap">
|
|
8
|
+
<slot name="icon">
|
|
9
|
+
<u-icon v-if="icon" :name="icon"
|
|
10
|
+
:custom-style="iconStyle"
|
|
11
|
+
:size="size === 'large' ? 22 : 18"></u-icon>
|
|
9
12
|
</slot>
|
|
10
|
-
<u-icon v-else :name="icon" :custom-style="iconStyle" :size="size === 'large' ? 22 : 18"></u-icon>
|
|
11
13
|
</view>
|
|
12
14
|
<view class="u-cell__title">
|
|
13
15
|
<slot name="title">
|
|
@@ -25,12 +27,12 @@
|
|
|
25
27
|
:class="[disabled && 'u-cell--disabled', size === 'large' && 'u-cell__value--large']"
|
|
26
28
|
v-if="!$u.test.empty(value)">{{ value }}</text>
|
|
27
29
|
</slot>
|
|
28
|
-
<view class="u-cell__right-icon-wrap"
|
|
30
|
+
<view class="u-cell__right-icon-wrap"
|
|
29
31
|
:class="[`u-cell__right-icon-wrap--${arrowDirection}`]">
|
|
30
|
-
<slot name="right-icon"
|
|
32
|
+
<slot name="right-icon">
|
|
33
|
+
<u-icon v-if="isLink" :name="rightIcon" :custom-style="rightIconStyle" :color="disabled ? '#c8c9cc' : 'info'"
|
|
34
|
+
:size="size === 'large' ? 18 : 16"></u-icon>
|
|
31
35
|
</slot>
|
|
32
|
-
<u-icon v-else :name="rightIcon" :custom-style="rightIconStyle" :color="disabled ? '#c8c9cc' : 'info'"
|
|
33
|
-
:size="size === 'large' ? 18 : 16"></u-icon>
|
|
34
36
|
</view>
|
|
35
37
|
</view>
|
|
36
38
|
<u-line v-if="border"></u-line>
|
|
@@ -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>
|
|
@@ -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>
|