uview-plus 3.2.12 → 3.2.14

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,13 @@
1
+ ## 3.2.14(2024-04-24)
2
+ 去除pleaseSetTranspileDependencies
3
+
4
+ http采用useStore
5
+
6
+ ## 3.2.13(2024-04-22)
7
+ 修复modal标题样式
8
+
9
+ 优化日期选择器hasInput模式宽度
10
+
1
11
  ## 3.2.12(2024-04-22)
2
12
  修复color应用
3
13
  ## 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"
@@ -250,7 +250,7 @@
250
250
  value: selectValue,
251
251
  // #ifndef MP-WEIXIN
252
252
  // 微信小程序不能传递this实例,会因为循环引用而报错
253
- picker: this.$refs.picker,
253
+ // picker: this.$refs.picker,
254
254
  // #endif
255
255
  mode: this.mode
256
256
  })
@@ -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;
@@ -172,7 +172,7 @@ export default {
172
172
  this.$emit('change', {
173
173
  // #ifndef MP-WEIXIN || MP-LARK
174
174
  // 微信小程序不能传递this,会因为循环引用而报错
175
- picker: this,
175
+ // picker: this,
176
176
  // #endif
177
177
  value: this.innerColumns.map((item, index) => item[value[index]]),
178
178
  index,
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // 看到此报错,是因为没有配置vite.config.js的【transpileDependencies】
2
- const pleaseSetTranspileDependencies = {}, babelTest = pleaseSetTranspileDependencies?.test
2
+ // const pleaseSetTranspileDependencies = {}, babelTest = pleaseSetTranspileDependencies?.test
3
3
 
4
4
  // 引入全局mixin
5
5
  import mixin from './libs/mixin/mixin.js'
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.14",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",