This commit is contained in:
xielue 2023-04-28 18:53:18 +08:00
parent c99dd3c960
commit 1f95f394cf
3 changed files with 12 additions and 12 deletions

View File

@ -2,4 +2,4 @@
VUE_APP_API_BASE_URL=http://zxx4.f3322.net:46000 VUE_APP_API_BASE_URL=http://zxx4.f3322.net:46000
VUE_APP_USER_MODEL2=AdminUser VUE_APP_USER_MODEL2=AdminUser
VUE_APP_USER_MODEL=BaseAdmin VUE_APP_USER_MODEL=BaseAdmin
VUE_APP_BEID=3 VUE_APP_BEID=1

View File

@ -9,7 +9,7 @@
height: 64px; height: 64px;
position: relative; position: relative;
line-height: 64px; line-height: 64px;
padding-left: 10px; margin-left: 10px;
-webkit-transition: all .3s; -webkit-transition: all .3s;
transition: all .3s; transition: all .3s;
overflow: hidden; overflow: hidden;
@ -29,8 +29,8 @@
vertical-align: middle; vertical-align: middle;
} }
img{ img{
max-width: 40px; max-width: 35px;
max-height: 40px; max-height: 35px;
vertical-align: middle; vertical-align: middle;
} }

View File

@ -22,14 +22,14 @@
<a-alert type="error" :closable="true" v-show="error" :message="error" showIcon <a-alert type="error" :closable="true" v-show="error" :message="error" showIcon
style="margin-bottom: 24px;" /> style="margin-bottom: 24px;" />
<a-form-item> <a-form-item>
<a-input autocomplete="autocomplete" size="large" placeholder="admin" <a-input autocomplete="autocomplete" size="large" placeholder="请输入账户名"
v-decorator="['name', { rules: [{ required: true, message: '请输入账户名', whitespace: true }] }]"> v-decorator="['name', { rules: [{ required: true, message: '请输入账户名', whitespace: true }] }]">
<!-- --> <!-- -->
<a-icon slot="prefix" type="user" /> <a-icon slot="prefix" type="user" />
</a-input> </a-input>
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-input size="large" placeholder="888888" autocomplete="autocomplete" type="password" <a-input size="large" placeholder="请输入密码" autocomplete="autocomplete" type="password"
v-decorator="['password', { rules: [{ required: true, message: '请输入密码', whitespace: true }] }]"> v-decorator="['password', { rules: [{ required: true, message: '请输入密码', whitespace: true }] }]">
<!-- --> <!-- -->
<a-icon slot="prefix" type="lock" /> <a-icon slot="prefix" type="lock" />
@ -41,7 +41,7 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane tab="手机号登录" key="2"> <a-tab-pane tab="手机号登录" key="2" v-if="false">
<a-form-item> <a-form-item>
<a-input size="large" placeholder="mobile number"> <a-input size="large" placeholder="mobile number">
<a-icon slot="prefix" type="mobile" /> <a-icon slot="prefix" type="mobile" />
@ -61,7 +61,7 @@
</a-form-item> </a-form-item>
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
<div> <div v-if="false">
<a-checkbox :checked="true">自动登录</a-checkbox> <a-checkbox :checked="true">自动登录</a-checkbox>
<a style="float: right">忘记密码</a> <a style="float: right">忘记密码</a>
</div> </div>
@ -69,7 +69,7 @@
<a-button :loading="logging" style="width: 100%;margin-top: 24px" size="large" htmlType="submit" <a-button :loading="logging" style="width: 100%;margin-top: 24px" size="large" htmlType="submit"
type="primary">登录</a-button> type="primary">登录</a-button>
</a-form-item> </a-form-item>
<div> <div v-if="false">
其他登录方式 其他登录方式
<a-icon class="icon" type="alipay-circle" /> <a-icon class="icon" type="alipay-circle" />
<a-icon class="icon" type="taobao-circle" /> <a-icon class="icon" type="taobao-circle" />
@ -107,10 +107,10 @@ export default {
logging: false, logging: false,
error: '', error: '',
form: this.$form.createForm(this), form: this.$form.createForm(this),
mobileTest: "18607684660", mobileTest: "",
user: { user: {
mobile: '18192398883', mobile: '',
password: '888888' password: ''
}, },
Project: [], Project: [],
companyShow: false, companyShow: false,