IPHONE6真机测试跟线上样式出现差异
上面找攻略几个字在线上版本中掉下来了,但是采用开发环境测试没有问题,是display:flex 支持的有问题么?
<view class=“searchbar_label”>
<icon type=“search” size=“14” class=“searchbar_icon” />
<view>找攻略</view>
</view>
.searchbar_label {
border-radius: 8rpx;
background: #fff;
color: #b2b2b2;
font-size: 14px;
height: 56rpx;
line-height: 1;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.searchbar_icon {
margin: 0 10rpx 0 0;
width: 14px;
height: 14px;
}