|
|
@@ -1,22 +1,24 @@
|
|
|
<template>
|
|
|
<app-statusbar class="login">
|
|
|
<app-navback class="login-navback" />
|
|
|
- <div class="login-logo"></div>
|
|
|
+ <div class="login-logo">
|
|
|
+ <img src="@mobile/assets/images/login-logo.png" />
|
|
|
+ </div>
|
|
|
<Form class="login-form" @submit="formSubmit">
|
|
|
- <CellGroup>
|
|
|
- <Field v-model="formData.userName" name="account" label="用户名" size="large" placeholder="请输入用户名"
|
|
|
+ <CellGroup inset>
|
|
|
+ <Field v-model="formData.userName" name="account" label="用户名" label-align="top" size="large" placeholder="请输入用户名"
|
|
|
:rules="[{ required: true, message: '请输入用户名' }]" />
|
|
|
- <Field v-model="formData.password" name="password" type="password" label="密码" size="large" placeholder="请输入密码"
|
|
|
- :rules="[{ required: true, message: '请输入密码' }]" autocomplete="off" />
|
|
|
+ <Field v-model="formData.password" name="password" type="password" label="密码" label-align="top" size="large"
|
|
|
+ placeholder="请输入密码" :rules="[{ required: true, message: '请输入密码' }]" autocomplete="off" />
|
|
|
</CellGroup>
|
|
|
- <div class="button-link">
|
|
|
- <span @click="navigationTo('user-register')">用户注册</span>
|
|
|
- <span @click="navigationTo('user-forget')">忘记密码</span>
|
|
|
- </div>
|
|
|
<div class="button-submit">
|
|
|
- <Button native-type="submit" round block>登录</Button>
|
|
|
+ <Button type="primary" native-type="submit" round block>登录</Button>
|
|
|
</div>
|
|
|
</Form>
|
|
|
+ <div class="login-link">
|
|
|
+ <span @click="navigationTo('user-register')">用户注册</span>
|
|
|
+ <span @click="navigationTo('user-forget')">忘记密码</span>
|
|
|
+ </div>
|
|
|
<div class="login-footer">
|
|
|
<div class="login-footer__trem">
|
|
|
<Checkbox shape="square" icon-size=".32rem" v-model="checked">我已阅读并同意</Checkbox>
|