收藏
回答

swiper组件滑动swiper-item之间有一条白线?

<view class="swiper-box">

<swiper indicator-dots="{{true}}" autoplay="{{true}}">

<swiper-item>

<view class="swiper-item-view">

<view class="swiper-item-title">xxxx</view>

<view class="swiper-item-user-info">

<view class="swiper-item-user-info-img"></view>

<view class="swiper-item-user-info-name"></view>

<view class="swiper-item-user-info-num"></view>

</view>

</view>

</swiper-item>

<swiper-item>

<view class="swiper-item-view">

<view class="swiper-item-title">xxxx</view>

<view class="swiper-item-user-info">

<view class="swiper-item-user-info-img"></view>

<view class="swiper-item-user-info-name"></view>

<view class="swiper-item-user-info-num"></view>

</view>

</view>

</swiper-item>

</swiper>

</view>

我调试过了,与<view class="swiper-item-title">xxxx</view>这个有关系,将这一行代码注释掉就没问题了,不知道为什么会出现这种情况

最后一次编辑于  2020-03-13
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签