收藏
回答

view组件画大圆锯齿严重

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug View 微信安卓客户端 7.0.13.1640 2.11.0
<view class="r">
  <view class="c">
    <swiper indicator-dots="true" autoplay="true" interval="3000" duration="1000" indicator-active-color="white">   
    </swiper>
  </view>
</view>

 样式:

.r {
  position: relative;
  width100%;
  z-index1;
  height400rpx;
  background: white;
  overflow: hidden;
}
.c {
  margin-top: -4600rpx;
  margin-left: -2125rpx;
  width5000rpx;
  height5000rpx;
  border-radius2500rpx;
  background#87ceeb;
  z-index2;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

其中r是一个矩形,c是里面的圆形,通过将c在r底部居中来获得弧形。4月份的时候真机与模拟器都是正常的,但是最近真机上的弧形最近突然出现锯齿。

拟器:

真机:


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签