<template>
<div>
<group title="验证码">
<x-input title="发送验证码" placeholder="请输入验证码">
<x-button slot="right" type="primary" action-type="button" mini>发送验证码</x-button>
</x-input>
</group>
</div>
</template>
<script>
import { Confirm,XInput, Group, XSwitch, XButton, TransferDomDirective as TransferDom } from 'vux';
import Vue from 'vue';
import { ConfirmPlugin } from 'vux';
Vue.use(ConfirmPlugin);
export default {
directives: {
TransferDom
},
components: {
Confirm,
Group,
XSwitch,
XButton,
XInput
},
data () {
return {
}
},
methods: {
}
}
</script>
问题:获取手机验证码60秒倒计时,不能点击按钮;60秒后重新获取按钮
老铁们,帮忙看看>_<
相关分类