1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="mobile-bottom-nav" :class="{ 'scrollable': navItems.length > 5 }" v-if="isMobile && show">
|
||||
<div
|
||||
v-for="item in navItems"
|
||||
:key="item.path"
|
||||
:key="item.path || item.label || item.icon"
|
||||
class="nav-item"
|
||||
:class="{ 'active': isActive(item.path) }"
|
||||
@click="handleNavClick(item)"
|
||||
@@ -148,7 +148,7 @@ export default {
|
||||
background: #fff;
|
||||
border-top: 1px solid #e4e7ed;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
|
||||
@@ -164,6 +164,10 @@ export default {
|
||||
}
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
|
||||
&.scrollable {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
flex: 0 0 auto;
|
||||
|
||||
Reference in New Issue
Block a user