Commit d7e57d68 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/huaguohao/crm into master

parents ec63a3bd ebc43452
...@@ -6,14 +6,18 @@ export default { ...@@ -6,14 +6,18 @@ export default {
apiurl: '' apiurl: ''
}, },
install(Vue, options) { install(Vue, options) {
Vue.prototype.isOnline = function() { Vue.prototype.isOnline = function () {
return process.env.NODE_ENV !== 'development'; return process.env.NODE_ENV !== 'development';
}, },
//域名管理对象 //域名管理对象
Vue.prototype.domainManager = function() { Vue.prototype.domainManager = function () {
let domainUrl = "http://192.168.10.2:8098" //CRM API
let domainUrl = "";
domainUrl = "http://192.168.10.2:8098";
//domainUrl = "http://localhost:5003";
let locationName = window.location.hostname; let locationName = window.location.hostname;
let domainPostUrl = "http://192.168.10.2:8083" //旅游ERPApi
let domainPostUrl = "http://192.168.10.214"
if (this.isOnline()) { if (this.isOnline()) {
if (window.location.host.indexOf('fcrmyx.oytour.com') != -1) { if (window.location.host.indexOf('fcrmyx.oytour.com') != -1) {
domainUrl = "http://crm.oytour.com" domainUrl = "http://crm.oytour.com"
...@@ -47,7 +51,7 @@ export default { ...@@ -47,7 +51,7 @@ export default {
}; };
return obj; return obj;
}, },
Vue.prototype.GetLocalFile = function(cmd, msg, fileName, successCall) { Vue.prototype.GetLocalFile = function (cmd, msg, fileName, successCall) {
var apiurl = this.domainManager().LocalFileStreamDownLoadUrl; var apiurl = this.domainManager().LocalFileStreamDownLoadUrl;
var timestamp = (new Date()).valueOf(); var timestamp = (new Date()).valueOf();
if (!localStorage.userInfo && localStorage.userInfo != "" && this.$route.path.toLowerCase() != "/login") { if (!localStorage.userInfo && localStorage.userInfo != "" && this.$route.path.toLowerCase() != "/login") {
...@@ -83,10 +87,10 @@ export default { ...@@ -83,10 +87,10 @@ export default {
document.body.appendChild(link); document.body.appendChild(link);
link.click(); link.click();
successCall(res); successCall(res);
}).catch(function(res) {}); }).catch(function (res) {});
}, },
//价钱格式化,三位数逗号分隔,保留两位小数 duanjun //价钱格式化,三位数逗号分隔,保留两位小数 duanjun
Vue.prototype.moneyFormat = function(value) { Vue.prototype.moneyFormat = function (value) {
let nStr = Number(value).toFixed(2) let nStr = Number(value).toFixed(2)
nStr += ''; nStr += '';
let x = nStr.split('.'); let x = nStr.split('.');
...@@ -99,7 +103,7 @@ export default { ...@@ -99,7 +103,7 @@ export default {
return x1 + x2; return x1 + x2;
}, },
//消息成功提示 //消息成功提示
Vue.prototype.Success = function(msg) { Vue.prototype.Success = function (msg) {
this.$message({ this.$message({
message: msg, message: msg,
duration: 2000, duration: 2000,
...@@ -107,7 +111,7 @@ export default { ...@@ -107,7 +111,7 @@ export default {
}); });
}, },
//错误提示 //错误提示
Vue.prototype.Error = function(msg) { Vue.prototype.Error = function (msg) {
this.$message({ this.$message({
message: msg, message: msg,
duration: 2000, duration: 2000,
...@@ -116,7 +120,7 @@ export default { ...@@ -116,7 +120,7 @@ export default {
}, },
//一般提示 //一般提示
Vue.prototype.Info = function(msg) { Vue.prototype.Info = function (msg) {
this.$message({ this.$message({
message: msg, message: msg,
duration: 2000, duration: 2000,
...@@ -124,7 +128,7 @@ export default { ...@@ -124,7 +128,7 @@ export default {
}); });
}, },
//警告提示 //警告提示
Vue.prototype.Warning = function(msg) { Vue.prototype.Warning = function (msg) {
this.$message({ this.$message({
message: msg, message: msg,
duration: 2000, duration: 2000,
...@@ -132,7 +136,7 @@ export default { ...@@ -132,7 +136,7 @@ export default {
}); });
}, },
//Confirm //Confirm
Vue.prototype.Confirm = function(msg, callback) { Vue.prototype.Confirm = function (msg, callback) {
this.$confirm(msg, "提示", { this.$confirm(msg, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
...@@ -152,7 +156,7 @@ export default { ...@@ -152,7 +156,7 @@ export default {
//type : m_filt 填充 m_w 宽度固定 高度不固定 m_h 高度固定 宽度不固定 //type : m_filt 填充 m_w 宽度固定 高度不固定 m_h 高度固定 宽度不固定
// w : 宽 // w : 宽
// h : 高 // h : 高
Vue.prototype.compressImg = function(path, type, w, h) { Vue.prototype.compressImg = function (path, type, w, h) {
let url = this.domainManager().UploadUrl; let url = this.domainManager().UploadUrl;
let poise = 'width='; let poise = 'width=';
w = w ? w : '' w = w ? w : ''
...@@ -165,13 +169,13 @@ export default { ...@@ -165,13 +169,13 @@ export default {
return path.split('?')[0] + '?width=' + w; return path.split('?')[0] + '?width=' + w;
} }
//打开新窗口连接 //打开新窗口连接
Vue.prototype.OpenNewUrl = function(URL) { Vue.prototype.OpenNewUrl = function (URL) {
if (URL != '') { if (URL != '') {
window.open('http://' + URL, '_blank'); window.open('http://' + URL, '_blank');
} }
} }
//HTTP提交数据 //旅游ERP接口
Vue.prototype.apipost2 = function(cmd, msg, successCall, faildCall, isOnline) { Vue.prototype.apipost2 = function (cmd, msg, successCall, faildCall, isOnline) {
if (msg == null || msg == "") { if (msg == null || msg == "") {
msg = {} msg = {}
} }
...@@ -218,7 +222,7 @@ export default { ...@@ -218,7 +222,7 @@ export default {
} }
}, faildCall) }, faildCall)
} }
Vue.prototype.apipost = function(cmd, msg, successCall, faildCall) { Vue.prototype.apipost = function (cmd, msg, successCall, faildCall) {
if (msg == null || msg == "") { if (msg == null || msg == "") {
msg = {} msg = {}
} }
...@@ -234,13 +238,11 @@ export default { ...@@ -234,13 +238,11 @@ export default {
var md5Str = md5(`cmd=${cmd}&msg=${encodeMsg}&timestamp=${timestamp}&token=${token}&key=${key}`); var md5Str = md5(`cmd=${cmd}&msg=${encodeMsg}&timestamp=${timestamp}&token=${token}&key=${key}`);
var postData = { var postData = {
"msg": msg, "msg": msg,
// "cmd": cmd,
"timestamp": timestamp, "timestamp": timestamp,
"token": token, "token": token,
"sign": md5Str "sign": md5Str
} }
if (localStorage.g && localStorage.g != 'undefined') { if (localStorage.g && localStorage.g != 'undefined') {
// postData.groupId = parseInt(JSON.parse(localStorage.g).i)
postData.groupId = 2; postData.groupId = 2;
} }
this.$http.post(apiurl, postData, { this.$http.post(apiurl, postData, {
...@@ -261,7 +263,7 @@ export default { ...@@ -261,7 +263,7 @@ export default {
} }
}, faildCall) }, faildCall)
}, },
Vue.prototype.apiJavaPost = function(cmd, msg, successCall, faildCall) { Vue.prototype.apiJavaPost = function (cmd, msg, successCall, faildCall) {
if (msg == null || msg == "") { if (msg == null || msg == "") {
msg = {} msg = {}
} }
...@@ -270,8 +272,7 @@ export default { ...@@ -270,8 +272,7 @@ export default {
this.apiurl = apiurl; this.apiurl = apiurl;
var token = ""; var token = "";
var key = ""; var key = "";
// let userInfo = localStorage.userInfo ? JSON.parse(localStorage.userInfo) : ''
// let uid = userInfo.accountId ? userInfo.accountId : 0
if (this.getLocalStorage() != null) { if (this.getLocalStorage() != null) {
token = this.getLocalStorage().token; token = this.getLocalStorage().token;
key = this.getLocalStorage().secretKey; key = this.getLocalStorage().secretKey;
...@@ -286,7 +287,7 @@ export default { ...@@ -286,7 +287,7 @@ export default {
"sign": md5Str "sign": md5Str
} }
if (localStorage.g && localStorage.g != 'undefined') { if (localStorage.g && localStorage.g != 'undefined') {
// postData.groupId = parseInt(JSON.parse(localStorage.g).i)
postData.groupId = 2; postData.groupId = 2;
} }
this.$http.post(apiurl, postData, { this.$http.post(apiurl, postData, {
...@@ -297,11 +298,11 @@ export default { ...@@ -297,11 +298,11 @@ export default {
}) })
.then(res => { .then(res => {
if (res.data.resultCode == 10000 || res.data.resultCode == 10001) { if (res.data.resultCode == 10000 || res.data.resultCode == 10001) {
// if (window.location.href.indexOf('IntegralMall') === -1 && window.location.href.indexOf('productDetail') === -1) {
this.$router.push({ this.$router.push({
path: '/login' path: '/login'
}) })
// }
} else if (res.data.resultCode == 10005) { } else if (res.data.resultCode == 10005) {
this.$router.go(-1) this.$router.go(-1)
} else { } else {
...@@ -312,16 +313,8 @@ export default { ...@@ -312,16 +313,8 @@ export default {
} }
}, faildCall) }, faildCall)
}, },
Vue.prototype.getAction = function(actionId, lineId) { Vue.prototype.getAction = function (actionId, lineId) {
// if(actionId==1){
// console.log("浏览签证产品",actionId)
// }
// if(actionId==7){
// console.log("浏览跟团游",actionId)
// }
// if(actionId==9){
// console.log("浏览跟团游下单",actionId)
// }
let msg = {}; let msg = {};
msg.actionId = actionId; msg.actionId = actionId;
if (lineId) { if (lineId) {
...@@ -331,7 +324,6 @@ export default { ...@@ -331,7 +324,6 @@ export default {
this.Travelload = false; this.Travelload = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -339,7 +331,7 @@ export default { ...@@ -339,7 +331,7 @@ export default {
} }
//验证只能输入2位小数 //验证只能输入2位小数
Vue.prototype.checkPrice = function(item, filed) { Vue.prototype.checkPrice = function (item, filed) {
var value = ""; var value = "";
if (typeof item[filed] == "string") { if (typeof item[filed] == "string") {
value = item[filed]; value = item[filed];
...@@ -360,7 +352,7 @@ export default { ...@@ -360,7 +352,7 @@ export default {
item[filed] = value; item[filed] = value;
} }
//验证只能输入整数 //验证只能输入整数
Vue.prototype.checkInteger = function(item, filed) { Vue.prototype.checkInteger = function (item, filed) {
var value = ""; var value = "";
if (typeof item[filed] == "string") { if (typeof item[filed] == "string") {
value = item[filed]; value = item[filed];
...@@ -370,6 +362,5 @@ export default { ...@@ -370,6 +362,5 @@ export default {
value = value.replace(this.$commonUtils.Regex.isInteger, ""); value = value.replace(this.$commonUtils.Regex.isInteger, "");
item[filed] = value; item[filed] = value;
} }
} }
} }
\ No newline at end of file
...@@ -10,9 +10,8 @@ ...@@ -10,9 +10,8 @@
</div> </div>
<div class="publisher">徐总</div> <div class="publisher">徐总</div>
<div class="job">总经理</div> <div class="job">总经理</div>
<div <div class="content">職場上成功者與失敗者最大的分別就是,前者找機會,後者找藉口,今日的你痛恨每天上班「度日如年」,將來的你會感激經歷過這一切,你練成了更強大的自己,玻璃心不再怕碎。
class="content" </div>
>職場上成功者與失敗者最大的分別就是,前者找機會,後者找藉口,今日的你痛恨每天上班「度日如年」,將來的你會感激經歷過這一切,你練成了更強大的自己,玻璃心不再怕碎。</div>
</div> </div>
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
...@@ -28,13 +27,8 @@ ...@@ -28,13 +27,8 @@
<div class="mu-text-field has-label"> <div class="mu-text-field has-label">
<div class="mu-text-field-content"> <div class="mu-text-field-content">
<div class="mu-text-field-label">账号</div> <div class="mu-text-field-label">账号</div>
<input <input type="text" v-model="account" class="mu-text-field-input" @focus="accountStatus=true"
type="text" @blur="accountStatus=false" />
v-model="account"
class="mu-text-field-input"
@focus="accountStatus=true"
@blur="accountStatus=false"
/>
<div> <div>
<hr class="mu-text-field-line" /> <hr class="mu-text-field-line" />
<hr class="mu-text-field-focus-line" :class="{'focus':accountStatus}" /> <hr class="mu-text-field-focus-line" :class="{'focus':accountStatus}" />
...@@ -48,13 +42,8 @@ ...@@ -48,13 +42,8 @@
<div class="mu-text-field has-label"> <div class="mu-text-field has-label">
<div class="mu-text-field-content"> <div class="mu-text-field-content">
<div class="mu-text-field-label">密码</div> <div class="mu-text-field-label">密码</div>
<input <input type="password" v-model="pwd" class="mu-text-field-input" @focus="pwdStatus=true"
type="password" @blur="pwdStatus=false" />
v-model="pwd"
class="mu-text-field-input"
@focus="pwdStatus=true"
@blur="pwdStatus=false"
/>
<div> <div>
<hr class="mu-text-field-line" /> <hr class="mu-text-field-line" />
<hr class="mu-text-field-focus-line" :class="{'focus':pwdStatus}" /> <hr class="mu-text-field-focus-line" :class="{'focus':pwdStatus}" />
...@@ -64,12 +53,8 @@ ...@@ -64,12 +53,8 @@
</div> </div>
</div> </div>
<div class="field_wrap" style="margin-top:30px;"> <div class="field_wrap" style="margin-top:30px;">
<el-button <el-button type="primary" :loading="isLogining" @click="goLogin()"
type="primary" style="width:100%; font-family:perfectFont;font-size: 16px;">立即登录</el-button>
:loading="isLogining"
@click="goLogin()"
style="width:100%; font-family:perfectFont;font-size: 16px;"
>立即登录</el-button>
</div> </div>
<div class="field_wrap forget"> <div class="field_wrap forget">
<div class="item-forget"> <div class="item-forget">
...@@ -96,7 +81,7 @@ ...@@ -96,7 +81,7 @@
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
accountStatus: false, accountStatus: false,
...@@ -108,9 +93,9 @@ export default { ...@@ -108,9 +93,9 @@ export default {
}; };
}, },
created() { created() {
let autoLogin = localStorage.autoLogin let autoLogin = localStorage.autoLogin ?
? JSON.parse(localStorage.autoLogin) JSON.parse(localStorage.autoLogin) :
: null; null;
this.account = autoLogin ? autoLogin.acc : ""; this.account = autoLogin ? autoLogin.acc : "";
this.pwd = autoLogin ? autoLogin.pwd : ""; this.pwd = autoLogin ? autoLogin.pwd : "";
this.isAutoLogin = autoLogin ? true : false; this.isAutoLogin = autoLogin ? true : false;
...@@ -132,25 +117,29 @@ export default { ...@@ -132,25 +117,29 @@ export default {
var msg = { var msg = {
EmAccount: this.account, EmAccount: this.account,
EmPassword: this.pwd, EmPassword: this.pwd,
// Domain:'testerp.oytour.com'
Domain: "fcrmyx.oytour.com", Domain: "fcrmyx.oytour.com",
}; };
if (!this.isOnline()) {
msg.Domain = "www.test.com";
}
this.apipost("/api/Login/UserLogin", msg, (res) => { this.apipost("/api/Login/UserLogin", msg, (res) => {
var jsonData = res.data; var jsonData = res.data;
if (jsonData.resultCode == 1) { if (jsonData.resultCode == 1) {
//登录成功 //登录成功
let autoLogin = this.isAutoLogin let autoLogin = this.isAutoLogin ?
? { {
acc: this.account, acc: this.account,
pwd: this.pwd, pwd: this.pwd,
} } :
: null; null;
localStorage.autoLogin = JSON.stringify(autoLogin); localStorage.autoLogin = JSON.stringify(autoLogin);
var userData = jsonData.data; var userData = jsonData.data;
var userJson = JSON.stringify(userData); var userJson = JSON.stringify(userData);
localStorage.userInfo = userJson; localStorage.userInfo = userJson;
this.loginState = 0; this.loginState = 0;
this.$router.push({ path: "/Home" }); this.$router.push({
path: "/Home"
});
} else { } else {
this.$message({ this.$message({
message: res.data.message, message: res.data.message,
...@@ -161,11 +150,11 @@ export default { ...@@ -161,11 +150,11 @@ export default {
}); });
}, },
}, },
}; };
</script> </script>
<style scoped> <style scoped>
.login { .login {
background: url("../assets/img/login/bg.jpg") no-repeat 100% 100%; background: url("../assets/img/login/bg.jpg") no-repeat 100% 100%;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -173,8 +162,9 @@ export default { ...@@ -173,8 +162,9 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.logo-box {
.logo-box {
position: absolute; position: absolute;
top: 30px; top: 30px;
left: 30px; left: 30px;
...@@ -182,8 +172,9 @@ export default { ...@@ -182,8 +172,9 @@ export default {
font-size: 48px; font-size: 48px;
font-family: perfectFont; font-family: perfectFont;
color: #fff; color: #fff;
} }
.login .login-box {
.login .login-box {
width: 1000px; width: 1000px;
height: 560px; height: 560px;
box-shadow: 0 6px 20px 5px rgba(40, 120, 255, 0.1), box-shadow: 0 6px 20px 5px rgba(40, 120, 255, 0.1),
...@@ -191,12 +182,14 @@ export default { ...@@ -191,12 +182,14 @@ export default {
border-radius: 8px; border-radius: 8px;
background: #fff; background: #fff;
display: flex; display: flex;
} }
.login .login-box .left-card {
.login .login-box .left-card {
width: 440px; width: 440px;
height: 100%; height: 100%;
} }
.login .login-box .left-card .item-card {
.login .login-box .left-card .item-card {
background: url("../assets/img/login/yinhao.png") right bottom/221px no-repeat, background: url("../assets/img/login/yinhao.png") right bottom/221px no-repeat,
linear-gradient(180deg, #2878ff, #409efe); linear-gradient(180deg, #2878ff, #409efe);
width: 100%; width: 100%;
...@@ -204,89 +197,101 @@ export default { ...@@ -204,89 +197,101 @@ export default {
padding-top: 96px; padding-top: 96px;
color: white; color: white;
box-sizing: border-box; box-sizing: border-box;
} }
.login .login-box .left-card .item-card .head-icon {
.login .login-box .left-card .item-card .head-icon {
width: 104px; width: 104px;
height: 104px; height: 104px;
margin: 0 auto; margin: 0 auto;
border-radius: 100%; border-radius: 100%;
background: rgba(40, 120, 255, 0.5); background: rgba(40, 120, 255, 0.5);
padding: 5px; padding: 5px;
} }
.login .login-box .left-card .item-card .head-icon img {
.login .login-box .left-card .item-card .head-icon img {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 100%; border-radius: 100%;
} }
.login .login-box .left-card .item-card .publisher,
.login .login-box .left-card .item-card .job { .login .login-box .left-card .item-card .publisher,
.login .login-box .left-card .item-card .job {
margin-top: 20px; margin-top: 20px;
font-size: 24px; font-size: 24px;
font-family: perfectFont; font-family: perfectFont;
text-align: center; text-align: center;
} }
.login .login-box .left-card .item-card .publisher {
.login .login-box .left-card .item-card .publisher {
font-weight: bold; font-weight: bold;
} }
.login .login-box .left-card .item-card .job {
.login .login-box .left-card .item-card .job {
font-size: 16px; font-size: 16px;
margin-top: 10px; margin-top: 10px;
} }
.login .login-box .left-card .item-card .content {
.login .login-box .left-card .item-card .content {
font-size: 13px; font-size: 13px;
font-family: perfectFont; font-family: perfectFont;
margin-top: 20px; margin-top: 20px;
margin: 20px; margin: 20px;
line-height: 24px; line-height: 24px;
text-indent: 28px; text-indent: 28px;
} }
.login .login-box .right-card {
.login .login-box .right-card {
flex: 1; flex: 1;
padding-top: 50px; padding-top: 50px;
font-family: perfectFont; font-family: perfectFont;
} }
.login .login-box .right-card .company {
.login .login-box .right-card .company {
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
} }
.login .login-box .right-card .t {
.login .login-box .right-card .t {
margin-top: 20px; margin-top: 20px;
font-size: 34px; font-size: 34px;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
margin-bottom: 30px; margin-bottom: 30px;
} }
.field_wrap {
.field_wrap {
width: 330px; width: 330px;
margin: 0 auto; margin: 0 auto;
font-family: perfectFont; font-family: perfectFont;
} }
.field_wrap .pwd_box {
.field_wrap .pwd_box {
position: relative; position: relative;
} }
.field_wrap .pwd_box .mu-text-field {
.field_wrap .pwd_box .mu-text-field {
width: 100%; width: 100%;
color: rgba(0, 0, 0, 0.54); color: rgba(0, 0, 0, 0.54);
} }
.field_wrap .pwd_box .mu-text-field.has-label {
.field_wrap .pwd_box .mu-text-field.has-label {
min-height: 72px; min-height: 72px;
} }
.field_wrap .pwd_box .mu-text-field .mu-text-field-content {
.field_wrap .pwd_box .mu-text-field .mu-text-field-content {
display: block; display: block;
height: 100%; height: 100%;
padding-bottom: 12px; padding-bottom: 12px;
padding-top: 4px; padding-top: 4px;
} }
.field_wrap .pwd_box .mu-text-field.has-label .mu-text-field-content {
.field_wrap .pwd_box .mu-text-field.has-label .mu-text-field-content {
padding-top: 28px; padding-top: 28px;
padding-bottom: 12px; padding-bottom: 12px;
} }
.field_wrap
.pwd_box .field_wrap .pwd_box .mu-text-field.has-label .mu-text-field-content .mu-text-field-label {
.mu-text-field.has-label
.mu-text-field-content
.mu-text-field-label {
line-height: 20px; line-height: 20px;
transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1); transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
z-index: 1; z-index: 1;
...@@ -299,21 +304,14 @@ export default { ...@@ -299,21 +304,14 @@ export default {
font-size: 16px; font-size: 16px;
font-family: perfectFont; font-family: perfectFont;
font-weight: bold; font-weight: bold;
} }
.field_wrap
.pwd_box .field_wrap .pwd_box .mu-text-field.has-label .mu-text-field-content .mu-text-field.has-label .mu-text-field-label {
.mu-text-field.has-label
.mu-text-field-content
.mu-text-field.has-label
.mu-text-field-label {
top: 8px; top: 8px;
position: absolute; position: absolute;
} }
.field_wrap
.pwd_box .field_wrap .pwd_box .mu-text-field.has-label .mu-text-field-content .mu-text-field-input {
.mu-text-field.has-label
.mu-text-field-content
.mu-text-field-input {
appearance: none; appearance: none;
outline: none; outline: none;
border: none; border: none;
...@@ -328,12 +326,14 @@ export default { ...@@ -328,12 +326,14 @@ export default {
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
font-family: inherit; font-family: inherit;
position: relative; position: relative;
} }
.field_wrap .el-button,
.field_wrap .el-checkbox__inner { .field_wrap .el-button,
.field_wrap .el-checkbox__inner {
border-radius: 0; border-radius: 0;
} }
.mu-text-field-line {
.mu-text-field-line {
background-color: rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.4);
margin: 0; margin: 0;
height: 1px; height: 1px;
...@@ -343,8 +343,9 @@ export default { ...@@ -343,8 +343,9 @@ export default {
position: absolute; position: absolute;
box-sizing: content-box; box-sizing: content-box;
overflow: visible; overflow: visible;
} }
.mu-text-field-focus-line {
.mu-text-field-focus-line {
margin: 0; margin: 0;
height: 2px; height: 2px;
border: none; border: none;
...@@ -358,33 +359,40 @@ export default { ...@@ -358,33 +359,40 @@ export default {
transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
-webkit-transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); -webkit-transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
} }
.mu-text-field-focus-line.focus {
.mu-text-field-focus-line.focus {
transform: scaleX(1); transform: scaleX(1);
} }
.el-button--primary,
.el-checkbox__input.is-checked .el-checkbox__inner, .el-button--primary,
.el-checkbox__input.is-indeterminate .el-checkbox__inner { .el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #409efe !important; background-color: #409efe !important;
border-color: #409efe !important; border-color: #409efe !important;
} }
.login .login-box .right-card .forget {
.login .login-box .right-card .forget {
margin-top: 12px; margin-top: 12px;
display: flex; display: flex;
} }
.login .login-box .right-card .forget .item-forget {
.login .login-box .right-card .forget .item-forget {
flex: 1; flex: 1;
font-size: 14px; font-size: 14px;
font-family: perfectFont; font-family: perfectFont;
} }
.login .login-box .right-card .forget .item-forget:last-child {
.login .login-box .right-card .forget .item-forget:last-child {
text-align: right; text-align: right;
} }
.login .login-box .right-card .forget .item-forget a {
.login .login-box .right-card .forget .item-forget a {
color: #000; color: #000;
text-decoration: none; text-decoration: none;
} }
.login .login-box .right-card .forget .item-forget a:hover {
.login .login-box .right-card .forget .item-forget a:hover {
color: #409efe; color: #409efe;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment