Search found 153 matches

by crisiron
2025年 Jun 10日 17:51
Forum: 小程序开发
Topic: 蓝牙mesh遥控面板怎么绑定和解绑设备
Replies: 7
Views: 271

Re: 蓝牙mesh遥控面板怎么绑定和解绑设备

这个不是具体品类code,遥控器功能逻辑比较复杂,当前对外的文档不够全面,依据当前文档无法实现,很多逻辑未明确说明,后续会更新更详细的功能,敬请期待。

by crisiron
2025年 Jun 10日 17:44
Forum: 小程序开发
Topic: 【开发者问答】关于如何拦截 navigationBar 后退按钮的事件?
Replies: 12
Views: 10175

Re: 【开发者问答】关于如何拦截 navigationBar 后退按钮的事件?

// hooks import { useEffect } from 'react'; import { setNavigationBarBack } from '@ray-js/ray'; export const useNavigationBarBack = () => { useEffect(() => { setNavigationBarBack({ type: 'custom', }); return () => { setNavigationBarBack({ type: 'system', }); }; }, []); }; // 页面中 export default () =...
by crisiron
2025年 Jun 10日 13:39
Forum: 小程序开发
Topic: 蓝牙mesh遥控面板怎么绑定和解绑设备
Replies: 7
Views: 271

Re: 蓝牙mesh遥控面板怎么绑定和解绑设备

看不到你的图, 图片需要在附件中上传

by crisiron
2025年 May 30日 16:52
Forum: 小程序开发
Topic: @ray-js/pencil-flow的使用
Replies: 13
Views: 2243

Re: @ray-js/pencil-flow的使用

感谢建议,是有对外文档的,一般在物料广场 ( https://developer.tuya.com/material/lib ... PencilFlow ),关于多层级事件问题会在文档中进行补充说明

by crisiron
2025年 May 30日 15:57
Forum: 小程序开发
Topic: @ray-js/pencil-flow的使用
Replies: 13
Views: 2243

Re: @ray-js/pencil-flow的使用

描述问题请描述清楚

by crisiron
2025年 May 30日 15:53
Forum: 小程序开发
Topic: @ray-js/pencil-flow的使用
Replies: 13
Views: 2243

Re: @ray-js/pencil-flow的使用

怎么更新的,提供下复现代码(代码中尽量减少业务代码,好排查问题) // 更新颜色代码示例: rect2.on('touchend', event => { const { option } = event.target || {}; if (option && option.id !== undefined) { console.log('id touchend', rect2, option.id); // 重点 如果要更新颜色,使用 rect2.option.fillStyle rect2.option.fillStyle = 'red'; rect2.alpha = 1...