uview-plus 3.4.1 → 3.4.2

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,4 +1,4 @@
1
- ## 3.4.1(2025-03-08
1
+ ## 3.4.1(2025-03-11
2
2
  feat: 新机制确保setConfig与http在nvue等环境下生效
3
3
 
4
4
  ## 3.3.74(2025-03-06)
@@ -30,16 +30,23 @@
30
30
  </view>
31
31
  </slot>
32
32
  </view>
33
- <view class="u-steps-item__content" :class="[`u-steps-item__content--${parentData.direction}`]"
34
- :style="[contentStyle]">
35
- <slot name="content">
36
- </slot>
33
+ <view class="u-steps-item__content" :class="[`u-steps-item__content--${parentData.direction}`,
34
+ parentData.current == index ? 'u-steps-item__content--current' : '']"
35
+ :style="[contentStyle]">
36
+ <slot name="content" :index="index">
37
+ </slot>
37
38
  <template v-if="!$slots['content']">
38
- <up-text :text="title" :type="parentData.current == index ? 'main' : 'content'" lineHeight="20px"
39
- :size="parentData.current == index ? 14 : 13"></up-text>
40
- <slot name="desc">
41
- <up-text :text="desc" type="tips" size="12"></up-text>
42
- </slot>
39
+ <view class="u-steps-item__content__title">
40
+ <slot name="title">
41
+ </slot>
42
+ <up-text v-if="!$slots['title']" :text="title" :type="parentData.current == index ? 'main' : 'content'" lineHeight="20px"
43
+ :size="parentData.current == index ? 14 : 13"></up-text>
44
+ </view>
45
+ <view class="u-steps-item__content__desc">
46
+ <slot name="desc">
47
+ </slot>
48
+ <up-text v-if="!$slots['desc']" :text="desc" type="tips" size="12"></up-text>
49
+ </view>
43
50
  </template>
44
51
  </view>
45
52
  <!-- <view
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.1",
5
+ "version": "3.4.2",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",
@@ -32,7 +32,7 @@
32
32
  "qq": "598821125"
33
33
  },
34
34
  "declaration": {
35
- "ads": "",
35
+ "ads": "请注意本插件开发文档包含弹窗广告每日展示一次,源码纯净无广告。",
36
36
  "data": "无",
37
37
  "permissions": "无"
38
38
  },