个人案例
- text 标签设置 user-select 后 text-decoration 失效
text 标签设置 user-select 属性后 text-decoration 失效 <text style="text-decoration: line-through;">删除线</text> <text style="text-decoration: line-through;" user-select>删除线</text> 第一个显示正常,第二个没有删除线效果
2021-12-16 - 新版开发工具激励视频广告报错
最新稳定版开发工具打开含有激励视频的页面会报错(升级前还不会的,真机上也不会) [图片]
2020-05-29 - 真机 video 无法触发 error 事件
在 video 中随便填入一个 404 的链接,模拟器上可以正常触发 error 事件,但真机上没有触发 手机:华为 P10 Plus 相似问题: https://developers.weixin.qq.com/community/develop/doc/000a28ed21c9d0f37bf9f56de5b000?highLine=video%2520error%25E4%25B8%258D%25E8%25A7%25A6%25E5%258F%2591https://developers.weixin.qq.com/community/develop/doc/00002af4544db8644c1a723d551000?highLine=video%2520error%25E4%25B8%258D%25E8%25A7%25A6%25E5%258F%2591
2020-05-20 - 数据绑定中有连续 }} 会报错
数据绑定,绑定一个对象的时候,内部如果出现连续的 }} 就会报错,比如 <rich-text nodes="{{[{name:'img',attrs:{src:'xxx'}}]}}" />
2020-04-24 - previewImage 是不是支持 base64 了?
之前说 wx.previewImage 仅支持 http 链接,base64 在安卓真机上会一直转圈 https://developers.weixin.qq.com/community/develop/doc/0000461e82404822e6883b6af51000?highLine=previewImage%2520base64 刚才在 华为P10 Plus 上测试可以预览 base64 图片,是不是可以用了? wx.previewImage({ urls: ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMoAAABCCAYAAAAWhkkdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAADetJREFUeNrtXQuQFMUZNjt7+7jjbQTLwkcMidnHHTAze8cBxouGRBPR8nFGEkyiKVCMVUECZSRakmjU+IyPgFY0CRWMEkUUKokkEBVjTAwIxAjRxEf3zB3HEV4G5BBk8/+zu7A3N9M70zuzO3vXf9VfB3c7PTPb/9f/s/8+5hhBggQJqjalMvq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5NdiUqzCk6DRpeMRniYZm523SVd5waG5vUw8PO7Lec+CmGhaPqzZKVRw24caEYu6sRroipZI7khl6OTb5xpUed04WxsWixcTEzpMbM9oZAJ5ZeMaj01ZIpm3J++HaO61yM0EFCsjPDmPuTQuW1R58EpVWs/bhew4UQeURJhqxQTYmDkHLXILd4XHfPPb1Tar0fCxnwRUdm9CVcx8EJlYAYEQM7vNHLMbEJttGlAzAmj8sdT2Ad2EqQ6ayGuIJEiRIkC/0f2wuulHkYskjAAAAAElFTkSuQmCC"], })
2020-02-18 - IntersectionObserver基础库问题
IntersectionObserver的文档里说基础库1.9.3开始支持 但是在自定义组件中使用 this.createIntersectionObserver().relativeToViewport() 发现需要基础库2.7.1(不含)以上才有效 [图片] [图片] 是工具有bug还是文档有问题还是我遗漏了啥
2019-09-28 - inline-block中max-width:100%失效
代码: <view style="display:inline-block"> <image style="width:700px;max-width:100%" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1565421686246&di=d1fcafa064b5a9aab5b69c36f73b03b8&imgtype=0&src=http%3A%2F%2Fg.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F1e30e924b899a901a27a4b8917950a7b0308f5c6.jpg" /> </view> 预期表现:图片宽度不超过屏幕宽度 实际: [图片] 浏览器中: [图片]
2019-08-10 - rich-text设置display:inline无效
rich-text组件设置display:inline无效 代码: <rich-text nodes="123" style="display:inline"></rich-text>456 预期表现:不换行 实际: [图片]
2019-08-10 - 开发者工具textarea会导致下方组件的bindtap失效
- 当前 Bug 的表现(可附上截图) 开发者工具中,对textarea设置高度后,若输入文字高度超过textarea设置的高度,会导致下方的组件的bindtap失效 [图片] 真机上没有问题 - 代码片段 https://developers.weixin.qq.com/s/qA8y8vmq7n8t
2019-05-20