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
|
@@ -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
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
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>
|
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'
|