我是觉得,既然是分享,无论在哪个页面发起,分享的目的是这个小程序,打开后,打开后是不是应直接从首页进入, 最起码点了【前往小程序】,字面意思也得是从“头"开始吧,或者让自定义进入路径。 现在这样,人家从朋友圈进来,打开过一次之后,每次打开都是一个中间页,别想看到完整的小程序的样子,点了【重新进入】还是中间页.... 反正种种问题和限制吧,关闭分享了,折腾不出来。
小程序分享朋友圈,打开后,默认不是从首页打开吗?https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share-timeline.htmlhttps://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share-timeline.html onShareAppMessage() { return { title: `🥂分享不能用🍂`, path: `/pages/tabs/index`, }; }, onShareTimeline(e) { const ydomain = app.globalData.ydomain console.log(`${ydomain}/${Math.floor(Math.random() * 33) + 1}.webp`) return { title: `🥂分享不能用 `, query: `timeline=yes`, imageUrl: `${ydomain}/${Math.floor(Math.random() * 33) + 1}.webp`, }; } 小程序分享朋友圈,打开后,默认不是从首页打开吗?
02-13为什么我这加载成功,canvas 应用不成功?用官方的例子。
基础库3.6.0 用wx.loadFontFace加载网络字体不生效只有首次加载的字体生效,加载其他字体不生效
01-30问题解决了吗? 我这也发现在canvas 下设置无效。
wx.loadFontFace加载字体库 页面中正常显示 canvas字体不生效?wx.loadFontFace 版本号3.4.0 [图片] [图片]
01-30 <tap-gesture-handler worklet:ongesture="onTapGesture"> <canvas id="myCanvas" type="2d" style="margin: auto; width: 100%; height: 60vh;"/> </tap-gesture-handler> 我的跟你不一样,pan-gesture-handler 是生效的,换作 tap-gesture-handler不生效
手势组件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); }
01-14同样问题。。。 好了吗,24年12月11号
进入小程序,真机调试控制台报invoke accessSync fail: too eayly.最近一段时间才开始报错的,感觉是腾讯针对小程序框架更新了什么导致的,因为我们用之前的迭代版本(2023年4-12月的版本)跑真机都会报这个错,以前没见过这个错 [jsbridge] invoke accessSync fail: too eayly. Error: invoke too eayly at https://lib/WAServiceMainContext.js:1:125861 at Object.invoke (https://lib/WAServiceMainContext.js:1:123376) at g (https://lib/WAServiceMainContext.js:1:2251063) at https://lib/WAServiceMainContext.js:1:2253243 at Array.forEach (<anonymous>) at L (https://lib/WAServiceMainContext.js:1:2253070) at Function.<anonymous> (https://lib/WAServiceMainContext.js:1:2254984) at Wt.<anonymous> (https://lib/WAServiceMainContext.js:1:2250848) at Wt.emit (https://lib/WAServiceMainContext.js:1:626093) at Object.emit (https://lib/WAServiceMainContext.js:1:631589) 不知道这个错误会对小程序端客户造成什么影响,无法评估,麻烦腾讯同学帮忙排查下
2024-12-11解决了吗?
canvas 组件在iOS 设备上绘制速度太慢, 原因是什么?canvas 组件在iOS 设备上绘制速度太慢, 原因是什么? canvas 2d 在苹果真机 大屏手机上 页面上绘制一个二维码 ,需要超过10秒才能万完成绘制. 请问一下原因是什么
2024-12-11解决了吗?
canvas重绘卡顿场景是在拍摄的现场图片上面进行画线标记,在每一根线上写上长度(例如1000mm)。 用到了 touchstart,touchmove,touchend 在移动过程中要不停的清除画布,然后重新绘制所有的线条。在微信开发者工具中画线流畅,在手机上就会很卡,而且线条越多绘制过程会越卡。 [图片] [图片] [图片] [图片]
2024-12-11是模拟器的问题,手机上可以的。
这是canvas 一个bug ?[图片] [图片] scroll-view 里面放一个canvas , 画了一个图形,如上面红色的方块,下拉时canvas图形不会随着scroll-view 移动,看起来很奇怪。
2024-12-08wx.getSystemInfo({ success: function(res) { console.log(res.pixelRatio); // 获取屏幕像素密度 } });
调用canvasToTempFilePath生成图片 如何获取设备像素密度?canvasToTempFilePath 直接按原图尺寸生成图片有些失真 按官方文档中 输出图片的宽高要使用像素密度做转换 这个像素密度怎么获取 [图片]
2024-12-05估计又得遥遥无期,这种调试得把人搞死,
大家都希望能在开发工具内skyline下能调试canvas吧?如题,希望官方能尽早实现开发工具中skyline对canvas的调试 [图片]
2024-12-04