uview-plus 3.4.93 → 3.4.98

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.
Files changed (48) hide show
  1. package/changelog.md +17 -0
  2. package/components/u-action-sheet/actionSheet.js +4 -4
  3. package/components/u-action-sheet/props.js +8 -0
  4. package/components/u-action-sheet/u-action-sheet.vue +13 -4
  5. package/components/u-album/album.js +3 -3
  6. package/components/u-album/props.js +9 -0
  7. package/components/u-album/u-album.vue +56 -11
  8. package/components/u-alert/alert.js +9 -5
  9. package/components/u-alert/props.js +29 -0
  10. package/components/u-alert/u-alert.vue +59 -16
  11. package/components/u-avatar/u-avatar.vue +2 -2
  12. package/components/u-back-top/u-back-top.vue +2 -2
  13. package/components/u-button/u-button.vue +5 -5
  14. package/components/u-car-keyboard/u-car-keyboard.vue +2 -2
  15. package/components/u-cell/u-cell.vue +4 -4
  16. package/components/u-checkbox/u-checkbox.vue +1 -1
  17. package/components/u-collapse-item/u-collapse-item.vue +2 -2
  18. package/components/u-column-notice/u-column-notice.vue +6 -6
  19. package/components/u-dropdown/u-dropdown.vue +1 -1
  20. package/components/u-empty/u-empty.vue +2 -2
  21. package/components/u-form-item/u-form-item.vue +2 -2
  22. package/components/u-image/u-image.vue +4 -4
  23. package/components/u-input/u-input.vue +6 -6
  24. package/components/u-navbar/u-navbar.vue +4 -4
  25. package/components/u-no-network/u-no-network.vue +2 -2
  26. package/components/u-notify/u-notify.vue +2 -2
  27. package/components/u-number-box/u-number-box.vue +4 -4
  28. package/components/u-number-keyboard/u-number-keyboard.vue +2 -2
  29. package/components/u-popup/u-popup.vue +2 -2
  30. package/components/u-radio/u-radio.vue +1 -1
  31. package/components/u-rate/u-rate.vue +5 -5
  32. package/components/u-read-more/u-read-more.vue +2 -2
  33. package/components/u-row-notice/u-row-notice.vue +6 -6
  34. package/components/u-search/u-search.vue +4 -4
  35. package/components/u-select/u-select.vue +1 -1
  36. package/components/u-steps-item/u-steps-item.vue +4 -4
  37. package/components/u-swipe-action-item/u-swipe-action-item.vue +2 -2
  38. package/components/u-tabbar-item/u-tabbar-item.vue +2 -2
  39. package/components/u-tag/u-tag.vue +4 -4
  40. package/components/u-text/u-text.vue +4 -4
  41. package/components/u-toast/u-toast.vue +3 -3
  42. package/components/u-upload/u-upload.vue +11 -11
  43. package/package.json +1 -1
  44. package/components/u--form/u--form.vue +0 -85
  45. package/components/u--image/u--image.vue +0 -50
  46. package/components/u--input/u--input.vue +0 -74
  47. package/components/u--text/u--text.vue +0 -45
  48. package/components/u--textarea/u--textarea.vue +0 -47
@@ -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
- <u-icon v-else :name="icon"
10
+ <up-icon v-else :name="icon"
11
11
  :custom-style="iconStyle"
12
- :size="size === 'large' ? 22 : 18"></u-icon>
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
- <u-icon v-if="rightIcon && !$slots['right-icon']" :name="rightIcon"
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"></u-icon>
35
+ :size="size === 'large' ? 18 : 16"></up-icon>
36
36
  <slot v-else name="right-icon">
37
37
  </slot>
38
38
  </view>
@@ -12,7 +12,7 @@
12
12
  :style="[iconWrapStyle]"
13
13
  >
14
14
  <slot name="icon" :elIconSize="elIconSize" :elIconColor="elIconColor">
15
- <u-icon
15
+ <up-icon
16
16
  class="u-checkbox__icon-wrap__icon"
17
17
  name="checkbox-mark"
18
18
  :size="elIconSize"
@@ -24,7 +24,7 @@
24
24
  </template>
25
25
  <template #icon>
26
26
  <slot name="icon">
27
- <u-icon v-if="!$slots.icon && icon" :size="22" :name="icon"></u-icon>
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
- <u-icon v-if="!$slots['right-icon']" :size="16" name="arrow-right"></u-icon>
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
- <u-icon
11
+ <up-icon
12
12
  :name="icon"
13
13
  :color="color"
14
14
  size="19"
15
- ></u-icon>
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
- <u-icon
43
+ <up-icon
44
44
  v-if="mode === 'link'"
45
45
  name="arrow-right"
46
46
  :size="17"
47
47
  :color="color"
48
- ></u-icon>
49
- <u-icon
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
- ></u-icon>
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
- <u-icon :custom-style="{display: 'flex'}" :name="menuIcon" :size="addUnit(menuIconSize)" :color="index === current || highlightIndexList.includes(index) ? activeColor : '#c0c4cc'"></u-icon>
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
- <u-icon
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
- ></u-icon>
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
- <u-icon
32
+ <up-icon
33
33
  :name="leftIcon"
34
34
  :custom-style="leftIconStyle"
35
- ></u-icon>
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
- <u-icon
39
+ <up-icon
40
40
  :name="loadingIcon"
41
- ></u-icon>
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
- <u-icon
55
+ <up-icon
56
56
  :name="errorIcon"
57
- ></u-icon>
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
- <u-icon
9
+ <up-icon
10
10
  :name="prefixIcon"
11
11
  size="18"
12
12
  :customStyle="prefixIconStyle"
13
- ></u-icon>
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
- <u-icon
57
+ <up-icon
58
58
  name="close"
59
59
  size="11"
60
60
  color="#ffffff"
61
61
  customStyle="line-height: 12px"
62
- ></u-icon>
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
- <u-icon
69
+ <up-icon
70
70
  :name="suffixIcon"
71
71
  size="18"
72
72
  :customStyle="suffixIconStyle"
73
- ></u-icon>
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
- <u-icon
30
+ <up-icon
31
31
  v-if="leftIcon"
32
32
  :name="leftIcon"
33
33
  :size="leftIconSize"
34
34
  :color="leftIconColor"
35
- ></u-icon>
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
- <u-icon
60
+ <up-icon
61
61
  v-if="rightIcon"
62
62
  :name="rightIcon"
63
63
  size="20"
64
- ></u-icon>
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
- <u-icon
15
+ <up-icon
16
16
  :name="image"
17
17
  size="150"
18
18
  imgMode="widthFit"
19
19
  class="u-no-network__error-icon"
20
- ></u-icon>
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
- <u-icon
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
- ></u-icon>
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
- <u-icon
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
- ></u-icon>
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
- <u-icon
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
- ></u-icon>
90
+ ></up-icon>
91
91
  </view>
92
92
  </view>
93
93
  </template>
@@ -28,11 +28,11 @@
28
28
  @touchstart.stop="backspaceClick"
29
29
  @touchend="clearTimer"
30
30
  >
31
- <u-icon
31
+ <up-icon
32
32
  name="backspace"
33
33
  color="#303133"
34
34
  size="28"
35
- ></u-icon>
35
+ ></up-icon>
36
36
  </view>
37
37
  </view>
38
38
  </view>
@@ -42,12 +42,12 @@
42
42
  hover-class="u-popup__content__close--hover"
43
43
  hover-stay-time="150"
44
44
  >
45
- <u-icon
45
+ <up-icon
46
46
  name="close"
47
47
  color="#909399"
48
48
  size="18"
49
49
  bold
50
- ></u-icon>
50
+ ></up-icon>
51
51
  </view>
52
52
  <u-safe-bottom v-if="safeAreaInsetBottom"></u-safe-bottom>
53
53
  </view>
@@ -12,7 +12,7 @@
12
12
  :style="[iconWrapStyle]"
13
13
  >
14
14
  <slot name="icon" :elIconSize="elIconSize" :elIconColor="elIconColor">
15
- <u-icon
15
+ <up-icon
16
16
  class="u-radio__icon-wrap__icon"
17
17
  name="checkbox-mark"
18
18
  :size="elIconSize"
@@ -21,7 +21,7 @@
21
21
  ref="u-rate__content__item__icon-wrap"
22
22
  @tap.stop="clickHandler($event, index + 1)"
23
23
  >
24
- <u-icon
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
- ></u-icon>
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
- <u-icon
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
- ></u-icon>
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
- .u-icon {
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
- <u-icon
36
+ <up-icon
37
37
  :color="color"
38
38
  :size="fontSize + 2"
39
39
  :name="status === 'close' ? 'arrow-down' : 'arrow-up'"
40
- ></u-icon>
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
- <u-icon
11
+ <up-icon
12
12
  :name="icon"
13
13
  :color="color"
14
14
  size="19"
15
- ></u-icon>
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
- <u-icon
38
+ <up-icon
39
39
  v-if="mode === 'link'"
40
40
  name="arrow-right"
41
41
  :size="17"
42
42
  :color="color"
43
- ></u-icon>
44
- <u-icon
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
- ></u-icon>
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
- <u-icon
24
+ <up-icon
25
25
  @tap="clickIcon"
26
26
  :size="searchIconSize"
27
27
  :name="searchIcon"
28
28
  :color="searchIconColor ? searchIconColor : color"
29
- ></u-icon>
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
- <u-icon
61
+ <up-icon
62
62
  name="close"
63
63
  size="11"
64
64
  color="#ffffff"
65
65
  customStyle="line-height: 12px"
66
- ></u-icon>
66
+ ></up-icon>
67
67
  </view>
68
68
  <slot name="inputRight"></slot>
69
69
  </view>
@@ -11,7 +11,7 @@
11
11
  </text>
12
12
  </slot>
13
13
  <slot name="icon">
14
- <u-icon name="arrow-down" :size="iconSize" :color="iconColor"></u-icon>
14
+ <up-icon name="arrow-down" :size="iconSize" :color="iconColor"></up-icon>
15
15
  </slot>
16
16
  </view>
17
17
  <u-overlay
@@ -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
- <u-icon :name="index <= parentData.current ? parentData.activeIcon : parentData.inactiveIcon"
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
- </u-icon>
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
- <u-icon v-else :color="statusClass === 'error' ? 'error' : parentData.activeColor" size="12"
29
- :name="statusClass === 'error' ? 'close' : 'checkmark'"></u-icon>
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
- <u-icon v-if="item.icon" :name="item.icon"
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
- }"></u-icon>
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
- <u-icon
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
- ></u-icon>
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
- <u-icon
27
+ <up-icon
28
28
  v-else
29
29
  :color="elIconColor"
30
30
  :name="icon"
31
31
  :size="iconSize"
32
- ></u-icon>
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
- <u-icon
66
+ <up-icon
67
67
  name="close"
68
68
  :size="closeSize"
69
69
  color="#ffffff"
70
- ></u-icon>
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
- <u-icon
16
+ <up-icon
17
17
  :name="prefixIcon"
18
18
  :customStyle="addStyle(iconStyle)"
19
- ></u-icon>
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
- <u-icon
62
+ <up-icon
63
63
  :name="suffixIcon"
64
64
  :customStyle="addStyle(iconStyle)"
65
- ></u-icon>
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
- <u-icon
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
- ></u-icon>
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-u-icon:10rpx !default;
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;