Browse Source

登录页面切换风格

dev
马远东 2 months ago
parent
commit
a21a9c895e
  1. 53
      src/page/login/index.vue
  2. 6
      src/styles/login.scss
  3. 4
      src/views/aftersales/aftersalesWorkOrder.vue

53
src/page/login/index.vue

@ -1,11 +1,17 @@
<template> <template>
<div class="login-container" ref="login" @keyup.enter="handleLogin"> <div class="login-container" ref="login" @keyup.enter="handleLogin">
<div class="login-weaper animated bounceInDown"> <div class="login-weaper animated bounceInDown">
<div class="top">
<img src="https://www.v6g.cn/IMAGE/top.png" />
</div>
<div class="login-left"> <div class="login-left">
<div class="login-time"> <div class="login-time">
{{ time }} {{ time }}
</div> </div>
<div class="left">
<img src="https://www.v6g.cn/IMAGE/left.png" />
</div>
<img src="../../../public/img/indexbg.png" /> <img src="../../../public/img/indexbg.png" />
<!-- <p class="title">{{ $t('login.info') }}</p> --> <!-- <p class="title">{{ $t('login.info') }}</p> -->
@ -31,6 +37,9 @@
<!-- <a :href="website.ssoUrl + website.redirectUri">{{ $t('login.ssoLogin') }}</a> --> <!-- <a :href="website.ssoUrl + website.redirectUri">{{ $t('login.ssoLogin') }}</a> -->
</div> </div>
</div> </div>
<div class="right">
<img src="https://www.v6g.cn/IMAGE/right.png" />
</div>
</div> </div>
</div> </div>
<div class="index_footer"> <div class="index_footer">
@ -159,6 +168,8 @@ export default {
p { p {
text-align: center; text-align: center;
color: #999; color: #999;
color: #fff;
margin-bottom: 4px;
} }
} }
@ -175,4 +186,44 @@ span{
margin-left: 10px; margin-left: 10px;
} }
} }
.left{
position: absolute;
left: 0;
width: 80px;
height: 100%;
mask: linear-gradient(to right, #000000, #ffffffb0);
img{
width: 100%;
height: 100%;
}
}
.right{
position: absolute;
right: 0;
width: 80px;
height: 100%;
mask: linear-gradient(to left, #000000, #ffffffb0);
img{
width: 100%;
height: 100%;
}
}
.login-weaper{
position: relative;
}
.top{
position: absolute;
top: -18%;
left: 35%;
width: 30%;
height: 70px;
z-index: 1;
overflow: hidden;
border-radius: 15px;
img{
width: 100%;
height: 100%;
}
}
</style> </style>

6
src/styles/login.scss

@ -5,14 +5,15 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0 auto; margin: 0 auto;
background-image: url('/img/bg/bg.jpg'); // background-image: url('/img/bg/bg.jpg');
background-image: url('https://www.v6g.cn/IMAGE/fm2.png');
background-size: 100% 100%; background-size: 100% 100%;
} }
.login-weaper { .login-weaper {
margin: 0 auto; margin: 0 auto;
width: 1000px; width: 1000px;
box-shadow: 1px 1px 4px #d9d9d9; // box-shadow: 1px 1px 4px #d9d9d9;
.el-input-group__append { .el-input-group__append {
border: none; border: none;
@ -46,6 +47,7 @@
.login-time { .login-time {
position: absolute; position: absolute;
left: 25px; left: 25px;
left:100px;
top: 25px; top: 25px;
width: 100%; width: 100%;
color: #002e55; color: #002e55;

4
src/views/aftersales/aftersalesWorkOrder.vue

@ -2448,11 +2448,11 @@ const ViewDetails6 = row => {
* @return {void} * @return {void}
*/ */
const ViewDetails7 = row => { const ViewDetails7 = row => {
console.log(row, '【完结】当前行数据'); console.log(row, '【超时未处理】当前行数据');
const workOrderInfoPath_end = '/aftersales/aftersalesWorkOrderend'; // const workOrderInfoPath_end = '/aftersales/aftersalesWorkOrderend'; //
const queryParams = { const queryParams = {
id: row.id, //ID id: row.id, //ID
name: `${row.workOrderNumber}-完结`, name: `${row.workOrderNumber}-超时未处理`,
workOrderNumber: row.workOrderNumber, // workOrderNumber: row.workOrderNumber, //
RouteIndexs: TabPermissions.value, // RouteIndexs: TabPermissions.value, //
workOrderStatus: row.workOrderStatus, // workOrderStatus: row.workOrderStatus, //

Loading…
Cancel
Save