提交 a64886bd 编写于 作者: DCloud-yyl's avatar DCloud-yyl

修复顶部无法横向滚动的问题

上级 7575c454
......@@ -7,7 +7,7 @@
<view class="swiper-list">
<scroll-view ref="tabScroll" class="swiper-tabs" :scroll-x="true" :show-scrollbar="false">
<!-- TODO 多一层 view -->
<view>
<view style="align-self: flex-start; align-items: flex-start;">
<view class="flex-row">
<text ref="swipertab" class="swiper-tabs-item" :class="swiperIndex==index ? 'swiper-tabs-item-active' : ''"
v-for="(item, index) in swiperList" :key="index" @click="onTabClick(index)">
......@@ -269,4 +269,4 @@
.swiper-item {
flex: 1;
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册