|
@@ -1,8 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="x-scol login_back_group" style="overflow-x: hidden">
|
|
<div class="x-scol login_back_group" style="overflow-x: hidden">
|
|
- <!-- <button @click="logi">ceshi1</button> -->
|
|
|
|
<TopPage></TopPage>
|
|
<TopPage></TopPage>
|
|
- <el-row :gutter="24" class="x-scol all-height">
|
|
|
|
|
|
+ <el-row :gutter="24" class="x-scol all-height" v-show="registerFlag">
|
|
<el-col :span="7">
|
|
<el-col :span="7">
|
|
<div class>
|
|
<div class>
|
|
<div class>
|
|
<div class>
|
|
@@ -27,24 +26,11 @@
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- <el-row class="login_title_title_middle">
|
|
|
|
- <el-col :span="2" class="login_title_title_middle_i"
|
|
|
|
- ><img
|
|
|
|
- class="login_middle_title_img"
|
|
|
|
- src="../assets/newImage/logo_icon.png"
|
|
|
|
- alt=""
|
|
|
|
- /></el-col>
|
|
|
|
- <el-col :span="22" class="login_line_heigth">
|
|
|
|
- <span class="login_middle_title"
|
|
|
|
- >心理效能增强系统</span
|
|
|
|
- ></el-col
|
|
|
|
- >
|
|
|
|
- </el-row>
|
|
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" style="margin-top: 30px">
|
|
<el-col :span="24" style="margin-top: 30px">
|
|
<el-row :span="24">
|
|
<el-row :span="24">
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
- <el-col :span="20">
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
|
|
+ <el-col :span="16">
|
|
<div
|
|
<div
|
|
class="padding-logo center-logo"
|
|
class="padding-logo center-logo"
|
|
style="margin-top: 30px"
|
|
style="margin-top: 30px"
|
|
@@ -61,60 +47,57 @@
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row :span="24" style="margin-top: 30px">
|
|
<el-row :span="24" style="margin-top: 30px">
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
- <el-col :span="20">
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
|
|
+ <el-col :span="16">
|
|
<div class="padding-logo center-logo">
|
|
<div class="padding-logo center-logo">
|
|
<el-input
|
|
<el-input
|
|
- prefix-icon="el-icon-s-custom"
|
|
|
|
placeholder="请输入编号"
|
|
placeholder="请输入编号"
|
|
v-model="account"
|
|
v-model="account"
|
|
clearable
|
|
clearable
|
|
></el-input>
|
|
></el-input>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row :span="24" style="margin-top: 30px">
|
|
<el-row :span="24" style="margin-top: 30px">
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
- <el-col :span="20">
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
|
|
+ <el-col :span="16">
|
|
<div class="padding-logo center-logo">
|
|
<div class="padding-logo center-logo">
|
|
<el-input
|
|
<el-input
|
|
- prefix-icon="el-icon-unlock"
|
|
|
|
placeholder="请输入密码"
|
|
placeholder="请输入密码"
|
|
v-model="password"
|
|
v-model="password"
|
|
show-password
|
|
show-password
|
|
></el-input>
|
|
></el-input>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row
|
|
|
|
+ :span="24"
|
|
|
|
+ style="margin-top: 5px; margin-bottom: 10px"
|
|
|
|
+ >
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
|
|
+ <el-col :span="16" v-show="userType === '1'">
|
|
|
|
+ <div @click="registerFlag = false">
|
|
|
|
+ <span class="registerButton">没有账号?点击注册</span>
|
|
|
|
+ </div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row :span="24" style="margin-top: 30px">
|
|
<el-row :span="24" style="margin-top: 30px">
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
- <el-col :span="20">
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
|
|
+ <el-col :span="16">
|
|
<div
|
|
<div
|
|
class="padding-logo center-logo login_button"
|
|
class="padding-logo center-logo login_button"
|
|
@click="userLoginV2"
|
|
@click="userLoginV2"
|
|
>
|
|
>
|
|
<span type="primary" class="loginBu">登录</span>
|
|
<span type="primary" class="loginBu">登录</span>
|
|
</div>
|
|
</div>
|
|
- <!-- <span style="color:#ffffff;position:absolute;float:right">点击登录可实现登陆操作</span> -->
|
|
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- <el-row
|
|
|
|
- :span="24"
|
|
|
|
- style="margin-top: 5px; margin-bottom: 40px"
|
|
|
|
- >
|
|
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
- <el-col :span="20" v-show="userType === '1'">
|
|
|
|
- <div @click="centerDialogVisible = true">
|
|
|
|
- <span class="registerButton">没有账号?点击注册</span>
|
|
|
|
- </div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="2"> </el-col>
|
|
|
|
|
|
+ <el-col :span="4"> </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -131,8 +114,144 @@
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
- <!-- <el-footer class="buttLlo">Copyright© 北京决明科技有限公司</el-footer> -->
|
|
|
|
|
|
+ <el-footer class="buttLlo">Copyright© 北京决明科技有限公司</el-footer>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
+ <div class="registerTop" v-show="!registerFlag">
|
|
|
|
+ <div class="registerDes">
|
|
|
|
+ <div class="registerIcon"></div>
|
|
|
|
+
|
|
|
|
+ <div class="registerFont"> 注册账号</div>
|
|
|
|
+ </div>
|
|
|
|
+ <el-form
|
|
|
|
+ :model="ruleForm"
|
|
|
|
+ :rules="rules"
|
|
|
|
+ ref="ruleForm"
|
|
|
|
+ :inline="true"
|
|
|
|
+ label-width="100px"
|
|
|
|
+ class="demo-ruleForm"
|
|
|
|
+ >
|
|
|
|
+ <div class="registerContent">
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">姓名</div>
|
|
|
|
+ <el-form-item label="" class="registerInput" prop="name">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="ruleForm.name"
|
|
|
|
+ placeholder="请输入姓名"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">编号</div>
|
|
|
|
+ <el-form-item label="" class="registerInput" prop="num">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="ruleForm.num"
|
|
|
|
+ placeholder="请输入编号"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerContent">
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">年龄</div>
|
|
|
|
+ <el-form-item label="" class="registerInput" prop="age">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="ruleForm.age"
|
|
|
|
+ placeholder="请输入年龄"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">单位</div>
|
|
|
|
+ <el-form-item label="" class="registerInput" prop="unit">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="ruleForm.unit"
|
|
|
|
+ placeholder="请输入单位"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerContent">
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">性别</div>
|
|
|
|
+ <el-form-item label="" class="registerInput" prop="sex">
|
|
|
|
+ <el-select
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ v-model="ruleForm.sex"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ >
|
|
|
|
+ <el-option label="女" value="0"></el-option>
|
|
|
|
+ <el-option label="男" value="1"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <!-- <el-form-item label="" prop="sex">
|
|
|
|
+ <el-radio-group v-model="ruleForm.sex">
|
|
|
|
+ <el-radio label="男" value="1"></el-radio>
|
|
|
|
+ <el-radio label="女" value="0"></el-radio>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-form-item> -->
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">婚恋情况</div>
|
|
|
|
+ <el-form-item label="" prop="marriageSituation">
|
|
|
|
+ <el-select
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ v-model="ruleForm.marriageSituation"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ >
|
|
|
|
+ <el-option label="已婚" value="0"></el-option>
|
|
|
|
+ <el-option label="未婚" value="1"></el-option>
|
|
|
|
+ <el-option label="离异" value="2"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerContent">
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">密码</div>
|
|
|
|
+ <el-form-item label="" prop="userPassword">
|
|
|
|
+ <el-input
|
|
|
|
+ show-password
|
|
|
|
+ placeholder="请输入密码"
|
|
|
|
+ v-model="ruleForm.userPassword"
|
|
|
|
+ type="password"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerVertical">
|
|
|
|
+ <div class="registerTitle">确认密码</div>
|
|
|
|
+ <el-form-item label="" prop="userRePassword">
|
|
|
|
+ <el-input
|
|
|
|
+ show-password
|
|
|
|
+ placeholder="请输入确认密码"
|
|
|
|
+ v-model="ruleForm.userRePassword"
|
|
|
|
+ type="password"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerContent">
|
|
|
|
+ <div class="registerRow">
|
|
|
|
+ <el-button class="registerLoginCancle" @click="handleClose"
|
|
|
|
+ >取 消</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ class="registerLoginCancle"
|
|
|
|
+ @click="resetForm('ruleForm')"
|
|
|
|
+ >重 置</el-button
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
|
|
+ <div class="registerRowLogin">
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ class="registerRowLoginButton"
|
|
|
|
+ style="margin-right: 10px"
|
|
|
|
+ @click="submitFormV2('ruleForm')"
|
|
|
|
+ >登 录</el-button
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form>
|
|
|
|
+ </div>
|
|
<el-dialog
|
|
<el-dialog
|
|
title="注册账号"
|
|
title="注册账号"
|
|
:before-close="handleClose"
|
|
:before-close="handleClose"
|
|
@@ -226,7 +345,7 @@ export default {
|
|
data() {
|
|
data() {
|
|
var checkUserRePassword = (rule, value, callback) => {
|
|
var checkUserRePassword = (rule, value, callback) => {
|
|
if (!value) {
|
|
if (!value) {
|
|
- return callback(new Error("不能为空"));
|
|
|
|
|
|
+ return callback(new Error("密码不能为空"));
|
|
} else {
|
|
} else {
|
|
if (value.length >= 6 && value.length <= 18) {
|
|
if (value.length >= 6 && value.length <= 18) {
|
|
if (value == this.ruleForm.userPassword) {
|
|
if (value == this.ruleForm.userPassword) {
|
|
@@ -270,11 +389,12 @@ export default {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
var checkUserPassword = (rule, value, callback) => {
|
|
var checkUserPassword = (rule, value, callback) => {
|
|
|
|
+ console.log(!value);
|
|
if (!value) {
|
|
if (!value) {
|
|
return callback(new Error("密码不能为空"));
|
|
return callback(new Error("密码不能为空"));
|
|
} else {
|
|
} else {
|
|
if (value.length >= 6 && value.length <= 18) {
|
|
if (value.length >= 6 && value.length <= 18) {
|
|
- callback();
|
|
|
|
|
|
+ return callback();
|
|
} else {
|
|
} else {
|
|
return callback(new Error("长度大于等于6且小于等于18"));
|
|
return callback(new Error("长度大于等于6且小于等于18"));
|
|
}
|
|
}
|
|
@@ -284,6 +404,8 @@ export default {
|
|
centerDialogVisible: false,
|
|
centerDialogVisible: false,
|
|
src: require("../assets/bg.jpg"),
|
|
src: require("../assets/bg.jpg"),
|
|
srcLogo: require("../assets/logo1.png"),
|
|
srcLogo: require("../assets/logo1.png"),
|
|
|
|
+ //注册页面是否显示
|
|
|
|
+ registerFlag: true,
|
|
userType: "1",
|
|
userType: "1",
|
|
password: "",
|
|
password: "",
|
|
account: "",
|
|
account: "",
|
|
@@ -337,7 +459,7 @@ export default {
|
|
{
|
|
{
|
|
validator: checkUserPassword,
|
|
validator: checkUserPassword,
|
|
required: true,
|
|
required: true,
|
|
- message: "请填写密码",
|
|
|
|
|
|
+
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
@@ -345,7 +467,7 @@ export default {
|
|
{
|
|
{
|
|
validator: checkUserRePassword,
|
|
validator: checkUserRePassword,
|
|
required: true,
|
|
required: true,
|
|
- message: "请填写确认密码",
|
|
|
|
|
|
+
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
@@ -384,6 +506,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
handleClose() {
|
|
handleClose() {
|
|
this.resetForm("ruleForm");
|
|
this.resetForm("ruleForm");
|
|
|
|
+ this.registerFlag = true;
|
|
this.centerDialogVisible = false;
|
|
this.centerDialogVisible = false;
|
|
},
|
|
},
|
|
// 创建用户表
|
|
// 创建用户表
|
|
@@ -569,13 +692,19 @@ IF NOT EXISTS t_user_table (
|
|
},
|
|
},
|
|
(res) => {
|
|
(res) => {
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
- that.resetForm("ruleForm");
|
|
|
|
that.centerDialogVisible = false;
|
|
that.centerDialogVisible = false;
|
|
that.$message({
|
|
that.$message({
|
|
message: "注册成功",
|
|
message: "注册成功",
|
|
type: "success",
|
|
type: "success",
|
|
duration: 800,
|
|
duration: 800,
|
|
});
|
|
});
|
|
|
|
+ that.userRegisterLoginV2(
|
|
|
|
+ that.ruleForm.num,
|
|
|
|
+ that.ruleForm.userPassword,
|
|
|
|
+ that.userType
|
|
|
|
+ );
|
|
|
|
+ //注册成功后需要调用登录接口
|
|
|
|
+ that.resetForm("ruleForm");
|
|
// this.$message.success("注册成功");
|
|
// this.$message.success("注册成功");
|
|
} else {
|
|
} else {
|
|
this.$message.error("访问服务器失败!");
|
|
this.$message.error("访问服务器失败!");
|
|
@@ -587,6 +716,46 @@ IF NOT EXISTS t_user_table (
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ userRegisterLoginV2(account, password, userType) {
|
|
|
|
+ let that = this;
|
|
|
|
+ that.$http.post(
|
|
|
|
+ `v1/user/login`,
|
|
|
|
+ {
|
|
|
|
+ identifier: account,
|
|
|
|
+ password: that.$md5(password),
|
|
|
|
+ role: parseInt(userType) - 1,
|
|
|
|
+ },
|
|
|
|
+ (res) => {
|
|
|
|
+ if (res.data.code == 200) {
|
|
|
|
+ sessionStorage.setItem("token", res.data.data.token);
|
|
|
|
+ if (that.userType == "1") {
|
|
|
|
+ sessionStorage.setItem("num", account);
|
|
|
|
+ sessionStorage.setItem("pass", that.$md5(password));
|
|
|
|
+ sessionStorage.setItem("userType", "1");
|
|
|
|
+ sessionStorage.setItem(
|
|
|
|
+ "isMarried",
|
|
|
|
+ res.data.data.marriageSituation
|
|
|
|
+ );
|
|
|
|
+ that.$router.push({
|
|
|
|
+ path: "/mainTable",
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ //当type等于2时跳转到我的测试页面
|
|
|
|
+
|
|
|
|
+ if (that.userType == "2") {
|
|
|
|
+ // sessionStorage.setItem("num", that.account);
|
|
|
|
+ sessionStorage.setItem("num", that.account);
|
|
|
|
+ sessionStorage.setItem("pass", that.$md5(that.password));
|
|
|
|
+ sessionStorage.setItem("userType", "2");
|
|
|
|
+ that.$router.push({ path: "/mainTable" });
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error("访问服务器失败!");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+
|
|
userLoginV2() {
|
|
userLoginV2() {
|
|
let that = this;
|
|
let that = this;
|
|
if (that.account === "" || that.account === null) {
|
|
if (that.account === "" || that.account === null) {
|
|
@@ -597,12 +766,6 @@ IF NOT EXISTS t_user_table (
|
|
this.$message.error("密码不能为空");
|
|
this.$message.error("密码不能为空");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- //临时代码------------
|
|
|
|
- // sessionStorage.setItem("userType", "2");
|
|
|
|
- // that.$router.push({
|
|
|
|
- // path: "/mainTable",
|
|
|
|
- // });
|
|
|
|
- //临时代码------------
|
|
|
|
that.$http.post(
|
|
that.$http.post(
|
|
`v1/user/login`,
|
|
`v1/user/login`,
|
|
{
|
|
{
|
|
@@ -698,6 +861,14 @@ IF NOT EXISTS t_user_table (
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style>
|
|
<style>
|
|
|
|
+.el-select-dropdown__item.selected {
|
|
|
|
+ color: #3f66dd !important;
|
|
|
|
+ font-weight: 500 !important;
|
|
|
|
+}
|
|
|
|
+.el-select-dropdown__item {
|
|
|
|
+ color: #3f66dd !important;
|
|
|
|
+}
|
|
|
|
+
|
|
.el-divider--horizontal {
|
|
.el-divider--horizontal {
|
|
display: block;
|
|
display: block;
|
|
height: 0.1px !important;
|
|
height: 0.1px !important;
|
|
@@ -710,15 +881,14 @@ IF NOT EXISTS t_user_table (
|
|
</style>
|
|
</style>
|
|
<style scoped>
|
|
<style scoped>
|
|
.login_back_group >>> .el-select-dropdown {
|
|
.login_back_group >>> .el-select-dropdown {
|
|
- background-color: #050505 !important;
|
|
|
|
|
|
+ background-color: #ffffff !important;
|
|
border: 0px;
|
|
border: 0px;
|
|
}
|
|
}
|
|
.login_back_group >>> .el-select-dropdown__item.hover {
|
|
.login_back_group >>> .el-select-dropdown__item.hover {
|
|
- background-color: #171818 !important;
|
|
|
|
-}
|
|
|
|
-.el-input__inner {
|
|
|
|
- color: #ddd6d6 !important;
|
|
|
|
|
|
+ background-color: #ffffff !important;
|
|
|
|
+ /* color:#08c8cd !important; */
|
|
}
|
|
}
|
|
|
|
+
|
|
/*
|
|
/*
|
|
/* 直接调用css,保证隐藏滚动条的同时还可以继续通过滚轮向下翻 */
|
|
/* 直接调用css,保证隐藏滚动条的同时还可以继续通过滚轮向下翻 */
|
|
::-webkit-scrollbar {
|
|
::-webkit-scrollbar {
|
|
@@ -743,21 +913,22 @@ IF NOT EXISTS t_user_table (
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
.buttLlo {
|
|
.buttLlo {
|
|
- color: #555;
|
|
|
|
|
|
+ color: #ffffff;
|
|
text-align: center;
|
|
text-align: center;
|
|
left: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
right: 0px;
|
|
-
|
|
|
|
- bottom: 10px;
|
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ bottom: 0px;
|
|
position: fixed;
|
|
position: fixed;
|
|
}
|
|
}
|
|
.registerButton {
|
|
.registerButton {
|
|
padding-top: 1rem;
|
|
padding-top: 1rem;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- color: #08c8cd;
|
|
|
|
|
|
+ color: #ffffff;
|
|
display: block;
|
|
display: block;
|
|
- text-align: left;
|
|
|
|
|
|
+ text-align: right;
|
|
font-size: 10px;
|
|
font-size: 10px;
|
|
|
|
+ border-radius: 0;
|
|
}
|
|
}
|
|
.login_back_group {
|
|
.login_back_group {
|
|
width: 100vw;
|
|
width: 100vw;
|
|
@@ -768,7 +939,7 @@ IF NOT EXISTS t_user_table (
|
|
}
|
|
}
|
|
|
|
|
|
.login-middle-bg {
|
|
.login-middle-bg {
|
|
- background: #2f406e;
|
|
|
|
|
|
+ /* background: #2f406e; */
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
}
|
|
}
|
|
.login_middle_title {
|
|
.login_middle_title {
|
|
@@ -790,15 +961,26 @@ IF NOT EXISTS t_user_table (
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
.login_back_group >>> .login_select {
|
|
.login_back_group >>> .login_select {
|
|
- background: #000000 !important;
|
|
|
|
|
|
+ background: #1d55ff !important;
|
|
|
|
+ /* color:#1D55FF ; */
|
|
|
|
+
|
|
/* border-radius: 4px; */
|
|
/* border-radius: 4px; */
|
|
}
|
|
}
|
|
.login_back_group >>> .el-input--suffix .el-input__inner {
|
|
.login_back_group >>> .el-input--suffix .el-input__inner {
|
|
padding-right: 0px;
|
|
padding-right: 0px;
|
|
- background: #000000;
|
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ color: #1d55ff;
|
|
|
|
+ border-radius: 4px !important;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.login_back_group >>> .el-input__inner::placeholder {
|
|
|
|
+ padding-right: 0px;
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ color: #1d55ff;
|
|
|
|
+ opacity: 0.5;
|
|
}
|
|
}
|
|
.login_back_group >>> .el-input__inner {
|
|
.login_back_group >>> .el-input__inner {
|
|
- border: 1px solid #000000 !important;
|
|
|
|
|
|
+ border: 1px solid #ffffff !important;
|
|
border-radius: 0px;
|
|
border-radius: 0px;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -808,9 +990,130 @@ IF NOT EXISTS t_user_table (
|
|
}
|
|
}
|
|
.login_button {
|
|
.login_button {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- background: #08c8cd;
|
|
|
|
|
|
+ background: #1d55ff;
|
|
line-height: 40px;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
text-align: center;
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.registerTop {
|
|
|
|
+ width: 60%;
|
|
|
|
+ margin-left: 20%;
|
|
|
|
+ margin-top: 13%;
|
|
|
|
+}
|
|
|
|
+.registerIcon {
|
|
|
|
+ width: 6px;
|
|
|
|
+ height: 28px;
|
|
|
|
+ background: #ffffff;
|
|
|
|
+}
|
|
|
|
+.registerFont {
|
|
|
|
+ font-size: 28px;
|
|
|
|
+ color: #ffffff;
|
|
|
|
+}
|
|
|
|
+.registerDes {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+ align-items: center;
|
|
|
|
+}
|
|
|
|
+.registerContent {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+}
|
|
|
|
+.registerVertical {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: left;
|
|
|
|
+}
|
|
|
|
+.registerTitle {
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ color: #ffffff;
|
|
|
|
+}
|
|
|
|
+.registerVertical >>> .el-input__inner {
|
|
|
|
+ width: 320px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.registerRow {
|
|
|
|
+ width: 320px;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+}
|
|
|
|
+.registerRowLogin {
|
|
|
|
+ width: 320px;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+}
|
|
|
|
+.registerRowLoginButton {
|
|
|
|
+ background-color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerRowLoginButton:hover {
|
|
|
|
+ background-color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerRowLoginButton:active {
|
|
|
|
+ background-color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerRowLoginButton:focus {
|
|
|
|
+ background-color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.registerLoginCancle {
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerLoginCancle:hover {
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerLoginCancle:active {
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerLoginCancle:focus {
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ color: #1d55ff;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ width: 120px;
|
|
|
|
+ border: 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.registerInput >>> .el-input__inner {
|
|
|
|
+ color: #1d55ff;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|