t-button in navbar

This commit is contained in:
Timi
2026-10-22 17:58:35 +08:00
parent 6efc6f02d6
commit a69f2e17fa
53 changed files with 320 additions and 307 deletions
+8 -2
View File
@@ -12,9 +12,15 @@
:max-count="99"
:show-zero="false"
>
<button class="nav-action nav-action-icon" type="button" aria-label="通知" @click="router.push('/notify')">
<t-button
aria-label="通知"
@click="router.push('/notify')"
theme="default"
variant="text"
size="small"
>
<t-icon name="notification" size="1.25rem" />
</button>
</t-button>
</t-badge>
</template>
</t-navbar>
+5 -4
View File
@@ -1,14 +1,15 @@
<template>
<t-navbar fixed :z-index="20" title="门店">
<template #right>
<button
class="nav-action nav-action-icon"
type="button"
<t-button
aria-label="刷新"
@click="refreshCharts"
theme="default"
variant="text"
size="small"
>
<t-icon name="refresh" size="1.25rem" />
</button>
</t-button>
</template>
</t-navbar>
<main class="page-content scroll column store-tab">