hookehuyr

style(AppTabbar): 调整App标签栏的水平内边距

优化标签栏布局间距,统一左右侧边内边距
...@@ -59,7 +59,7 @@ const defaultIcon = 'fa-circle-o' ...@@ -59,7 +59,7 @@ const defaultIcon = 'fa-circle-o'
59 const scrollHintStorageKey = 'app_tabbar_scroll_hint_seen_v1' 59 const scrollHintStorageKey = 'app_tabbar_scroll_hint_seen_v1'
60 const scrollHintOffset = 56 60 const scrollHintOffset = 56
61 const scrollableItemWidth = 168 61 const scrollableItemWidth = 168
62 -const scrollableSidePadding = 60 62 +const scrollableSidePadding = 48
63 63
64 const tabbarStore = useTabbarStore() 64 const tabbarStore = useTabbarStore()
65 const tabItems = computed(() => tabbarStore.visibleTabItems) 65 const tabItems = computed(() => tabbarStore.visibleTabItems)
...@@ -226,7 +226,7 @@ onBeforeUnmount(() => { ...@@ -226,7 +226,7 @@ onBeforeUnmount(() => {
226 .app-tabbar__content { 226 .app-tabbar__content {
227 display: flex; 227 display: flex;
228 align-items: stretch; 228 align-items: stretch;
229 - padding: 16rpx 28rpx 16rpx 52rpx; 229 + padding: 16rpx 24rpx;
230 box-sizing: border-box; 230 box-sizing: border-box;
231 } 231 }
232 232
......