真机调试和微信开发者工具显示不一致
发布于 5 年前 作者 zhuqiang 13970 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

微信开发者工具上显示正常:

手机端(iphone7)显示不正常:

  • 预期表现

左上方的cover-view圆角不显示,字不居中

class:

.listButton{

position: absolute;

top: 0rpx;

width: 30%;

height: 6%;

background-color: black;

color: white;

display: flex;

justify-content: center;

align-items: center;

border-top-right-radius: 50rpx;

border-bottom-right-radius: 50rpx;

}

2 回复
  1. tip: 只支持基本的定位、布局、文本样式。不支持设置单边的borderbackground-imageshadowoverflow: visible等。

https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html#cover-image

回到顶部