基础库 3.8.5 已修复
Skyline input 失去光标也会触发 bindinputskyline 才会复现,必现,webview模式不会
星期三 15:02用 touch 事件即可,或给 scroll-view 绑定一个 vertical-drag-gesture-handler https://developers.weixin.qq.com/miniprogram/dev/component/vertical-drag-gesture-handler.html https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/gesture.html#%E7%A4%BA%E4%BE%8B%E4%B8%89%EF%BC%9A%E4%BB%A3%E7%90%86%E5%8E%9F%E7%94%9F%E7%BB%84%E4%BB%B6%E5%86%85%E9%83%A8%E6%89%8B%E5%8A%BF
skyline中scroll-view不支持drag相关事件?<scroll-view binddragstart="onDrag" binddragging="onDragging" binddragend="onDragend" bind:scroll="onScroll" enhanced style="height: 100vh;margin-top: 20%;" scroll-y="{{true}}" type="list"> binddragstart binddragging binddragend均无法触发
星期二 11:11应该是对应的小程序没有获得写入相册的权限
使用snapshot组件,发布上线后,截屏或写入文件失败是什么原因?this.createSelectorQuery() .select("#snapshot") .node() .exec(res => { const node = res[0].node node.takeSnapshot({ type: 'arraybuffer', format: 'png', success: (res) => { const f = `${wx.env.USER_DATA_PATH}/poster.png` const fs = wx.getFileSystemManager(); // 将海报数据写入本地文件 fs.writeFileSync(f, res.data, 'binary') this.saveImageToPhotosAlbum(f) }, fail: (res) => { console.log('截图错误:', res.errMsg) wx.showToast({ title: '海报生成失败~', icon: 'loading', duration: 1000 }); }, complete: () => { this.setData({ showServiceCode: false }) wx.hideLoading() } }) })
04-14看起来 gap + var 有问题,我们修复下
一万个不要用skyline的理由之:css的gap属性不支持var()?如题,请看下面的代码: .option-list { box-sizing: border-box; line-height: 1; display: flex; flex-direction: column; flex-wrap: nowrap; --inner: calc(5vmin / 3 * 2); gap: var(--inner); } 总之,很神奇,这样写之后就不能使gap生效,真机和开发工具模拟器都不行。
04-10使用 nightly 看下可以吗?
当渲染模式为skyline时 出现DevTools 已与页面断开连接的问题[图片]
04-10需要用自定义 tabbar,才能做连贯的动画。 原生 tabbar 的每个 tab 里的原生视图都是独立的,首页和下一个页面的视图也是独立的。
skyline tabbar页面使用open-container无效?skyline tabbar页面使用open-container无效?
04-10能否提供一个片段看下
skyline ios 18.2.1 微信 8.0.57 截图?图片很长node.takeSnap回调不执行[图片] node打印成功,也有takesnapshot方法,但是三个回调都没执行
03-28不是 border,是因为像素对齐导致的,相当于各个 view 之间没有对齐到物理像素网格,中间有缝隙。 看是否可以把背景放到后面来规避下
view组件webview模式下正常,skyline模式下时,border被显示出来,怎么去掉?view组件在webview模式下正常,skyline模式下时,border被显示出来,无法隐藏 代码片段:https://developers.weixin.qq.com/s/Gii0FXmm7GYf [图片][图片] .wxml代码 <view class="camera-box"> <view class="gray-mask"> <view class="gray-mask-top"> </view> <view class="gray-mask-center"> <view class="left-right"></view> <view class="center"> <view class="center-up"></view> <view class="center-down">操作中心</view> </view> <view class="left-right"></view> </view> <view class="gray-mask-bottom"> <view class="content">1号 </view> <view class="content">2号</view> </view> </view> </view> .wxss代码 view { border: none !important; /* 清除边框 */ margin: 0 !important; /* 清除边距 */ padding: 0 !important; /* 清除内边距 */ border-style: none; } .camera-box { width: 100vw; height: 100vh; position: absolute; top: 110rpx; left: 0rpx; } .gray-mask { width: 100vw; height: 100vh; display: flex; flex-direction: column; } .gray-mask-top { min-height: 20%; background: rgb(0, 0, 0, 0.5); } .gray-mask-center { min-height: 40%; display: flex; flex-direction: row; flex: 1 1 0; } .gray-mask-bottom { min-height: 40%; flex-grow: 2; background: rgb(0, 0, 0, 0.5); display: flex; flex-direction: column; } .content{ min-height: 30%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; } .left-right { min-width: 20%; background: rgb(0, 0, 0, 0.5); } .center { min-width: 60%; display: flex; flex-direction: column; } .center-up { min-height: 450rpx; } .center-down { flex: 1; background: rgb(0, 0, 0, 0.5); font-size: 28rpx; font-weight: 400; color:white; display: flex; align-items: center; justify-content: center; }
03-27工具的问题,已经修复。 本周会更新工具 nightly
skyline 中使用background-image 会频繁触发请求?同一张图片,每次滚动都会触发。 http的并发请求直接到了上限了...... [图片]
03-26现在提示没有给文件的位置,确实帮助不大,已经在下个版本去掉了,预计本周 nightly 会更新。 后续我们会把提示做到 wxss lsp 里,可以在打开 .wxss 文件之后在编辑器里提示。
开发者工具默认的[skyline][WXSS]警告能不能不要提示啊?开发者工具默认的[skyline][WXSS]警告能不能不要提示啊
03-25