|
@@ -1,18 +1,26 @@
|
|
<template>
|
|
<template>
|
|
<div class="binding-container">
|
|
<div class="binding-container">
|
|
- <div>
|
|
|
|
- <el-alert title="您的微信号未绑定过系统,请先绑定一个账号" :closable="false" type="warning" center show-icon />
|
|
|
|
- <el-form label-width="80px" size="mini" style="margin-top:10px" ref="formRef" :model="formData" :rules="rules">
|
|
|
|
- <el-form-item label="账号:" prop="username">
|
|
|
|
- <el-input v-model="formData.username" placeholder="账号" />
|
|
|
|
|
|
+ <div class="login-container">
|
|
|
|
+ <h3>请登录采销365账号 与当前微信绑定</h3>
|
|
|
|
+ <el-form label-width="0px" style="margin-top:10px" ref="formRef" :model="formData" :rules="rules">
|
|
|
|
+ <el-form-item label="" prop="username">
|
|
|
|
+ <el-input v-model="formData.username" placeholder="账号">
|
|
|
|
+ <template slot="prefix">
|
|
|
|
+ <i class="el-icon-user" style="padding-left:5px;color:#087af5"></i>
|
|
|
|
+ </template>
|
|
|
|
+ </el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="密码:" prop="password">
|
|
|
|
- <el-input type="password" v-model="formData.password" placeholder="密码" />
|
|
|
|
|
|
+ <el-form-item prop="password">
|
|
|
|
+ <el-input type="password" v-model="formData.password" placeholder="密码">
|
|
|
|
+ <template slot="prefix">
|
|
|
|
+ <i class="el-icon-key" style="padding-left:5px;color:#087af5"></i>
|
|
|
|
+ </template>
|
|
|
|
+ </el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item style="display: flex;justify-content: flex-end;">
|
|
|
|
- <el-button type="primary" @click="submit">登录</el-button>
|
|
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-button type="primary" @click="submit" style="width:100%;border-radius:15px;background-color:#087af5"">登 录</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
@@ -139,13 +147,32 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.binding-container {
|
|
.binding-container {
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
+ position: fixed;
|
|
|
|
+ top: 0%;
|
|
|
|
+ width:100vw;
|
|
|
|
+ height: 100vh;
|
|
|
|
+ background: url("~@/assets/bg-phone.jpg") no-repeat;
|
|
|
|
+ background-size:cover;
|
|
|
|
|
|
- /deep/.el-form {
|
|
|
|
- width: 95%;
|
|
|
|
- max-width: 500px;
|
|
|
|
|
|
+ .login-container{
|
|
|
|
+
|
|
|
|
+ h3{
|
|
|
|
+ text-align: center;
|
|
|
|
+ color:#087af5;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ width:90%;
|
|
|
|
+ max-width: 428px;
|
|
|
|
+ background:#fff;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 10px 40px;
|
|
|
|
+ position: absolute;
|
|
|
|
+
|
|
|
|
+ top:50%;
|
|
|
|
+ left:50%;
|
|
|
|
+ transform:translate(-50%,-50%);
|
|
|
|
+ border-radius:10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|