修复删除asinBUG

This commit is contained in:
super
2026-06-11 20:37:05 +08:00
parent c9efdf8b0e
commit 17236265c6
3 changed files with 66 additions and 45 deletions

View File

@@ -9,27 +9,14 @@
</div>
<nav v-if="showNav" class="nav-sections" aria-label="顶部功能导航">
<section
v-for="group in visibleNavGroups"
:key="group.columnKey"
class="nav-section"
>
<section v-for="group in visibleNavGroups" :key="group.columnKey" class="nav-section">
<div class="nav-section-title">{{ group.label }}</div>
<div class="nav-section-items">
<template v-for="item in group.items" :key="item.key">
<a
v-if="item.href"
:href="item.href"
class="nav-item"
:class="{ active: active === item.key }"
>
<a v-if="item.href" :href="item.href" class="nav-item" :class="{ active: active === item.key }">
{{ item.label }}
</a>
<span
v-else
class="nav-item disabled"
:class="{ active: active === item.key }"
>
<span v-else class="nav-item disabled" :class="{ active: active === item.key }">
{{ item.label }}
</span>
</template>
@@ -104,7 +91,7 @@ const navGroups: ReadonlyArray<NavGroup> = [
label: '前端工具',
items: [
{ key: 'collect-data', label: '采集数据', href: '/new_web_source/collect-data.html' },
{ key: 'image-video', label: '视频', href: '/new_web_source/image-video.html' },
// { key: 'image-video', label: '视频', href: '/new_web_source/image-video.html' },
{ key: 'variant', label: '变体分析' },
{ key: 'brand', label: '品牌检测', href: '/brand' },
{ key: 'appearance-patent', label: '外观专利检测', href: '/new_web_source/appearance-patent.html' },
@@ -245,7 +232,7 @@ onMounted(async () => {
position: relative;
}
.nav-section + .nav-section::before {
.nav-section+.nav-section::before {
content: '';
position: absolute;
left: 0;
@@ -337,7 +324,7 @@ onMounted(async () => {
padding: 0;
}
.nav-section + .nav-section::before {
.nav-section+.nav-section::before {
display: none;
}