Commit 851efcf5 authored by zhangyanni's avatar zhangyanni

提交样式

parent b51c9fef
......@@ -12,10 +12,10 @@
<el-form :model="yzCodeForm" :rules="rules" ref="yzCodeForm" @keyup.enter.native="handleSubmit('yzCodeForm')"
class="demo-loginForm applyLogin redEnvelopeLogin">
<el-form-item prop="phone">
<el-input @blur.prevent="publicFun.phpneInputblurFunc()" @focus="handleFocus(1)" v-model="yzCodeForm.phone" @input="isTruePhone" :placeholder="$t('errorValidate.errorNoAccount')" autocomplete></el-input>
<el-input ref="phoneInput" @blur="publicFun.phpneInputblurFunc()" @focus="handleFocus(1)" v-model="yzCodeForm.phone" @input="isTruePhone" :placeholder="$t('errorValidate.errorNoAccount')" autocomplete></el-input>
</el-form-item>
<el-form-item prop="code" class="yzcodeItem">
<el-input @blur.prevent="publicFun.phpneInputblurFunc()" type="text" class="applyLoginInput" @focus="handleFocus(2)" v-model="yzCodeForm.code" :placeholder="$t('commonTips.placeholderAccountCode')" style="float: left;" maxlength="6"
<el-input ref="codeInput" @blur="publicFun.phpneInputblurFunc()" type="text" class="applyLoginInput" @focus="handleFocus(2)" v-model="yzCodeForm.code" :placeholder="$t('commonTips.placeholderAccountCode')" style="float: left;" maxlength="6"
autocomplete></el-input>
<span class="getyzcodeBtn" @click="handleGetCode" v-if="showCount">{{$t("commonTips."+codehtml)}}</span>
<span class="getdyzcodeBtn" v-if="!showCount&&lang==2">{{$t("commonTips.resendCode")}}{{count}}s</span>
......@@ -99,6 +99,8 @@
this.bool = false;
}
if(this.bool) {
this.$refs.phoneInput.blur();
this.$refs.codeInput.blur();
this.getAccountCodeFunc();
// that.$nextTick(() => {
// that.isShowSlider = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment