scroll-view设置enhanced,show-scrollbar为true滚动条还是不显示?
<view class="section">
<view class="section__title">滴滴出行横向滚动</view>
<scroll-view scroll-x style="width: 400rpx;" show-scrollbar="true" enhanced="true">
<view style="display: flex;flex-direction: row;">
<view style="margin-right:10px;border:1px solid blue;padding:20px;">快车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">单车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">出租车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">礼橙专车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">公交</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">代驾</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">豪华车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">安全须知</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">小桔租车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">顺风车</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">关爱出行</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">车生活</view>
<view style="margin-right:10px;border:1px solid blue;padding:20px;">金融服务</view>
</view>
</scroll-view>
</view>
如上图,滚动条不显示。