t-button in navbar
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user