问题模块 框架类型 问题类型 操作系统版本 手机型号 微信版本
客户端 微信小程序 Bug 多个版本 多个型号 多个版本
canvas样式 overflow:hidden 在开发者工具上是可以的,在真机上运行超出部分就会显示,把overflow属性加给canvas或者其父元素都不可以。
模拟器效果图和真机效果图


wxml和wxss 截图如下


代码片段
wechatide://minicode/lqMx4cmM7y3y
微信小程序开发问题解答
微信小程序开发者回答:
,文档:
https://developers.weixin.qq.com/miniprogram/dev/component/native-component.html
微信小程序开发者回答:
我如果想把这个裁剪成圆形,还有其它的解决方案没有
微信小程序开发者回答:
https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html, 
微信小程序开发者回答:
能不能麻烦改写下我的那个代码片段,我改了几遍测试还是不正确,谢谢了
本文网址:http://www.91bianli.com/kaifazhinan/78476.html