uview-plus 3.1.1 → 3.1.6
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 +10 -0
- package/components/u--text/u--text.vue +1 -2
- package/components/u-button/u-button.vue +2 -0
- package/components/u-calendar/util.js +1 -0
- package/components/u-icon/u-icon.vue +1 -0
- package/components/u-tabbar/u-tabbar.vue +1 -0
- package/components/u-tabbar-item/u-tabbar-item.vue +4 -2
- package/components/u-tabs/u-tabs.vue +1 -0
- package/components/u-text/u-text.vue +1 -0
- package/components/u-transition/{nvue.ani-map.js → nvue-ani-map.js} +0 -0
- package/components/u-transition/transition.js +3 -1
- package/libs/config/config.js +1 -1
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 3.1.6(2022-08-25)
|
|
2
|
+
修复微信小程序下tabbar样式问题
|
|
3
|
+
## 3.1.5(2022-08-24)
|
|
4
|
+
修复icon/text/tabs点击事件执行两次
|
|
5
|
+
## 3.1.4(2022-08-20)
|
|
6
|
+
修复button组件点击事件执行两次
|
|
7
|
+
## 3.1.3(2022-08-11)
|
|
8
|
+
修复小程序报错Generated an empty chunk,修复示例工程引入request参数配置无效。
|
|
9
|
+
## 3.1.2(2022-08-09)
|
|
10
|
+
修复示例项目对request的调用引入
|
|
1
11
|
## 3.1.1(2022-08-07)
|
|
2
12
|
折叠面板在小程序会报'setContentAnimate' of undefined
|
|
3
13
|
## 3.1.0(2022-08-07)
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
:align="align"
|
|
23
23
|
:wordWrap="wordWrap"
|
|
24
24
|
:customStyle="customStyle"
|
|
25
|
-
@click="$emit('click')"
|
|
26
25
|
></uvText>
|
|
27
26
|
</template>
|
|
28
27
|
|
|
@@ -38,7 +37,7 @@ import mpMixin from '../../libs/mixin/mpMixin.js'
|
|
|
38
37
|
import mixin from '../../libs/mixin/mixin.js'
|
|
39
38
|
export default {
|
|
40
39
|
name: "u--text",
|
|
41
|
-
mixins: [mpMixin, mixin, props,],
|
|
40
|
+
mixins: [mpMixin, mixin, props,],
|
|
42
41
|
components: {
|
|
43
42
|
uvText,
|
|
44
43
|
},
|
|
@@ -114,12 +114,13 @@
|
|
|
114
114
|
|
|
115
115
|
<style lang="scss" scoped>
|
|
116
116
|
@import "../../libs/css/components.scss";
|
|
117
|
-
|
|
118
117
|
.u-tabbar-item {
|
|
119
118
|
@include flex(column);
|
|
120
119
|
align-items: center;
|
|
121
120
|
justify-content: center;
|
|
122
121
|
flex: 1;
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 100%;
|
|
123
124
|
|
|
124
125
|
&__icon {
|
|
125
126
|
@include flex;
|
|
@@ -138,7 +139,8 @@
|
|
|
138
139
|
/* #ifdef MP */
|
|
139
140
|
// 由于小程序都使用shadow DOM形式实现,需要给影子宿主设置flex: 1才能让其撑开
|
|
140
141
|
:host {
|
|
141
|
-
flex: 1
|
|
142
|
+
flex: 1;
|
|
143
|
+
width: 100%;
|
|
142
144
|
}
|
|
143
145
|
/* #endif */
|
|
144
146
|
</style>
|
|
File without changes
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
|
|
2
2
|
const nextTick = () => new Promise(resolve => setTimeout(resolve, 1000 / 50))
|
|
3
3
|
// nvue动画模块实现细节抽离在外部文件
|
|
4
|
-
|
|
4
|
+
// #ifdef APP-NVUE
|
|
5
|
+
import animationMap from './nvue-ani-map.js'
|
|
6
|
+
// #endif
|
|
5
7
|
|
|
6
8
|
// #ifndef APP-NVUE
|
|
7
9
|
// 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
|
package/libs/config/config.js
CHANGED