uview-plus 3.3.11 → 3.3.12
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 +5 -0
- package/components/u-steps-item/u-steps-item.vue +2 -2
- package/index.js +3 -3
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:class="[`u-steps-item__line--${parentData.direction}`]" :style="[lineStyle]"></view>
|
|
5
5
|
<view class="u-steps-item__wrapper"
|
|
6
6
|
:class="[`u-steps-item__wrapper--${parentData.direction}`, parentData.dot && `u-steps-item__wrapper--${parentData.direction}--dot`]"
|
|
7
|
-
:style="[
|
|
7
|
+
:style="[itemStyleInner]">
|
|
8
8
|
<slot name="icon">
|
|
9
9
|
<view class="u-steps-item__wrapper__dot" v-if="parentData.dot" :style="{
|
|
10
10
|
backgroundColor: statusColor
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
.current ? this.parentData.activeColor : this.parentData.inactiveColor
|
|
118
118
|
return style
|
|
119
119
|
},
|
|
120
|
-
|
|
120
|
+
itemStyleInner() {
|
|
121
121
|
return {
|
|
122
122
|
...this.itemStyle
|
|
123
123
|
}
|
package/index.js
CHANGED
|
@@ -77,11 +77,11 @@ const $u = {
|
|
|
77
77
|
platform
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
// $u挂载到uni对象上
|
|
81
|
-
uni.$u = $u
|
|
82
|
-
|
|
83
80
|
const install = (Vue) => {
|
|
84
81
|
// 同时挂载到uni和Vue.prototype中
|
|
82
|
+
// $u挂载到uni对象上
|
|
83
|
+
uni.$u = $u
|
|
84
|
+
|
|
85
85
|
// #ifndef APP-NVUE
|
|
86
86
|
// 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
|
|
87
87
|
Vue.config.globalProperties.$u = $u
|