CountDown 倒计时
V1.4.0+
概述
CountDown 倒计时,用于倒计时场景,可手动控制。
# 支持平台
目前开发小程序与H5推荐使用 FirstUI nvue版本 (opens new window)。
安卓系统版本 | 安卓uni-app | 安卓uniapp-x | iOS系统版本 | iOS uniapp | iOS uniapp-x | 小程序 | H5/Web |
---|---|---|---|---|---|---|---|
5.0 | × | ✓ | 9.0 | × | ✓ | × | ✓ |
# 引入
以下介绍两种常用的引入方式。
第一种:在页面中引用、注册
import fuiCountDown from "@/components/firstui/fui-count-down/fui-count-down.uvue"
export default {
components:{
fuiCountDown
}
}
1
2
3
4
5
6
2
3
4
5
6
第二种:easycom组件规范
传统vue组件,需要安装、引用、注册,三个步骤后才能使用组件。easycom将其精简为一步。
First UI easycom配置请查看 快速上手。
如果不了解easycom,可先查看 官网文档 (opens new window)。
# 代码演示
代码演示、属性列表等详细内容仅VIP用户可查看。
示例预览
# 示例代码地址

# 特别说明
