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
|
<span
|
||||||
class="text-caption cursor-pointer"
|
class="text-caption cursor-pointer"
|
||||||
@click="item.handler?.()"
|
@click="item.handler?.()"
|
||||||
|
:class="{
|
||||||
|
'text-info': i !== utilsStore.currentTitle.path.length - 1,
|
||||||
|
'hover-item': i !== utilsStore.currentTitle.path.length - 1,
|
||||||
|
}"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
item.text
|
item.text
|
||||||
|
|
@ -278,6 +282,9 @@ onMounted(async () => {
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
<q-icon
|
<q-icon
|
||||||
|
:class="{
|
||||||
|
'text-info': i !== utilsStore.currentTitle.path.length - 1,
|
||||||
|
}"
|
||||||
name="mdi-chevron-right"
|
name="mdi-chevron-right"
|
||||||
v-if="i + 1 !== utilsStore.currentTitle.path.length"
|
v-if="i + 1 !== utilsStore.currentTitle.path.length"
|
||||||
/>
|
/>
|
||||||
|
|
@ -558,4 +565,8 @@ onMounted(async () => {
|
||||||
:deep(main.q-page) {
|
:deep(main.q-page) {
|
||||||
min-height: 0 !important;
|
min-height: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hover-item:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue