代码如下:
<scroll-view class="top-tab" :style="swiperTop" :scroll-left="scrollLeft" scroll-with-animation="true" scroll-x="true" show-scrollbar="false">
<block v-for="(item,index) in tabList" :key="index">
<view class="tab-item" v-bind:id="'tabNum'+index" @click="swichTab(index)">
<view :class="[curTab == index ? 'item-on' : 'item']">
<view class="item-txt">{{item.name}}</view>
<view class="cur-line"></view>
</view>
</view>
</block>
<view class="tab-item tab-item-more" @click="gotoCategory()">
更多
</view>
</scroll-view>
1***@qq.com
scroll-view 在android 上无法显示滚动条怎么回事呢
2020-07-29 14:30
6***@qq.com
那在Vue页面如何取消滚动条呢
2020-12-10 10:43
5***@qq.com
回复 6***@qq.com: 解决了吗?
2020-12-17 09:17