feat: 首页改版
This commit is contained in:
@@ -162,11 +162,6 @@ export default {
|
||||
// #endif
|
||||
},
|
||||
beforeUnmount() {
|
||||
if (this.panelVisible) {
|
||||
try {
|
||||
uni.showTabBar({ animation: false });
|
||||
} catch (e) {}
|
||||
}
|
||||
uni.$off("qiaobao-visibility-change", this.handleVisibilityChange);
|
||||
// #ifdef H5
|
||||
window.removeEventListener("mousemove", this.handleMouseDragMove);
|
||||
@@ -382,17 +377,11 @@ export default {
|
||||
this.showBubble = false;
|
||||
this.panelVisible = true;
|
||||
this.action = "blink";
|
||||
try {
|
||||
uni.hideTabBar({ animation: false });
|
||||
} catch (e) {}
|
||||
this.$emit("open", this.currentPageKey);
|
||||
},
|
||||
closeHelp() {
|
||||
this.panelVisible = false;
|
||||
this.action = "idle";
|
||||
try {
|
||||
uni.showTabBar({ animation: false });
|
||||
} catch (e) {}
|
||||
this.$emit("close", this.currentPageKey);
|
||||
},
|
||||
openHideMenu() {
|
||||
@@ -417,11 +406,6 @@ export default {
|
||||
collapseToEdge(edge = getQiaobaoDockEdge()) {
|
||||
this.collapsedEdge = edge === "left" ? "left" : "right";
|
||||
this.collapsed = true;
|
||||
if (this.panelVisible) {
|
||||
try {
|
||||
uni.showTabBar({ animation: false });
|
||||
} catch (e) {}
|
||||
}
|
||||
this.panelVisible = false;
|
||||
this.showBubble = false;
|
||||
this.action = "idle";
|
||||
|
||||
Reference in New Issue
Block a user