feat: fix user boughts

This commit is contained in:
Rogee
2025-04-30 21:44:18 +08:00
parent 9c88b14202
commit 53b3556ee9
6 changed files with 11 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ const switchTab = (index, route) => {
<nav class="flex-none bg-white border-t border-gray-200">
<div class="flex justify-around items-center h-14">
<button v-for="(tab, index) in tabs" :key="index"
<div v-for="(tab, index) in tabs" :key="index"
class="flex flex-col items-center justify-center w-full h-full py-1 focus:outline-none" :class="[
activeTab === index
? 'text-blue-600'
@@ -38,7 +38,7 @@ const switchTab = (index, route) => {
]" @click="switchTab(index, tab.route)">
<component :is="tab.icon" class="w-6 h-6" />
<span class="mt-1 text-xs">{{ tab.label }}</span>
</button>
</div>
</div>
</nav>
</div>