Commit 419a1ab0 by liimin

feat(components): 重构工具箱组件,支持横竖屏自适应与拖拽定位

- 将 FAB 浮动按钮重构为半抽屉/侧边栏面板,适配横竖屏不同布局
- 新增拖拽功能,允许用户自由调整触发器位置
- 优化视觉设计,采用渐变背景与阴影增强层次感
- 移除调试日志,提升代码整洁度
1 parent 4843b03b
......@@ -286,10 +286,10 @@ async function getBase64(url: string): Promise<string> {
base64 = `data:image/png;base64,${uni.arrayBufferToBase64(data as ArrayBuffer)}`;
}
console.log("转换后的 base64:", `${base64.slice(0, 50) }...`);
// console.log("转换后的 base64:", `${base64.slice(0, 50) }...`);
resolve(base64);
} catch (error) {
console.error("转换 base64 失败:", error, "res.data:", res.data);
// console.error("转换 base64 失败:", error, "res.data:", res.data);
resolve(url);
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!