refactor: edit path
This commit is contained in:
parent
bfdd667702
commit
999fe6a30e
1 changed files with 11 additions and 0 deletions
|
|
@ -268,6 +268,10 @@ onMounted(async () => {
|
|||
<span
|
||||
class="text-caption cursor-pointer"
|
||||
@click="item.handler?.()"
|
||||
:class="{
|
||||
'text-info': i !== utilsStore.currentTitle.path.length - 1,
|
||||
'hover-item': i !== utilsStore.currentTitle.path.length - 1,
|
||||
}"
|
||||
>
|
||||
{{
|
||||
item.text
|
||||
|
|
@ -278,6 +282,9 @@ onMounted(async () => {
|
|||
}}
|
||||
</span>
|
||||
<q-icon
|
||||
:class="{
|
||||
'text-info': i !== utilsStore.currentTitle.path.length - 1,
|
||||
}"
|
||||
name="mdi-chevron-right"
|
||||
v-if="i + 1 !== utilsStore.currentTitle.path.length"
|
||||
/>
|
||||
|
|
@ -558,4 +565,8 @@ onMounted(async () => {
|
|||
:deep(main.q-page) {
|
||||
min-height: 0 !important;
|
||||
}
|
||||
|
||||
.hover-item:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue