feat: 首页改版

This commit is contained in:
2026-08-25 17:52:05 +08:00
parent d65083aa51
commit d5253e3202
15 changed files with 1014 additions and 644 deletions
@@ -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";