uview-plus 3.4.93 → 3.4.94
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 +3 -0
- package/components/u-action-sheet/u-action-sheet.vue +2 -2
- package/components/u-alert/u-alert.vue +4 -4
- package/components/u-avatar/u-avatar.vue +2 -2
- package/components/u-back-top/u-back-top.vue +2 -2
- package/components/u-button/u-button.vue +5 -5
- package/components/u-car-keyboard/u-car-keyboard.vue +2 -2
- package/components/u-cell/u-cell.vue +4 -4
- package/components/u-checkbox/u-checkbox.vue +1 -1
- package/components/u-collapse-item/u-collapse-item.vue +2 -2
- package/components/u-column-notice/u-column-notice.vue +6 -6
- package/components/u-dropdown/u-dropdown.vue +1 -1
- package/components/u-empty/u-empty.vue +2 -2
- package/components/u-form-item/u-form-item.vue +2 -2
- package/components/u-image/u-image.vue +4 -4
- package/components/u-input/u-input.vue +6 -6
- package/components/u-navbar/u-navbar.vue +4 -4
- package/components/u-no-network/u-no-network.vue +2 -2
- package/components/u-notify/u-notify.vue +2 -2
- package/components/u-number-box/u-number-box.vue +4 -4
- package/components/u-number-keyboard/u-number-keyboard.vue +2 -2
- package/components/u-popup/u-popup.vue +2 -2
- package/components/u-radio/u-radio.vue +1 -1
- package/components/u-rate/u-rate.vue +5 -5
- package/components/u-read-more/u-read-more.vue +2 -2
- package/components/u-row-notice/u-row-notice.vue +6 -6
- package/components/u-search/u-search.vue +4 -4
- package/components/u-select/u-select.vue +1 -1
- package/components/u-steps-item/u-steps-item.vue +4 -4
- package/components/u-swipe-action-item/u-swipe-action-item.vue +2 -2
- package/components/u-tabbar-item/u-tabbar-item.vue +2 -2
- package/components/u-tag/u-tag.vue +4 -4
- package/components/u-text/u-text.vue +4 -4
- package/components/u-toast/u-toast.vue +3 -3
- package/components/u-upload/u-upload.vue +11 -11
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
class="u-alert__icon"
|
|
14
14
|
v-if="showIcon"
|
|
15
15
|
>
|
|
16
|
-
<
|
|
16
|
+
<up-icon
|
|
17
17
|
:name="iconName"
|
|
18
18
|
size="18"
|
|
19
19
|
:color="iconColor"
|
|
20
|
-
></
|
|
20
|
+
></up-icon>
|
|
21
21
|
</view>
|
|
22
22
|
<view
|
|
23
23
|
class="u-alert__content"
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
v-if="closable"
|
|
50
50
|
@tap.stop="closeHandler"
|
|
51
51
|
>
|
|
52
|
-
<
|
|
52
|
+
<up-icon
|
|
53
53
|
name="close"
|
|
54
54
|
:color="iconColor"
|
|
55
55
|
size="15"
|
|
56
|
-
></
|
|
56
|
+
></up-icon>
|
|
57
57
|
</view>
|
|
58
58
|
</view>
|
|
59
59
|
</u-transition>
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
<!-- #ifndef MP-WEIXIN && MP-QQ && MP-BAIDU -->
|
|
24
24
|
<template v-if="mpAvatar && allowMp"></template>
|
|
25
25
|
<!-- #endif -->
|
|
26
|
-
<
|
|
26
|
+
<up-icon
|
|
27
27
|
v-else-if="icon"
|
|
28
28
|
:name="icon"
|
|
29
29
|
:size="fontSize"
|
|
30
30
|
:color="color"
|
|
31
|
-
></
|
|
31
|
+
></up-icon>
|
|
32
32
|
<up-text
|
|
33
33
|
v-else-if="text"
|
|
34
34
|
:text="text"
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
>
|
|
40
40
|
</template>
|
|
41
41
|
<template v-else>
|
|
42
|
-
<
|
|
42
|
+
<up-icon
|
|
43
43
|
v-if="icon"
|
|
44
44
|
:name="icon"
|
|
45
45
|
:color="iconColorCom"
|
|
46
46
|
:size="textSize * 1.35"
|
|
47
47
|
:customStyle="{ marginRight: '2px' }"
|
|
48
|
-
></
|
|
48
|
+
></up-icon>
|
|
49
49
|
<slot>
|
|
50
50
|
<text
|
|
51
51
|
class="u-button__text"
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
>
|
|
88
88
|
</template>
|
|
89
89
|
<template v-else>
|
|
90
|
-
<
|
|
90
|
+
<up-icon
|
|
91
91
|
v-if="icon"
|
|
92
92
|
:name="icon"
|
|
93
93
|
:color="iconColorCom"
|
|
94
94
|
:size="textSize * 1.35"
|
|
95
|
-
></
|
|
95
|
+
></up-icon>
|
|
96
96
|
<text
|
|
97
97
|
class="u-button__text"
|
|
98
98
|
:style="[
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
206
206
|
},
|
|
207
207
|
iconColorCom() {
|
|
208
208
|
// 如果是镂空状态,设置了color就用color值,否则使用主题颜色,
|
|
209
|
-
//
|
|
209
|
+
// up-icon的color能接受一个主题颜色的值
|
|
210
210
|
if (this.iconColor) return this.iconColor;
|
|
211
211
|
if (this.plain) {
|
|
212
212
|
return this.color ? this.color : this.type;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<view class="u-cell__left-icon-wrap" v-if="$slots.icon || icon">
|
|
8
8
|
<slot name="icon" v-if="$slots.icon">
|
|
9
9
|
</slot>
|
|
10
|
-
<
|
|
10
|
+
<up-icon v-else :name="icon"
|
|
11
11
|
:custom-style="iconStyle"
|
|
12
|
-
:size="size === 'large' ? 22 : 18"></
|
|
12
|
+
:size="size === 'large' ? 22 : 18"></up-icon>
|
|
13
13
|
</view>
|
|
14
14
|
<view class="u-cell__title">
|
|
15
15
|
<!-- 将slot与默认内容用if/else分开主要是因为微信小程序不支持slot嵌套传递,这样才能解决collapse组件的slot不失效问题,label暂时未用到。 -->
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
</slot>
|
|
31
31
|
<view class="u-cell__right-icon-wrap" v-if="$slots['right-icon'] || isLink"
|
|
32
32
|
:class="[`u-cell__right-icon-wrap--${arrowDirection}`]">
|
|
33
|
-
<
|
|
33
|
+
<up-icon v-if="rightIcon && !$slots['right-icon']" :name="rightIcon"
|
|
34
34
|
:custom-style="rightIconStyle" :color="disabled ? '#c8c9cc' : 'info'"
|
|
35
|
-
:size="size === 'large' ? 18 : 16"></
|
|
35
|
+
:size="size === 'large' ? 18 : 16"></up-icon>
|
|
36
36
|
<slot v-else name="right-icon">
|
|
37
37
|
</slot>
|
|
38
38
|
</view>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</template>
|
|
25
25
|
<template #icon>
|
|
26
26
|
<slot name="icon">
|
|
27
|
-
<
|
|
27
|
+
<up-icon v-if="!$slots.icon && icon" :size="22" :name="icon"></up-icon>
|
|
28
28
|
</slot>
|
|
29
29
|
</template>
|
|
30
30
|
<template #value>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</template>
|
|
37
37
|
<template #right-icon>
|
|
38
38
|
<template v-if="showRight">
|
|
39
|
-
<
|
|
39
|
+
<up-icon v-if="!$slots['right-icon']" :size="16" name="arrow-right"></up-icon>
|
|
40
40
|
<slot name="right-icon">
|
|
41
41
|
</slot>
|
|
42
42
|
</template>
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
class="u-notice__left-icon"
|
|
9
9
|
v-if="icon"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
11
|
+
<up-icon
|
|
12
12
|
:name="icon"
|
|
13
13
|
:color="color"
|
|
14
14
|
size="19"
|
|
15
|
-
></
|
|
15
|
+
></up-icon>
|
|
16
16
|
</view>
|
|
17
17
|
</slot>
|
|
18
18
|
<swiper
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
class="u-notice__right-icon"
|
|
41
41
|
v-if="['link', 'closable'].includes(mode)"
|
|
42
42
|
>
|
|
43
|
-
<
|
|
43
|
+
<up-icon
|
|
44
44
|
v-if="mode === 'link'"
|
|
45
45
|
name="arrow-right"
|
|
46
46
|
:size="17"
|
|
47
47
|
:color="color"
|
|
48
|
-
></
|
|
49
|
-
<
|
|
48
|
+
></up-icon>
|
|
49
|
+
<up-icon
|
|
50
50
|
v-if="mode === 'closable'"
|
|
51
51
|
name="close"
|
|
52
52
|
:size="16"
|
|
53
53
|
:color="color"
|
|
54
54
|
@click="close"
|
|
55
|
-
></
|
|
55
|
+
></up-icon>
|
|
56
56
|
</view>
|
|
57
57
|
</view>
|
|
58
58
|
</template>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<view class="u-dropdown__menu__item__arrow" :class="{
|
|
15
15
|
'u-dropdown__menu__item__arrow--rotate': index === current
|
|
16
16
|
}">
|
|
17
|
-
<
|
|
17
|
+
<up-icon :custom-style="{display: 'flex'}" :name="menuIcon" :size="addUnit(menuIconSize)" :color="index === current || highlightIndexList.includes(index) ? activeColor : '#c0c4cc'"></up-icon>
|
|
18
18
|
</view>
|
|
19
19
|
</view>
|
|
20
20
|
</view>
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
:style="[emptyStyle]"
|
|
5
5
|
v-if="show"
|
|
6
6
|
>
|
|
7
|
-
<
|
|
7
|
+
<up-icon
|
|
8
8
|
v-if="!isSrc"
|
|
9
9
|
:name="mode === 'message' ? 'chat' : `empty-${mode}`"
|
|
10
10
|
:size="iconSize"
|
|
11
11
|
:color="iconColor"
|
|
12
12
|
margin-top="14"
|
|
13
|
-
></
|
|
13
|
+
></up-icon>
|
|
14
14
|
<image
|
|
15
15
|
v-else
|
|
16
16
|
:style="{
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
class="u-form-item__body__left__content__icon"
|
|
30
30
|
v-if="leftIcon"
|
|
31
31
|
>
|
|
32
|
-
<
|
|
32
|
+
<up-icon
|
|
33
33
|
:name="leftIcon"
|
|
34
34
|
:custom-style="leftIconStyle"
|
|
35
|
-
></
|
|
35
|
+
></up-icon>
|
|
36
36
|
</view>
|
|
37
37
|
<text
|
|
38
38
|
class="u-form-item__body__left__content__label"
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
}"
|
|
37
37
|
>
|
|
38
38
|
<slot name="loading">
|
|
39
|
-
<
|
|
39
|
+
<up-icon
|
|
40
40
|
:name="loadingIcon"
|
|
41
|
-
></
|
|
41
|
+
></up-icon>
|
|
42
42
|
</slot>
|
|
43
43
|
</view>
|
|
44
44
|
<view
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
}"
|
|
53
53
|
>
|
|
54
54
|
<slot name="error">
|
|
55
|
-
<
|
|
55
|
+
<up-icon
|
|
56
56
|
:name="errorIcon"
|
|
57
|
-
></
|
|
57
|
+
></up-icon>
|
|
58
58
|
</slot>
|
|
59
59
|
</view>
|
|
60
60
|
</view>
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
v-if="prefixIcon || $slots.prefix"
|
|
7
7
|
>
|
|
8
8
|
<slot name="prefix">
|
|
9
|
-
<
|
|
9
|
+
<up-icon
|
|
10
10
|
:name="prefixIcon"
|
|
11
11
|
size="18"
|
|
12
12
|
:customStyle="prefixIconStyle"
|
|
13
|
-
></
|
|
13
|
+
></up-icon>
|
|
14
14
|
</slot>
|
|
15
15
|
</view>
|
|
16
16
|
<view class="u-input__content__field-wrapper" @tap="clickHandler">
|
|
@@ -54,23 +54,23 @@
|
|
|
54
54
|
v-if="isShowClear"
|
|
55
55
|
@click="onClear"
|
|
56
56
|
>
|
|
57
|
-
<
|
|
57
|
+
<up-icon
|
|
58
58
|
name="close"
|
|
59
59
|
size="11"
|
|
60
60
|
color="#ffffff"
|
|
61
61
|
customStyle="line-height: 12px"
|
|
62
|
-
></
|
|
62
|
+
></up-icon>
|
|
63
63
|
</view>
|
|
64
64
|
<view
|
|
65
65
|
class="u-input__content__subfix-icon"
|
|
66
66
|
v-if="suffixIcon || $slots.suffix"
|
|
67
67
|
>
|
|
68
68
|
<slot name="suffix">
|
|
69
|
-
<
|
|
69
|
+
<up-icon
|
|
70
70
|
:name="suffixIcon"
|
|
71
71
|
size="18"
|
|
72
72
|
:customStyle="suffixIconStyle"
|
|
73
|
-
></
|
|
73
|
+
></up-icon>
|
|
74
74
|
</slot>
|
|
75
75
|
</view>
|
|
76
76
|
</view>
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
@tap="leftClick"
|
|
28
28
|
>
|
|
29
29
|
<slot name="left">
|
|
30
|
-
<
|
|
30
|
+
<up-icon
|
|
31
31
|
v-if="leftIcon"
|
|
32
32
|
:name="leftIcon"
|
|
33
33
|
:size="leftIconSize"
|
|
34
34
|
:color="leftIconColor"
|
|
35
|
-
></
|
|
35
|
+
></up-icon>
|
|
36
36
|
<text
|
|
37
37
|
v-if="leftText"
|
|
38
38
|
:style="{
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
@tap="rightClick"
|
|
58
58
|
>
|
|
59
59
|
<slot name="right">
|
|
60
|
-
<
|
|
60
|
+
<up-icon
|
|
61
61
|
v-if="rightIcon"
|
|
62
62
|
:name="rightIcon"
|
|
63
63
|
size="20"
|
|
64
|
-
></
|
|
64
|
+
></up-icon>
|
|
65
65
|
<text
|
|
66
66
|
v-if="rightText"
|
|
67
67
|
class="u-navbar__content__right__text"
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
<view
|
|
13
13
|
class="u-no-network"
|
|
14
14
|
>
|
|
15
|
-
<
|
|
15
|
+
<up-icon
|
|
16
16
|
:name="image"
|
|
17
17
|
size="150"
|
|
18
18
|
imgMode="widthFit"
|
|
19
19
|
class="u-no-network__error-icon"
|
|
20
|
-
></
|
|
20
|
+
></up-icon>
|
|
21
21
|
<text class="u-no-network__tips">{{tips}}</text>
|
|
22
22
|
<!-- 只有APP平台,才能跳转设置页,因为需要调用plus环境 -->
|
|
23
23
|
<!-- #ifdef APP-PLUS -->
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
<u-status-bar v-if="tmpConfig.safeAreaInsetTop"></u-status-bar>
|
|
13
13
|
<view class="u-notify__warpper">
|
|
14
14
|
<slot name="icon">
|
|
15
|
-
<
|
|
15
|
+
<up-icon
|
|
16
16
|
v-if="['success', 'warning', 'error'].includes(tmpConfig.type)"
|
|
17
17
|
:name="tmpConfig.icon"
|
|
18
18
|
:color="tmpConfig.color"
|
|
19
19
|
:size="1.3 * tmpConfig.fontSize"
|
|
20
20
|
:customStyle="{marginRight: '4px'}"
|
|
21
|
-
></
|
|
21
|
+
></up-icon>
|
|
22
22
|
</slot>
|
|
23
23
|
<text
|
|
24
24
|
class="u-notify__warpper__text"
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
:class="{ 'u-number-box__minus--disabled': isDisabled('minus') }"
|
|
21
21
|
:style="[buttonStyle('minus')]"
|
|
22
22
|
>
|
|
23
|
-
<
|
|
23
|
+
<up-icon
|
|
24
24
|
name="minus"
|
|
25
25
|
:color="isDisabled('minus') ? '#c8c9cc' : '#323233'"
|
|
26
26
|
size="15"
|
|
27
27
|
bold
|
|
28
28
|
:customStyle="iconStyle"
|
|
29
|
-
></
|
|
29
|
+
></up-icon>
|
|
30
30
|
</view>
|
|
31
31
|
|
|
32
32
|
<template v-if="!hideMinus">
|
|
@@ -81,13 +81,13 @@
|
|
|
81
81
|
:class="{ 'u-number-box__minus--disabled': isDisabled('plus') }"
|
|
82
82
|
:style="[buttonStyle('plus')]"
|
|
83
83
|
>
|
|
84
|
-
<
|
|
84
|
+
<up-icon
|
|
85
85
|
name="plus"
|
|
86
86
|
:color="isDisabled('plus') ? '#c8c9cc' : '#323233'"
|
|
87
87
|
size="15"
|
|
88
88
|
bold
|
|
89
89
|
:customStyle="iconStyle"
|
|
90
|
-
></
|
|
90
|
+
></up-icon>
|
|
91
91
|
</view>
|
|
92
92
|
</view>
|
|
93
93
|
</template>
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
hover-class="u-popup__content__close--hover"
|
|
43
43
|
hover-stay-time="150"
|
|
44
44
|
>
|
|
45
|
-
<
|
|
45
|
+
<up-icon
|
|
46
46
|
name="close"
|
|
47
47
|
color="#909399"
|
|
48
48
|
size="18"
|
|
49
49
|
bold
|
|
50
|
-
></
|
|
50
|
+
></up-icon>
|
|
51
51
|
</view>
|
|
52
52
|
<u-safe-bottom v-if="safeAreaInsetBottom"></u-safe-bottom>
|
|
53
53
|
</view>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
ref="u-rate__content__item__icon-wrap"
|
|
22
22
|
@tap.stop="clickHandler($event, index + 1)"
|
|
23
23
|
>
|
|
24
|
-
<
|
|
24
|
+
<up-icon
|
|
25
25
|
:name="
|
|
26
26
|
Math.floor(activeIndex) > index
|
|
27
27
|
? activeIcon
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
padding: `0 ${addUnit(gutter / 2)}`,
|
|
39
39
|
}"
|
|
40
40
|
:size="size"
|
|
41
|
-
></
|
|
41
|
+
></up-icon>
|
|
42
42
|
</view>
|
|
43
43
|
<view
|
|
44
44
|
v-if="allowHalf"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}]"
|
|
50
50
|
ref="u-rate__content__item__icon-wrap"
|
|
51
51
|
>
|
|
52
|
-
<
|
|
52
|
+
<up-icon
|
|
53
53
|
:name="
|
|
54
54
|
Math.ceil(activeIndex) > index
|
|
55
55
|
? activeIcon
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
padding: `0 ${addUnit(gutter / 2)}`
|
|
67
67
|
}"
|
|
68
68
|
:size="size"
|
|
69
|
-
></
|
|
69
|
+
></up-icon>
|
|
70
70
|
</view>
|
|
71
71
|
</view>
|
|
72
72
|
</view>
|
|
@@ -319,7 +319,7 @@ $u-rate-item-icon-wrap-half-left: 0 !default;
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
.
|
|
322
|
+
.up-icon {
|
|
323
323
|
/* #ifndef APP-NVUE */
|
|
324
324
|
box-sizing: border-box;
|
|
325
325
|
/* #endif */
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
margin="0 5px 0 0"
|
|
34
34
|
></up-text>
|
|
35
35
|
<view class="u-read-more__toggle__icon">
|
|
36
|
-
<
|
|
36
|
+
<up-icon
|
|
37
37
|
:color="color"
|
|
38
38
|
:size="fontSize + 2"
|
|
39
39
|
:name="status === 'close' ? 'arrow-down' : 'arrow-up'"
|
|
40
|
-
></
|
|
40
|
+
></up-icon>
|
|
41
41
|
</view>
|
|
42
42
|
</view>
|
|
43
43
|
</slot>
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
class="u-notice__left-icon"
|
|
9
9
|
v-if="icon"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
11
|
+
<up-icon
|
|
12
12
|
:name="icon"
|
|
13
13
|
:color="color"
|
|
14
14
|
size="19"
|
|
15
|
-
></
|
|
15
|
+
></up-icon>
|
|
16
16
|
</view>
|
|
17
17
|
</slot>
|
|
18
18
|
<view
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
class="u-notice__right-icon"
|
|
36
36
|
v-if="['link', 'closable'].includes(mode)"
|
|
37
37
|
>
|
|
38
|
-
<
|
|
38
|
+
<up-icon
|
|
39
39
|
v-if="mode === 'link'"
|
|
40
40
|
name="arrow-right"
|
|
41
41
|
:size="17"
|
|
42
42
|
:color="color"
|
|
43
|
-
></
|
|
44
|
-
<
|
|
43
|
+
></up-icon>
|
|
44
|
+
<up-icon
|
|
45
45
|
v-if="mode === 'closable'"
|
|
46
46
|
@click="close"
|
|
47
47
|
name="close"
|
|
48
48
|
:size="16"
|
|
49
49
|
:color="color"
|
|
50
|
-
></
|
|
50
|
+
></up-icon>
|
|
51
51
|
</view>
|
|
52
52
|
</view>
|
|
53
53
|
</template>
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
</slot>
|
|
22
22
|
</template>
|
|
23
23
|
<view class="u-search__content__icon">
|
|
24
|
-
<
|
|
24
|
+
<up-icon
|
|
25
25
|
@tap="clickIcon"
|
|
26
26
|
:size="searchIconSize"
|
|
27
27
|
:name="searchIcon"
|
|
28
28
|
:color="searchIconColor ? searchIconColor : color"
|
|
29
|
-
></
|
|
29
|
+
></up-icon>
|
|
30
30
|
</view>
|
|
31
31
|
<input
|
|
32
32
|
confirm-type="search"
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
v-if="keyword && clearabled && focused"
|
|
59
59
|
@click="clear"
|
|
60
60
|
>
|
|
61
|
-
<
|
|
61
|
+
<up-icon
|
|
62
62
|
name="close"
|
|
63
63
|
size="11"
|
|
64
64
|
color="#ffffff"
|
|
65
65
|
customStyle="line-height: 12px"
|
|
66
|
-
></
|
|
66
|
+
></up-icon>
|
|
67
67
|
</view>
|
|
68
68
|
<slot name="inputRight"></slot>
|
|
69
69
|
</view>
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
</view>
|
|
14
14
|
<view class="u-steps-item__wrapper__icon" v-else-if="parentData.activeIcon || parentData.inactiveIcon">
|
|
15
|
-
<
|
|
15
|
+
<up-icon :name="index <= parentData.current ? parentData.activeIcon : parentData.inactiveIcon"
|
|
16
16
|
:size="iconSize"
|
|
17
17
|
:color="index <= parentData.current ? parentData.activeColor : parentData.inactiveColor">
|
|
18
|
-
</
|
|
18
|
+
</up-icon>
|
|
19
19
|
</view>
|
|
20
20
|
<view v-else :style="{
|
|
21
21
|
backgroundColor: statusClass === 'process' ? parentData.activeColor : 'transparent',
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
class="u-steps-item__wrapper__circle__text" :style="{
|
|
26
26
|
color: index == parentData.current ? '#ffffff' : parentData.inactiveColor
|
|
27
27
|
}">{{ index + 1}}</text>
|
|
28
|
-
<
|
|
29
|
-
:name="statusClass === 'error' ? 'close' : 'checkmark'"></
|
|
28
|
+
<up-icon v-else :color="statusClass === 'error' ? 'error' : parentData.activeColor" size="12"
|
|
29
|
+
:name="statusClass === 'error' ? 'close' : 'checkmark'"></up-icon>
|
|
30
30
|
</view>
|
|
31
31
|
</slot>
|
|
32
32
|
</view>
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
borderRadius: item.style && item.style.borderRadius ? item.style.borderRadius : '0',
|
|
15
15
|
padding: item.style && item.style.borderRadius ? '0' : '0 15px',
|
|
16
16
|
}, item.style]">
|
|
17
|
-
<
|
|
17
|
+
<up-icon v-if="item.icon" :name="item.icon"
|
|
18
18
|
:color="item.style && item.style.color ? item.style.color : '#ffffff'"
|
|
19
19
|
:size="item.iconSize ? addUnit(item.iconSize) : item.style && item.style.fontSize ? getPx(item.style.fontSize) * 1.2 : 17"
|
|
20
20
|
:customStyle="{
|
|
21
21
|
marginRight: item.text ? '2px' : 0
|
|
22
|
-
}"></
|
|
22
|
+
}"></up-icon>
|
|
23
23
|
<text v-if="item.text" class="u-swipe-action-item__right__button__wrapper__text u-line-1"
|
|
24
24
|
:style="[{
|
|
25
25
|
color: item.style && item.style.color ? item.style.color : '#ffffff',
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
@tap="clickHandler"
|
|
6
6
|
>
|
|
7
7
|
<view class="u-tabbar-item__icon">
|
|
8
|
-
<
|
|
8
|
+
<up-icon
|
|
9
9
|
v-if="icon"
|
|
10
10
|
:name="icon"
|
|
11
11
|
:color="isActive? parentData.activeColor : parentData.inactiveColor"
|
|
12
12
|
:size="20"
|
|
13
|
-
></
|
|
13
|
+
></up-icon>
|
|
14
14
|
<template v-else>
|
|
15
15
|
<slot
|
|
16
16
|
v-if="isActive"
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
:src="icon"
|
|
25
25
|
:style="[imgStyle]"
|
|
26
26
|
></image>
|
|
27
|
-
<
|
|
27
|
+
<up-icon
|
|
28
28
|
v-else
|
|
29
29
|
:color="elIconColor"
|
|
30
30
|
:name="icon"
|
|
31
31
|
:size="iconSize"
|
|
32
|
-
></
|
|
32
|
+
></up-icon>
|
|
33
33
|
</view>
|
|
34
34
|
</slot>
|
|
35
35
|
<view class="u-tag__content">
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
@tap.stop="closeHandler"
|
|
64
64
|
:style="{backgroundColor: closeColor}"
|
|
65
65
|
>
|
|
66
|
-
<
|
|
66
|
+
<up-icon
|
|
67
67
|
name="close"
|
|
68
68
|
:size="closeSize"
|
|
69
69
|
color="#ffffff"
|
|
70
|
-
></
|
|
70
|
+
></up-icon>
|
|
71
71
|
</view>
|
|
72
72
|
</view>
|
|
73
73
|
</u-transition>
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
>¥</text
|
|
14
14
|
>
|
|
15
15
|
<view class="u-text__prefix-icon" v-if="prefixIcon">
|
|
16
|
-
<
|
|
16
|
+
<up-icon
|
|
17
17
|
:name="prefixIcon"
|
|
18
18
|
:customStyle="addStyle(iconStyle)"
|
|
19
|
-
></
|
|
19
|
+
></up-icon>
|
|
20
20
|
</view>
|
|
21
21
|
<u-link
|
|
22
22
|
v-if="mode === 'link'" class="u-text__value"
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
>{{ value }}</text
|
|
60
60
|
>
|
|
61
61
|
<view class="u-text__suffix-icon" v-if="suffixIcon">
|
|
62
|
-
<
|
|
62
|
+
<up-icon
|
|
63
63
|
:name="suffixIcon"
|
|
64
64
|
:customStyle="addStyle(iconStyle)"
|
|
65
|
-
></
|
|
65
|
+
></up-icon>
|
|
66
66
|
</view>
|
|
67
67
|
</view>
|
|
68
68
|
</template>
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
inactiveColor="rgb(120, 120, 120)"
|
|
18
18
|
size="25"
|
|
19
19
|
></u-loading-icon>
|
|
20
|
-
<
|
|
20
|
+
<up-icon
|
|
21
21
|
v-else-if="tmpConfig.type !== 'defalut' && iconName"
|
|
22
22
|
:name="iconName"
|
|
23
23
|
size="17"
|
|
24
24
|
:color="tmpConfig.type"
|
|
25
25
|
:customStyle="iconStyle"
|
|
26
|
-
></
|
|
26
|
+
></up-icon>
|
|
27
27
|
<u-gap
|
|
28
28
|
v-if="tmpConfig.type === 'loading' || tmpConfig.loading"
|
|
29
29
|
height="12"
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
$u-toast-loading-border-padding: 20px 20px !default;
|
|
204
204
|
$u-toast-content-text-color:#fff !default;
|
|
205
205
|
$u-toast-content-text-font-size:15px !default;
|
|
206
|
-
$u-toast-
|
|
206
|
+
$u-toast-up-icon:10rpx !default;
|
|
207
207
|
$u-toast-u-type-primary-color:$u-primary !default;
|
|
208
208
|
$u-toast-u-type-primary-background-color:#ecf5ff !default;
|
|
209
209
|
$u-toast-u-type-primary-border-color:rgb(215, 234, 254) !default;
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
height: addUnit(height)
|
|
36
36
|
}]"
|
|
37
37
|
/>
|
|
38
|
-
<
|
|
38
|
+
<up-icon
|
|
39
39
|
v-else
|
|
40
40
|
color="#80CBF9"
|
|
41
41
|
size="26"
|
|
42
42
|
:name="item.isVideo || (item.type && item.type === 'video') ? 'movie' : 'file-text'"
|
|
43
|
-
></
|
|
43
|
+
></up-icon>
|
|
44
44
|
<view v-if="item.status === 'success'"
|
|
45
45
|
class="u-upload__wrap__play"
|
|
46
46
|
@tap="onClickPreview(item, index)">
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
height: addUnit(height)
|
|
60
60
|
}]"
|
|
61
61
|
>
|
|
62
|
-
<
|
|
62
|
+
<up-icon
|
|
63
63
|
color="#80CBF9"
|
|
64
64
|
size="26"
|
|
65
65
|
:name="item.isVideo || (item.type && item.type === 'video') ? 'movie' : 'folder'"
|
|
66
|
-
></
|
|
66
|
+
></up-icon>
|
|
67
67
|
<text class="u-upload__wrap__preview__other__text">
|
|
68
68
|
{{item.isVideo || (item.type && item.type === 'video') ? item.name || '视频' : item.name || '文件'}}
|
|
69
69
|
</text>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
v-if="item.status === 'uploading' || item.status === 'failed'"
|
|
74
74
|
>
|
|
75
75
|
<view class="u-upload__status__icon">
|
|
76
|
-
<
|
|
76
|
+
<up-icon
|
|
77
77
|
v-if="item.status === 'failed'"
|
|
78
78
|
name="close-circle"
|
|
79
79
|
color="#ffffff"
|
|
@@ -98,11 +98,11 @@
|
|
|
98
98
|
@tap.stop="deleteItem(index)"
|
|
99
99
|
>
|
|
100
100
|
<view class="u-upload__deletable__icon">
|
|
101
|
-
<
|
|
101
|
+
<up-icon
|
|
102
102
|
name="close"
|
|
103
103
|
color="#ffffff"
|
|
104
104
|
size="10"
|
|
105
|
-
></
|
|
105
|
+
></up-icon>
|
|
106
106
|
</view>
|
|
107
107
|
</view>
|
|
108
108
|
<slot name="success">
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
<!-- #endif -->
|
|
119
119
|
<!-- #ifndef APP-NVUE -->
|
|
120
120
|
<view class="u-upload__success__icon">
|
|
121
|
-
<
|
|
121
|
+
<up-icon
|
|
122
122
|
name="checkmark"
|
|
123
123
|
color="#ffffff"
|
|
124
124
|
size="12"
|
|
125
|
-
></
|
|
125
|
+
></up-icon>
|
|
126
126
|
</view>
|
|
127
127
|
<!-- #endif -->
|
|
128
128
|
</view>
|
|
@@ -156,11 +156,11 @@
|
|
|
156
156
|
height: addUnit(height)
|
|
157
157
|
}]"
|
|
158
158
|
>
|
|
159
|
-
<
|
|
159
|
+
<up-icon
|
|
160
160
|
:name="uploadIcon"
|
|
161
161
|
size="26"
|
|
162
162
|
:color="uploadIconColor"
|
|
163
|
-
></
|
|
163
|
+
></up-icon>
|
|
164
164
|
<text
|
|
165
165
|
v-if="uploadText"
|
|
166
166
|
class="u-upload__button__text"
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "uview-plus",
|
|
3
3
|
"name": "uview-plus",
|
|
4
4
|
"displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙跨端移动组件库,组件丰富维护更新稳定。",
|
|
5
|
-
"version": "3.4.
|
|
5
|
+
"version": "3.4.94",
|
|
6
6
|
"description": "零云®uview-plus已兼容vue3,100+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名等。",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"uview",
|