|
@@ -184,7 +184,7 @@ const onJumpTarget = (index, level3) => {
|
|
|
const el = document.getElementById(level3.code)
|
|
|
if (el) {
|
|
|
el.scrollIntoView({ behavior: 'smooth' })
|
|
|
- // const fixedNavHeight = document.querySelector('.fixed-nav') ? document.querySelector('.fixed-nav').offsetHeight : 48
|
|
|
+ // const fixedNavHeight = document.querySelector('.fixed-nav-new') ? document.querySelector('.fixed-nav-new').offsetHeight : 48
|
|
|
// const targetPosition = el.getBoundingClientRect().top + window.pageYOffset
|
|
|
// window.scrollTo({
|
|
|
// top: targetPosition,
|
|
@@ -336,7 +336,7 @@ const onKnowConfirm = () => {
|
|
|
<div class="tabs-panel">
|
|
|
<div
|
|
|
class="flex flex-(items-center) tab-panel-header"
|
|
|
- :class="{ 'fixed-nav': navFixed }"
|
|
|
+ :class="{ 'fixed-nav-new': navFixed }"
|
|
|
@mouseenter="showFloatMenu = true"
|
|
|
@mouseleave="showFloatMenu = false"
|
|
|
>
|
|
@@ -916,7 +916,7 @@ const onKnowConfirm = () => {
|
|
|
.tab-item-active{
|
|
|
color: $color_main;
|
|
|
}
|
|
|
- .fixed-nav {
|
|
|
+ .fixed-nav-new {
|
|
|
position: fixed;
|
|
|
top: 52px;
|
|
|
width: calc(1200px - 280px);
|