Search found 48 matches

by xiaoqi
2025年 Apr 1日 11:04
Forum: 小程序开发
Topic: 小程序自定义导航栏
Replies: 4
Views: 427

Re: 小程序自定义导航栏

NavBar 使用 SmartUI之后就完全脱离小程序的头部配置功能了 都需要你自己去根据SmartUI NavBar 修改和实现

by xiaoqi
2025年 Apr 1日 10:02
Forum: 小程序开发
Topic: 小程序自定义导航栏
Replies: 4
Views: 427

Re: 小程序自定义导航栏

不需要用usingComponents 直接在需要用到这个组件的地方引入即可
import { NavBar } from '@ray-js/smart-ui'

by xiaoqi
2025年 Mar 21日 18:07
Forum: 小程序开发
Topic: 温度传感器在使用getStatisticsRangHour统计图表能力存在一个疑问
Replies: 5
Views: 1208

Re: 温度传感器在使用getStatisticsRangHour统计图表能力存在一个疑问

你好我们已经收到啦你的提问 相关开发会尽快回复哦!

by xiaoqi
2025年 Mar 21日 11:39
Forum: 小程序开发
Topic: DateTimePicker组件获取所选时间不正确
Replies: 4
Views: 1237

Re: DateTimePicker组件获取所选时间不正确

对了 你有取消的逻辑 可能要修改一下 参数,当show为false的时候 设置value 为 -1:00 这样到时候你在次打卡的时候 就可以定位到当前时间的位置 <Popup round show={show} position="bottom" safeAreaInsetBottom={false} closeOnClickOverlay={false} > <View style={{ marginBottom: '60rpx' }}> <DateTimePicker type="time" onAnimationStart={onAnimation...
by xiaoqi
2025年 Mar 21日 11:14
Forum: 小程序开发
Topic: DateTimePicker组件获取所选时间不正确
Replies: 4
Views: 1237

Re: DateTimePicker组件获取所选时间不正确

有可能是因为你动画还没执行完 你就点击确认了 可以使用 onAnimationStart, onAnimationEnd事件做一个禁用确认效果 import React, { useCallback, useState } from 'react'; import { Cell, DateTimePicker, Popup } from '@ray-js/smart-ui'; import { View } from '@ray-js/ray'; export default function Demo() { const [show, setShow] = React.useState(fa...
by xiaoqi
2025年 Mar 21日 10:27
Forum: 小程序开发
Topic: DateTimePicker组件获取所选时间不正确
Replies: 4
Views: 1237

Re: DateTimePicker组件获取所选时间不正确

我们已经收到你的提问啦 会尽快回复哦!

by xiaoqi
2025年 Mar 17日 19:45
Forum: 小程序开发
Topic: 场景按键点击进去没有场景选择接口只有场景创建接口
Replies: 5
Views: 5646

Re: 场景按键点击进去没有场景选择接口只有场景创建接口

可以尝试学习一下这个教程,自行实现一个场景列表看看是否满足当前产品的需求,注意该教程涉及的产品需要支持联网
https://developer.tuya.com/cn/miniapp-c ... dex.html#0

by xiaoqi
2025年 Mar 14日 13:54
Forum: 小程序开发
Topic: 场景按键点击进去没有场景选择接口只有场景创建接口
Replies: 5
Views: 5646

Re: 场景按键点击进去没有场景选择接口只有场景创建接口

请问具体是这样的界面? 可以截图看看吗