diff --git a/src/views/Brand/Brand.vue b/src/views/Brand/Brand.vue index e002e4b..21787e3 100644 --- a/src/views/Brand/Brand.vue +++ b/src/views/Brand/Brand.vue @@ -150,7 +150,7 @@ getBrandInfo().then(({ data }) => { //切换业态和字母按钮组 function changeType(item: any) { currentTypeId.value = item.order - formatIdx.value = 0 + resetIdx() shopScroll.value?.scrollTo(0, 0) copyShopList.value = [{ name: '1', shopList: [...shopList.value] }] } diff --git a/src/views/Nav/Nav.vue b/src/views/Nav/Nav.vue index 9799b3b..060fc1d 100644 --- a/src/views/Nav/Nav.vue +++ b/src/views/Nav/Nav.vue @@ -407,6 +407,9 @@ watch(shop, newVal => { top: 299px; left: 48px; z-index: 1; + .dir-container { + overflow: hidden; + } .di-icon { max-width: 180px; } @@ -513,6 +516,7 @@ watch(shop, newVal => { .dir-container { display: flex; align-items: flex-end; + overflow: hidden; .go-container { font-size: 48px; font-family: 'font_bold';