- image src使用云存储FIle ID 访问图片会自动补上本地路径、无法显示?
[图片]shi[图片] 是必须使用Https访问吗
2024-07-02 - [BUG] skyline 模式,不支持本地的webp格式的图片
https://developers.weixin.qq.com/miniprogram/dev/component/image.html skyline模式,不支持本地的webp格式的图片。 无论是IDE还是真机调试。webview模式就可以。 skyline支持png的图片。但不支持 webp格式的图片 Failed to load resource: the server responded with a status of 500 (Internal Server Error)(env: macOS,mp,1.06.2405020; lib: 3.4.9)
2024-06-29 - Skyline:支持 css clip-path2024-05-09
- 微信小程序页面是否有ai工具可以生成?
想问下各位大佬,微信小程序现在的页面是否有工具可以生成,最好是能够商用的
02-23 - Skyline:scroll-view 用border解决外边距塌陷 bug2024-05-13
- wx.createImage() 得到的image对象,src不能是base64的svg图片吗?
wx.createImage() 得到的image对象,src不能是base64的svg图片吗? 在标签中,image的src属性可以是base64的svg,但是在js中,image.src = 'data:image/svg+xml;utf8,xxx',触发不了image.onload函数
2023-08-01 - canvas 使用 loadFontFace 加载字体,模拟器可以,真机无效?
在使用 app.js中使用 wx.loadFontFace({ global: true, family: 'sjwbjt', source: 'url("https://my-font-library.pages.dev/jianhao.ttf")',, scopes: ["webview", "native"], success: () => { console.log("成功"); resolve(); }, fail: () => { console.log("失败"); reject(); }, }); 下列均已经检查没问题 [图片] 在canvas中 ctx.font = `${maxSize}px sjwbjt`; 模拟器下显示正常,真机ios和安卓均不生效 [图片] 可复现的代码片段 https://developers.weixin.qq.com/s/fM9jHkm87MQs 有没有官方来回答一下,sos
2024-04-25 - 手势组件pan-gesture-handler等在canvas上消失
https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/changelog.html <view class="bingo-packer"> <pan-gesture-handler worklet:ongesture="onGesture"> <view class="bingo-packer__canvas_wrap"> <canvas type="2d" id="{{cid}}" class="bingo-packer__canvas" disable-scroll="{{true}}" style="z-index: 0;" /> </view> </pan-gesture-handler> </view> onGesture(e) { "worlet" console.log(e); }
2024-01-14 - canvas 组件在iOS 设备上绘制速度太慢, 原因是什么?
canvas 组件在iOS 设备上绘制速度太慢, 原因是什么? canvas 2d 在苹果真机 大屏手机上 页面上绘制一个二维码 ,需要超过10秒才能万完成绘制. 请问一下原因是什么
2023-07-14 - canvas重绘卡顿
场景是在拍摄的现场图片上面进行画线标记,在每一根线上写上长度(例如1000mm)。 用到了 touchstart,touchmove,touchend 在移动过程中要不停的清除画布,然后重新绘制所有的线条。在微信开发者工具中画线流畅,在手机上就会很卡,而且线条越多绘制过程会越卡。 [图片] [图片] [图片] [图片]
2022-12-26