diff --git a/App.uvue b/App.uvue
index d8f4b7963abad017c39dd98bd8a1e9286f05bd1c..2d86429bde4497deaea9f315daa0ca2b794f2eac 100644
--- a/App.uvue
+++ b/App.uvue
@@ -30,11 +30,10 @@ export default {
setLifeCycleNum(state.lifeCycleNum - 100)
console.log('App Hide')
},
- onLastPageBackPress: function (): boolean | null {
+ onLastPageBackPress: function () {
// 自动化测试
setLifeCycleNum(state.lifeCycleNum - 1000)
console.log('App LastPageBackPress')
- return null
},
methods: {
increasetLifeCycleNum() {
diff --git a/components/uni-collapse-item/uni-collapse-item.vue b/components/uni-collapse-item/uni-collapse-item.vue
index d590cf4e60051db1f933e31e9f6fbd5a89ba8537..9d0cca962d9990817519cd19116345e9fc037c22 100644
--- a/components/uni-collapse-item/uni-collapse-item.vue
+++ b/components/uni-collapse-item/uni-collapse-item.vue
@@ -67,11 +67,13 @@
oepnOrClose(open: boolean) {
const boxNode = this.boxNode?.style!;
const contentNode = this.contentNode?.style!;
- let hide = open ? 'flex' : 'none';
+ let hide = open ? 'flex' : 'none';
+ const opacity = open ? 1 : 0
let ani_transform = open ? 'translateY(0)' : 'translateY(-100%)';
boxNode.setProperty('display', hide);
this.$nextTick(() => {
- contentNode.setProperty('transform', ani_transform);
+ contentNode.setProperty('transform', ani_transform);
+ contentNode.setProperty('opacity', opacity);
})
}
}
@@ -130,6 +132,7 @@
width: 100%;
transition-property: transform;
transition-duration: 0.3s;
- transform: translateY(-100%);
+ transform: translateY(-100%);
+ opacity: 0;
}
\ No newline at end of file
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index 8b34ef970801315d572d77de23def8128d0696ba..6c79e7b64d008c15d273a964592e3961d892f44f 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -22,24 +22,6 @@
-
diff --git a/pages/tabBar/CSS.uvue b/pages/tabBar/CSS.uvue
index 4fed04ee1b77d2536302d38b7cab541a811a8b32..2ba813f04db4c75fcbf8205eb96da2f39a6888fa 100644
--- a/pages/tabBar/CSS.uvue
+++ b/pages/tabBar/CSS.uvue
@@ -1,14 +1,14 @@
-
-
-
-
-
-
-
- uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:
-
+
+
+
+
+
+
+
+ uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:
+
@@ -19,379 +19,327 @@
-
-
-
-
-
-
-
-
-
-
-
+ }
+
\ No newline at end of file
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 25917e3110a02ff601a95fa832699bf8be7210af..eb2b724092c16c70776c9386eff6af7f92c3d8f0 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -20,24 +20,6 @@
-
diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue
index 62424880292dfeb250f1f385e94914365341b8fc..abe82e9666aac3ae6591f043c25f138628385d41 100644
--- a/pages/tabBar/template.uvue
+++ b/pages/tabBar/template.uvue
@@ -40,7 +40,8 @@