uview-plus 3.4.59 → 3.4.62

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
@@ -1,3 +1,12 @@
1
+ ## 3.4.62(2025-07-24)
2
+ feat: divider支持默认插槽
3
+
4
+ ## 3.4.61(2025-07-24)
5
+ feat: divider支持默认插槽
6
+
7
+ ## 3.4.60(2025-07-23)
8
+ fix: 修复use阶段全局加载图标引起App端不明$page报错
9
+
1
10
  ## 3.4.59(2025-07-23)
2
11
  fix: 修复album组件和CateTab组件watch和emits重复
3
12
 
@@ -221,7 +221,7 @@
221
221
  style.opacity = 0.7
222
222
  }
223
223
  } else if (this.selected.length === 1) {
224
- // 之所以需要这么写,是因为DCloud公司的iOS客户端的开发者能力有限导致的bug
224
+ // 之所以需要这么写,是因为uni-app的iOS客户端的bug
225
225
  // 进行还原操作,否则在nvue的iOS,uni-app有bug,会导致诡异的表现
226
226
  style.borderTopLeftRadius = '3px'
227
227
  style.borderBottomLeftRadius = '3px'
@@ -14,11 +14,13 @@
14
14
  v-if="dot"
15
15
  class="u-divider__dot"
16
16
  >●</text>
17
- <text
18
- v-else-if="text"
19
- class="u-divider__text"
20
- :style="[textStyle]"
21
- >{{text}}</text>
17
+ <slot>
18
+ <text
19
+ v-if="!dot && text"
20
+ class="u-divider__text"
21
+ :style="[textStyle]"
22
+ >{{text}}</text>
23
+ </slot>
22
24
  <u-line
23
25
  :color="lineColor"
24
26
  :customStyle="rightLineStyle"
@@ -58,12 +58,12 @@ const loadFont = once(() => {
58
58
  }
59
59
  // #endif
60
60
  // #ifdef APP-NVUE
61
- if (this.customFontFamily) {
62
- domModule.addRule('fontFace', {
63
- 'fontFamily': `${this.customPrefix}-${this.customFontFamily}`,
64
- 'src': `url('${this.customFontUrl}')`
65
- })
66
- }
61
+ // if (this.customFontFamily) {
62
+ // domModule.addRule('fontFace', {
63
+ // 'fontFamily': `${this.customPrefix}-${this.customFontFamily}`,
64
+ // 'src': `url('${this.customFontUrl}')`
65
+ // })
66
+ // }
67
67
  // #endif
68
68
  return true;
69
69
  });
@@ -206,7 +206,7 @@ export default {
206
206
  if (this.border === "none") {
207
207
  style.padding = "0";
208
208
  } else {
209
- // 由于uni-app的iOS开发者能力有限,导致需要分开写才有效
209
+ // 由于uni-app的iOS端限制,导致需要分开写才有效
210
210
  style.paddingTop = "6px";
211
211
  style.paddingBottom = "6px";
212
212
  style.paddingLeft = "9px";
package/index.js CHANGED
@@ -125,9 +125,6 @@ const install = (Vue, upuiParams = '') => {
125
125
  Vue.component(name, component);
126
126
  });
127
127
  // #endif
128
-
129
- // 加载字体
130
- fontUtil.loadFont();
131
128
 
132
129
  // 初始化
133
130
  if (upuiParams) {
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.59",
5
+ "version": "3.4.62",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",