components/TopBar.vue
@@ -1,5 +1,5 @@ <template> <view class="top-bar" :style="{paddingTop: statusBarHeight + 'px'}"> <view class="top-bar" :style="{paddingTop: statusBarHeight + 'rpx'}"> <view class="top-bar-content"> <!-- 标题列表 --> <scroll-view class="title-scroll" scroll-x="true" scroll-with-animation :scroll-left="scrollLeft">