|
@@ -3,34 +3,27 @@
|
|
<el-form-item class="login-animation1">
|
|
<el-form-item class="login-animation1">
|
|
<el-input text :placeholder="$t('message.mobile.placeholder1')" v-model="state.ruleForm.userName" clearable autocomplete="off">
|
|
<el-input text :placeholder="$t('message.mobile.placeholder1')" v-model="state.ruleForm.userName" clearable autocomplete="off">
|
|
<template #prefix>
|
|
<template #prefix>
|
|
- <i class="iconfont icon-dianhua el-input__icon"></i>
|
|
|
|
|
|
+ <el-icon class="el-input__icon"><ele-Iphone /></el-icon>
|
|
</template>
|
|
</template>
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item class="login-animation2">
|
|
<el-form-item class="login-animation2">
|
|
- <el-col :span="15">
|
|
|
|
- <el-input text maxlength="4" :placeholder="$t('message.mobile.placeholder2')" v-model="state.ruleForm.code" clearable autocomplete="off">
|
|
|
|
- <template #prefix>
|
|
|
|
- <el-icon class="el-input__icon"><ele-Position /></el-icon>
|
|
|
|
- </template>
|
|
|
|
- </el-input>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="1"></el-col>
|
|
|
|
- <el-col :span="8">
|
|
|
|
- <el-button v-waves class="login-content-code">{{ $t('message.mobile.codeText') }}</el-button>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+ <MyInputCode v-model="state.ruleForm.code"></MyInputCode>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item class="login-animation3">
|
|
<el-form-item class="login-animation3">
|
|
<el-button round type="primary" v-waves class="login-content-submit">
|
|
<el-button round type="primary" v-waves class="login-content-submit">
|
|
<span>{{ $t('message.mobile.btnText') }}</span>
|
|
<span>{{ $t('message.mobile.btnText') }}</span>
|
|
</el-button>
|
|
</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+
|
|
<div class="font12 mt30 login-animation4 login-msg">{{ $t('message.mobile.msgText') }}</div>
|
|
<div class="font12 mt30 login-animation4 login-msg">{{ $t('message.mobile.msgText') }}</div>
|
|
</el-form>
|
|
</el-form>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
-<script setup lang="ts" name="loginMobile">
|
|
|
|
-import { reactive } from 'vue'
|
|
|
|
|
|
+<script lang="ts" setup name="loginMobile">
|
|
|
|
+import { reactive, defineAsyncComponent } from 'vue'
|
|
|
|
+
|
|
|
|
+const MyInputCode = defineAsyncComponent(() => import('/@/components/my-input-code/index.vue'))
|
|
|
|
|
|
// 定义变量内容
|
|
// 定义变量内容
|
|
const state = reactive({
|
|
const state = reactive({
|