摘要: 倒计时组件,比较复杂一点,大神勿调侃,精确到毫秒,因为项目中多次出现倒计时,所以拿出来分享下 使用方法:1.在父组件中引入"uni-countdown" //import uniCountdown from "./uni-countdown"; 2.在父组件中注册 uniCountdown //co 阅读全文
posted @ 2019-10-24 10:44 疯狂的严先生 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 使用方法:1.在父组件中引入"toast.vue" //import toast from "./toast"; 2.在父组件中注册 toast //components:{toast}, 3.放在父组件中使用//<toast ref="toast"></toast> 4.调用toast组件//th 阅读全文
posted @ 2019-10-24 10:39 疯狂的严先生 阅读(1769) 评论(3) 推荐(1) 编辑
摘要: 使用方法: 1.在父组件中引入"box.vue" //import popUpBox from "./box.vue"; 2.在父组件中注册 popUpBox //components:{popUpBox}, 3.放在父组件中使用 //<popUpBox></popUpBox> 4.调用popUpB 阅读全文
posted @ 2019-10-24 10:34 疯狂的严先生 阅读(9508) 评论(0) 推荐(0) 编辑