修复SmartOPs按钮失效问题
This commit is contained in:
parent
ea21c579c8
commit
255e590278
|
|
@ -102,6 +102,10 @@
|
|||
color: var(--brand-primary, #0ea5e9);
|
||||
}
|
||||
|
||||
.nav-item-clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-item.active {
|
||||
background: rgba(14, 165, 233, 0.1);
|
||||
color: var(--brand-primary, #0ea5e9);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,13 @@
|
|||
</template>
|
||||
<template v-if="isTPA">
|
||||
<div class="nav-group">
|
||||
<div :class="['nav-item', { active: isActiveParent('/dashboard/smart-ops') }]">
|
||||
<div
|
||||
:class="['nav-item', 'nav-item-clickable', { active: isActiveParent('/dashboard/smart-ops') }]"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@click="router.push('/dashboard/smart-ops/quote-tasks')"
|
||||
@keydown.enter="router.push('/dashboard/smart-ops/quote-tasks')"
|
||||
>
|
||||
<span class="nav-icon">📑</span>
|
||||
<span v-show="sidebarOpen" class="nav-text">Smart-OPS</span>
|
||||
</div>
|
||||
|
|
@ -57,7 +63,13 @@
|
|||
</RouterLink>
|
||||
</template>
|
||||
<div class="nav-group">
|
||||
<div :class="['nav-item', { active: isActiveParent('/dashboard/tools') }]">
|
||||
<div
|
||||
:class="['nav-item', 'nav-item-clickable', { active: isActiveParent('/dashboard/tools') }]"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@click="router.push('/dashboard/tools/premium-calculator')"
|
||||
@keydown.enter="router.push('/dashboard/tools/premium-calculator')"
|
||||
>
|
||||
<span class="nav-icon">🛠️</span>
|
||||
<span v-show="sidebarOpen" class="nav-text">智能工具</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue