更新时间:2021-08-27 11:07:28下载pdf

| 字段名 | 类型 | 描述 | 默认值 |
|---|---|---|---|
| style | Style | 组件样式 | null |
| curtainType | String | 窗帘类型 | ‘trietex’ |
| styleType | String | 倒计时可支持到最大单位 | ‘zoosemy’ |
| value | String | 计数展示格式 | 0 |
| range | Style | 窗帘运动的范围 | [0, 100] |
| disabled | Style | 是否禁用 | false |
| control | Style | 当前控制状态 | stop |
| totalTime | Style | 运行全程时间 | 5000 |
| curtainCeilImage | Style | 窗帘页图片 | null |
| curtainBgImage | Style | 窗帘背景图片 | null |
| curtainCeilColor | Style | 窗帘页颜色 | null |
| curtainBgColor | Style | 窗帘背景色 | null |
| buttonColor | Style | 按钮色 | null |
| curtainBgWidth | Style | 窗帘背景宽 | null |
| curtainBgHeight | Style | 窗帘背景宽 | null |
| curtainWidth | Style | 窗帘宽 | null |
| curtainHeight | Style | 窗帘高 | null |
| min | Style | 最小值 | null |
| max | Style | 最大值 | null |
| codes | Style | dpCodes | null |
| onSlideTo | Style | 窗帘移动回调 | null |
| textColor | Style | 状态栏文字颜色 | null |
| openingText | Style | 打开文本 | null |
| codes | closingText | 关闭文本 | null |
import React from 'react'
import { CountdownView } from '@tuya/tuya-panel-electrician-sdk'
export default class Scene extends Component {
render() {
return <CountdownView value={55} />;
}
}
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈