hookehuyr

fix

...@@ -191,9 +191,9 @@ export default { ...@@ -191,9 +191,9 @@ export default {
191 .bg-gradient { 191 .bg-gradient {
192 background: linear-gradient(@base-color, @base-color) no-repeat; 192 background: linear-gradient(@base-color, @base-color) no-repeat;
193 /*调整下划线的宽度占百分之百 高度是3px */ 193 /*调整下划线的宽度占百分之百 高度是3px */
194 - background-size: 100% 3px; 194 + background-size: 100% 4px;
195 /* 调整下划线的起始位置 左侧是0 上边是1.15em */ 195 /* 调整下划线的起始位置 左侧是0 上边是1.15em */
196 - background-position: 0 1.15em; 196 + background-position: 0 1.1em;
197 } 197 }
198 .number { 198 .number {
199 display: block; 199 display: block;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 @touchstart.stop="showKeyboard" /> 19 @touchstart.stop="showKeyboard" />
20 <van-field v-else v-model="phone" name="phone" label="手机号" placeholder="手机号" 20 <van-field v-else v-model="phone" name="phone" label="手机号" placeholder="手机号"
21 :rules="[{ validator, message: '请输入正确手机号' }]" /> 21 :rules="[{ validator, message: '请输入正确手机号' }]" />
22 - <van-field v-model="code" center clearable name="code" label="短信验证码" placeholder="请输入短信验证码" 22 + <van-field v-model="code" center clearable name="code" type="digit" label="短信验证码" placeholder="请输入短信验证码"
23 :formatter="formatter" :rules="[{ required: true, message: '请填写验证码' }]"> 23 :formatter="formatter" :rules="[{ required: true, message: '请填写验证码' }]">
24 <template #button> 24 <template #button>
25 <van-button @click="sendCode" v-if="countDown.current.value.total === limit" size="small" type="primary" :disabled="disabled"> 25 <van-button @click="sendCode" v-if="countDown.current.value.total === limit" size="small" type="primary" :disabled="disabled">
......