uview-plus 3.2.12 → 3.2.13

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,8 @@
1
+ ## 3.2.13(2024-04-22)
2
+ 修复modal标题样式
3
+
4
+ 优化日期选择器hasInput模式宽度
5
+
1
6
  ## 3.2.12(2024-04-22)
2
7
  修复color应用
3
8
  ## 3.2.11(2024-04-18)
@@ -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
- <slot name="right-icon">
34
- <u-icon v-if="rightIcon" :name="rightIcon" :custom-style="rightIconStyle" :color="disabled ? '#c8c9cc' : 'info'"
35
- :size="size === 'large' ? 18 : 16"></u-icon>
33
+ <u-icon v-if="rightIcon && !$slots['right-icon']" :name="rightIcon" :custom-style="rightIconStyle" :color="disabled ? '#c8c9cc' : 'info'"
34
+ :size="size === 'large' ? 18 : 16"></u-icon>
35
+ <slot v-else name="right-icon">
36
36
  </slot>
37
37
  </view>
38
38
  <view class="u-cell__right-icon-wrap" v-if="$slots['righticon']"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <view v-if="hasInput">
2
+ <view v-if="hasInput" class="u-datetime-picker">
3
3
  <u-input
4
4
  :placeholder="placeholder"
5
5
  border="surround"
@@ -443,4 +443,7 @@
443
443
 
444
444
  <style lang="scss" scoped>
445
445
  @import '../../libs/css/components.scss';
446
+ .u-datetime-picker {
447
+ width: 100%;
448
+ }
446
449
  </style>
@@ -173,6 +173,7 @@
173
173
  overflow: hidden;
174
174
 
175
175
  &__title {
176
+ display: block;
176
177
  font-size: 16px;
177
178
  font-weight: bold;
178
179
  color: $u-content-color;
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.2.12",
5
+ "version": "3.2.13",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",