Skip to content

Commit a7512ba

Browse files
committed
修复商城首页,快捷入口的图标宽高不一致的问题
1 parent 5002fc5 commit a7512ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/views/mall/home/components/ShortcutCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
class="h-20 w-20% flex flex-col cursor-pointer items-center justify-center gap-2"
1111
@click="handleMenuClick(menu.routerName)"
1212
>
13-
<div :class="menu.bgColor" class="rounded p-3 text-white">
13+
<div
14+
:class="menu.bgColor"
15+
class="h-48px w-48px flex items-center justify-center rounded text-white"
16+
>
1417
<Icon :icon="menu.icon" class="text-7.5!" />
1518
</div>
1619
<span>{{ menu.name }}</span>

0 commit comments

Comments
 (0)