uview-plus 3.4.62 → 3.4.63

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,6 @@
1
+ ## 3.4.63(2025-07-24)
2
+ feat: count-down支持slot传递时间参数
3
+
1
4
  ## 3.4.62(2025-07-24)
2
5
  feat: divider支持默认插槽
3
6
 
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <view class="u-count-down">
3
- <slot>
3
+ <slot :days="timeData.days" :hours="timeData.hours"
4
+ :minutes="timeData.minutes" :seconds="timeData.seconds">
4
5
  <text class="u-count-down__text">{{ formattedTime }}</text>
5
6
  </slot>
6
7
  </view>
@@ -112,6 +113,7 @@
112
113
  this.remainTime = remain
113
114
  // 根据剩余的毫秒时间,得出该有天,小时,分钟等的值,返回一个对象
114
115
  const timeData = parseTimeData(remain)
116
+ this.timeData = timeData;
115
117
  this.$emit('change', timeData)
116
118
  // 得出格式化后的时间
117
119
  this.formattedTime = parseFormat(this.format, timeData)
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.62",
5
+ "version": "3.4.63",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",