Hi Switch
hi-switch 开关
介绍
开关
引入
import "../hi-switch.stml";
代码示例
属性
color 开启背景色
uncolor 关闭背景色
@change 点击变换事件
value 开关状态
<hi-switch :value="value" @change="change" color="rgba(18, 202, 178, 1)" uncolor="rgba(170, 170, 170, 1)" ></hi-switch>