- 想用movable-view实现全屏可拖拽的浮动组件,但是为什么开始拖动的时候会重置到0,0点?
我想实现一个全屏可拖动的悬浮按钮,想法是movable-area组件最开始悬浮按钮的大小 用定位定到某个点,然后长按悬浮按钮之后movable-area的大小改为全屏,定位改为0,0 里面movable-view的x和y改成最开始movable-area的定位。长按一直到movable-area全屏都是对的 但是一拖动movable-view就会重置到0,0点位代码片段:https://developers.weixin.qq.com/s/4N9SlNm17mZv
04-30 - 自定义tabbar 在电脑上打开小程序最开始不会渲染 要点击切换之后才会渲染?
[图片][图片] 第一张图是在配置文件配置的tab的顺序 第二张图是自定义tabbar的顺序 所以最开始渲染的是原生的tabbar 点击切换之后才显示的自定义的 手机打开小程序不会有这个问题
03-10 - 文档差异
https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/sec-check/msgSecCheck.html 这个接口为什么中文文档和英文文档需要的参数不同
2024-08-06 - 基础库2.30.4以下报错,以上能正常运行,什么问题?
"MiniProgramError\nTypeError\nError: TypeError\nline:6818,column:20,TypeError: undefined is not an object (evaluating 'window') Stack:@https://usr//app-service.js:6818:20\nS@https://lib/WASubContext.js:1:770107\nglobal code@https://usr//app-service.js:6819:17\n@[native code]\nevaluateScriptFile@https://lib/WAServiceMainContext.js:1:2050904\n@https://lib/WAServiceMainContext.js:1:2057800\nforEach@[native code]\nR@https://lib/WAServiceMainContext.js:1:2057714\n@https://lib/WAServiceMainContext.js:1:2058425\nMe@https://lib/WAServiceMainContext.js:1:75622\nMe@[native code]\n@https://lib/WAServiceMainContext.js:1:2058239\n@https://lib/WAServiceMainContext.js:1:2054466\n@https://lib/WAServiceMainContext.js:1:687271\nemit@https://lib/WAServiceMainContext.js:1:692448\n@https://lib/WAServiceMainContext.js:1:1608036\n@https://lib/WAServiceMainContext.js:1:684098\nemit@https://lib/WAServiceMainContext.js:1:82599\nemit@[native code]\nemit@https://lib/WAServiceMainContext.js:1:82218\nsubscribeHandler@https://lib/WAServiceMainContext.js:1:85319"
2023-09-18