From e90aa60ec322d8683ee10bca58b306a2fb2efcfa Mon Sep 17 00:00:00 2001 From: hrx <18603305412@163.com> Date: Mon, 22 Jun 2026 11:41:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E4=BD=93=E5=95=86=E5=BA=97?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=A1=88=E4=BE=8B=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../homePage/agentStore/decisionCase.vue | 45 +++++++++++++++++-- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/f/web-kboss/src/views/homePage/agentStore/decisionCase.vue b/f/web-kboss/src/views/homePage/agentStore/decisionCase.vue index 725b133..244d9f9 100644 --- a/f/web-kboss/src/views/homePage/agentStore/decisionCase.vue +++ b/f/web-kboss/src/views/homePage/agentStore/decisionCase.vue @@ -6,7 +6,7 @@
- +

投策智能体

@@ -233,7 +233,8 @@ export default { mounted() { this.$nextTick(() => { const scroller = this.getScrollContainer() - this.tabsOriginTop = this.getElementTopInScroller(this.$refs.caseTabs, scroller) + this.resetScrollTop(scroller) + this.refreshTabsOrigin() scroller.addEventListener('scroll', this.handlePageScroll, { passive: true }) this.handlePageScroll() }) @@ -245,6 +246,18 @@ export default { getScrollContainer() { return document.getElementById('homeOut') || window }, + resetScrollTop(scroller) { + if (scroller === window) { + window.scrollTo(0, 0) + } else { + scroller.scrollTop = 0 + } + this.isTabsFixed = false + }, + refreshTabsOrigin() { + const scroller = this.getScrollContainer() + this.tabsOriginTop = this.getElementTopInScroller(this.$refs.caseTabs, scroller) + }, getScrollOffset() { const tabs = this.$el.querySelector('.case-tabs') const tabsHeight = tabs ? tabs.offsetHeight : 0 @@ -311,8 +324,34 @@ export default { box-sizing: border-box; } +.decision-case-page h1, +.decision-case-page h2, +.decision-case-page h3, +.decision-case-page h4, +.decision-case-page p { + padding: 0; + margin-top: 0; + font-family: inherit; +} + +.decision-case-page button { + font-family: inherit; + line-height: 1.5; + cursor: pointer; +} + +.decision-case-page svg { + display: block; +} + +.decision-case-page img { + display: block; + max-width: none; +} + .case-container { - width: min(100%, 1280px); + width: 100%; + max-width: 1280px; margin: 0 auto; padding: 0 24px; }