mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-04 16:50:27 +00:00
add title and change style for items page
This commit is contained in:
parent
110e4810d0
commit
033068af62
1 changed files with 5 additions and 4 deletions
|
@ -362,6 +362,7 @@
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BaseContainer v-if="item" class="pb-8">
|
<BaseContainer v-if="item" class="pb-8">
|
||||||
|
<Title>{{ item.name }}</Title>
|
||||||
<dialog ref="refDialog" class="z-[999] fixed bg-transparent">
|
<dialog ref="refDialog" class="z-[999] fixed bg-transparent">
|
||||||
<div ref="refDialogBody" class="relative">
|
<div ref="refDialogBody" class="relative">
|
||||||
<div class="absolute right-0 -mt-3 -mr-3 sm:-mt-4 sm:-mr-4 space-x-1">
|
<div class="absolute right-0 -mt-3 -mr-3 sm:-mt-4 sm:-mr-4 space-x-1">
|
||||||
|
@ -403,14 +404,14 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</BaseSectionHeader>
|
</BaseSectionHeader>
|
||||||
<div class="flex flex-wrap items-center justify-between mb-6">
|
<div class="flex flex-wrap items-center justify-between mb-6 mt-3">
|
||||||
<div class="tabs">
|
<div class="btn-group">
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
v-for="t in tabs"
|
v-for="t in tabs"
|
||||||
:key="t.id"
|
:key="t.id"
|
||||||
:to="t.to"
|
:to="t.to"
|
||||||
class="tab tab-bordered lg:tab-lg"
|
class="btn btn-sm"
|
||||||
:class="`${t.to === currentPath ? 'tab-active' : ''}`"
|
:class="`${t.to === currentPath ? 'btn-active' : ''}`"
|
||||||
>
|
>
|
||||||
{{ t.name }}
|
{{ t.name }}
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue