|
@@ -5,19 +5,19 @@
|
|
|
|
|
|
<div class="title">基本信息</div>
|
|
|
<!-- <van-form ref="form" :show-error="false" validate-first @submit="onSubmit" @failed="onFailed"> -->
|
|
|
- <van-field v-model="form.phone" required name="phone" label="手机号" placeholder="请输入手机号" />
|
|
|
- <van-field v-model="form.code" required clearable name="code" label="验证码" placeholder="请输入验证码">
|
|
|
+ <van-field v-model="form.phone" type="tel" required name="phone" label="手机号" placeholder="请输入手机号" />
|
|
|
+ <van-field type="number" v-model="form.code" required clearable name="code" label="验证码" placeholder="请输入验证码">
|
|
|
<template #button>
|
|
|
<span class="codeText" v-show="countDownStatus" @click="onGetCode">获取验证码</span>
|
|
|
<span class="code-text" v-show="!countDownStatus">
|
|
|
- <van-count-down ref="countdown" :auto-start="false" :time="countDownTime" @finish="onCountDownFinished" format="ss秒" />
|
|
|
+ <van-count-down ref="countdown" style="color: #c4c4c4" :auto-start="false" :time="countDownTime" @finish="onCountDownFinished" format="ss秒" />
|
|
|
</span>
|
|
|
</template>
|
|
|
</van-field>
|
|
|
|
|
|
<div class="agreeProtocol">
|
|
|
<van-checkbox v-model="agreeStatus"></van-checkbox>
|
|
|
- <i style="font-style: normal;" @click="agreeStatus = !agreeStatus">阅读并同意</i> <span @click="onToProtocol">《用户协议》</span>
|
|
|
+ <i style="font-style: normal;" @click="agreeStatus = !agreeStatus">已阅读并同意</i> <span @click="onToProtocol">《酷乐秀用户注册服务协议》</span>
|
|
|
</div>
|
|
|
<m-button class="stepBtn" text="下一步" @click="onSubmit" native-type="submit" />
|
|
|
<!-- </van-form> -->
|