| | |
| | | <a @click="$router.push('forgetPassword')">忘记密码</a> |
| | | </div> |
| | | </Tab-pane> |
| | | <Tab-pane label="验证码登录" name="mobileLogin"> |
| | | <!-- 验证码登录 --> |
| | | <Form ref="formSms" :model="formSms" :rules="ruleInline" @click.self='$refs.verify.show = false'> |
| | | <FormItem prop="mobile"> |
| | | <i-input type="text" maxlength="11" v-model="formSms.mobile" clearable placeholder="手机号"> |
| | | <Icon type="md-lock" slot="prepend"></Icon> |
| | | </i-input> |
| | | </FormItem> |
| | | <FormItem prop="code"> |
| | | <i-input type="text" v-model="formSms.code" placeholder="手机验证码"> |
| | | <Icon type="ios-text-outline" style="font-weight: bold" slot="prepend" /> |
| | | <Button slot="append" @click="sendCode" :loading="sendCodeLoading">{{ codeMsg }}</Button> |
| | | </i-input> |
| | | </FormItem> |
| | | <FormItem> |
| | | <!-- <Button @click.stop="verifyBtnClick" long :type="verifyStatus ? 'success' : 'default'">{{ verifyStatus ? |
| | | '验证通过' : |
| | | '点击完成安全验证' }} |
| | | </Button> --> |
| | | </FormItem> |
| | | </Form> |
| | | </Tab-pane> |
| | | <!-- <Tab-pane label="验证码登录" name="mobileLogin">--> |
| | | <!-- <!– 验证码登录 –>--> |
| | | <!-- <Form ref="formSms" :model="formSms" :rules="ruleInline" @click.self='$refs.verify.show = false'>--> |
| | | <!-- <FormItem prop="mobile">--> |
| | | <!-- <i-input type="text" maxlength="11" v-model="formSms.mobile" clearable placeholder="手机号">--> |
| | | <!-- <Icon type="md-lock" slot="prepend"></Icon>--> |
| | | <!-- </i-input>--> |
| | | <!-- </FormItem>--> |
| | | <!-- <FormItem prop="code">--> |
| | | <!-- <i-input type="text" v-model="formSms.code" placeholder="手机验证码">--> |
| | | <!-- <Icon type="ios-text-outline" style="font-weight: bold" slot="prepend" />--> |
| | | <!-- <Button slot="append" @click="sendCode" :loading="sendCodeLoading">{{ codeMsg }}</Button>--> |
| | | <!-- </i-input>--> |
| | | <!-- </FormItem>--> |
| | | <!-- <FormItem>--> |
| | | <!-- <!– <Button @click.stop="verifyBtnClick" long :type="verifyStatus ? 'success' : 'default'">{{ verifyStatus ?--> |
| | | <!-- '验证通过' :--> |
| | | <!-- '点击完成安全验证' }}--> |
| | | <!-- </Button> –>--> |
| | | <!-- </FormItem>--> |
| | | <!-- </Form>--> |
| | | <!-- </Tab-pane>--> |
| | | </Tabs> |
| | | <Row> |
| | | <div class="login-btn" type="primary" size="large" :loading="loading" @click="submitLogin" long> |