Search found 257 matches

by crisiron
2026年 Apr 22日 16:10
Forum: 小程序开发
Topic: getWeatherQuality接口根据不同天气切换背景图片
Replies: 1
Views: 289

Re: getWeatherQuality接口根据不同天气切换背景图片

{ windDir: String, // 风向 tips: String, // 概述 realFeel: Number // 体感温度 no2: Number // 二氧化氮 so2: Number // 二氧化硫 zoneId: String, // 时区 humidity: Number, // 空气湿度 windSpeed: String, // 风速,国内外都是 m/s temp: Number, // 温度 ,国内外都是单位摄氏度 o3: Number, // 臭氧 pm10: Number, // pm10 pressure: Number, // 大气气压 co: Numbe...
by crisiron
2026年 Apr 22日 16:08
Forum: 小程序开发
Topic: openSystemSettingPage在android手机中无法跳转到系统指定设置页面
Replies: 1
Views: 255

Re: openSystemSettingPage在android手机中无法跳转到系统指定设置页面

可使用 import { openAppSystemSettingPage } from '@ray-js/ray'
openAppSystemSettingPage({ scope: 'App-Settings-Permission' })

by crisiron
2026年 Apr 9日 09:58
Forum: 小程序开发
Topic: CircleProgress组件有什么办法可以设置step
Replies: 1
Views: 251

Re: CircleProgress组件有什么办法可以设置step

step 功能暂时没有遇到过,通用性不高,如后续反馈需求较多再进行官方支持; 代码已开源 https://github.com/Tuya-Community/tuya- ... leProgress,可在这个基础上进行开发,欢迎提 PR 共建。

by crisiron
2026年 Feb 24日 10:40
Forum: 小程序开发
Topic: Ray 小程序的跟踪调试
Replies: 1
Views: 3902

Re: Ray 小程序的跟踪调试

  1. 先确认是否只在线上环境出现,可以按照线上的操作在真机上进行复现,看看是否可以复现;
  2. 如果只在线上出现,参考 https://developer.tuya.com/cn/miniapp/d ... 80vconsole ,注意需要设置一个体验版,打开 vconsole 后查看console打印出的日志,进行问题定位排查;
  3. 如果还是无法定位问题,上传 APP 日志然后提工单寻求官方协助排查;
by crisiron
2026年 Feb 10日 14:34
Forum: 小程序开发
Topic: 音频API播放停不下来
Replies: 4
Views: 10017

Re: 音频API播放停不下来

提供工单让app排查下吧

by crisiron
2026年 Feb 10日 14:26
Forum: 小程序开发
Topic: 音频API播放停不下来
Replies: 4
Views: 10017

Re: 音频API播放停不下来

123333 2026年 Feb 10日 14:15

这个问题是不是InnerAudioContext.play(https://developer.tuya.com/cn/miniapp/d ... ntext-play)提到的“Android 端切换音频时无法正常播放新的音频,仍在播放上一个音频(iOS 端正常)”?有没有解决的办法呢?

可升级 BaseKit >= 3.17.7, 然后查看是否正常

by crisiron
2026年 Jan 8日 10:45
Forum: 小程序开发
Topic: IDE跑小程序 报了一个 result too large 不知道什么原因
Replies: 2
Views: 7276

Re: IDE跑小程序 报了一个 result too large 不知道什么原因

  1. 可清除下 ../../../../private/var/folders/ 这个路径下缓存的数据 2.如果是macos 系统 重启电脑也会清缓存
by crisiron
2025年 Dec 29日 19:48
Forum: 小程序开发
Topic: LampScheduleCore 物料
Replies: 9
Views: 52858

Re: LampScheduleCore 物料

是这么用的 // 定时器创建成功后,更新 Conflict 系统中的数据
// 因为添加时 _timer 没有 timerId,现在 newTimer 有了,需要同步更新
Conflict.remove(res); // 移除没有 timerId 的
Conflict.add({
type: EScheduleFunctionType.TIMER,
detail: [newTimer], // 添加有 timerId 的
});

by crisiron
2025年 Dec 25日 11:36
Forum: 小程序开发
Topic: 小程序面板的智能联动怎么实现
Replies: 1
Views: 5490

Re: 小程序面板的智能联动怎么实现

跟我们内部app 同学确认了下,小程序不支持直接跳转页面2,主要是获取的数据无法同步传递给小程序

by crisiron
2025年 Dec 23日 13:47
Forum: 小程序开发
Topic: 设备端文件上传,ray小程序上添加入口触发文件传输
Replies: 1
Views: 3991

Re: 设备端文件上传,ray小程序上添加入口触发文件传输

提个单子吧,得相关人确认下 ,看起来这个能力还没对外开放