在iphone6 手机上wxss崩溃的问题
发布于 5 年前 作者 xiuyingchang 1639 次浏览 来自 问答

就是在其他手机上都没有问题都是这样显示的

唯独在iphone6手机上

显示出来是这样的

<!–技师列表–>

<view class=“main-content bbe” wx:if="{{technicianArr.length}}">

<swiper class=“technicia-swiper” autoplay=‘true’ interval=‘3000’ duration=‘500’ circular=‘ture’ display-multiple-items=‘3’ skip-hidden-item-layout=‘true’>

<swiper-item wx:for="{{technicianArr}}" wx:key="{{item.id}}">

<navigator url="…/technician/tecDetails?id={{item.id}}" hover-class=“none”>

<view class=“technicia-view”>

<image src="{{imgIp + item.imgUrl}}" class=“technicia-image”/>

<view class=“tc”><text class=“little-text”>{{item.name}}</text></view>

<view class=“tc technicia-level”>{{item.levelName}}</view>

<view class=“tc”>

<text  class=“little-text” style=‘font-size:26rpx;’>赞 {{item.likeNumber}}</text>

</view>

</view>

</navigator>  

</swiper-item>

<swiper-item wx:if="{{technicianArr.length<2}}"></swiper-item>

<swiper-item wx:if="{{technicianArr.length<3}}"></swiper-item>

</swiper>

</view>

</view>

/*技师列表*/

.technicia-swiper{

width: 100%;

height: 320rpx;

}

.technicia-view{

width: 100%;

}

.technicia-image{

width: 80%;

margin: 5% 10%;

height: 180rpx;

border-radius: 50%;

}

.technicia-level{

color: grey;

text-align: center;

margin: 0 20%;

border: 2rpx solid #eee;

font-size:20rpx;

width: 60%;

border-radius: 50rpx;

}

求解

是兼容性问题还是我写的代码问题

或者说是iphone6某个版本下的问题?????

求各位大神解答

1 回复

没有官方热心的前辈指导一下吗?

完全懵逼,现在也很着急

回到顶部