a5108e6a by 任超

style:区分上报监管

1 parent 063e1485
1 <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1673321301365" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3462" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M910.617673 211.45497c-29.726022-40.739866-65.373916-76.582189-105.953124-106.533338-31.447223-23.211654-65.346287-42.500976-101.132328-57.574277-17.797341-7.496741-38.217417 1.723248-44.400233 20.018939l0 0c-5.586229 16.531512 2.569522 34.533514 18.648732 41.309848 30.91408 13.027711 60.204174 29.700439 87.38421 49.761334 35.128055 25.927509 65.986877 56.9562 91.719958 92.223425 53.42477 73.218582 81.662905 159.989831 81.662905 250.935146 0 57.551764-11.264555 113.364931-33.480532 165.888168-21.464871 50.748824-52.199872 96.333022-91.352591 135.484717-39.152718 39.153742-84.736916 69.888743-135.484717 91.352591-52.523237 22.215978-108.336404 33.480532-165.888168 33.480532-57.552787 0-113.364931-11.264555-165.889191-33.480532-50.748824-21.464871-96.331999-52.199872-135.484717-91.352591-39.152718-39.152718-69.888743-84.736916-91.353614-135.484717-22.214954-52.523237-33.479509-108.336404-33.479509-165.888168 0-90.842984 28.180829-177.536462 81.495082-250.706949 25.681916-35.244712 56.481386-66.265216 91.545996-92.199888 27.118638-20.056801 56.344263-36.737716 87.192851-49.78794 16.072047-6.798846 24.204262-24.812105 18.594497-41.336454l0 0c-6.207375-18.285458-26.638707-27.478841-44.424792-19.958564-35.712363 15.098883-69.537749 34.399461-100.915387 57.607022-40.505529 29.958312-76.084862 65.791425-105.750509 106.506732C52.210106 296.342312 19.618826 396.581294 19.618826 501.596046c0 66.5016 13.031804 131.033335 38.734186 191.800327 24.818245 58.677401 60.340273 111.367437 105.58064 156.606781 45.240367 45.240367 97.930403 80.763418 156.607804 105.581664 60.766992 25.701358 125.297704 38.734186 191.800327 38.734186 66.502623 0 131.033335-13.031804 191.800327-38.734186 58.677401-24.818245 111.366414-60.341297 156.606781-105.581664 45.240367-45.239344 80.762395-97.92938 105.581664-156.606781 25.701358-60.766992 38.734186-125.297704 38.734186-191.800327C1005.062695 396.463614 972.403878 296.133557 910.617673 211.45497z" fill="#ffffff" p-id="3463"></path><path d="M509.270842 388.009058 509.270842 388.009058c20.261463 0 36.839023-16.57756 36.839023-36.839023L546.109866 75.454506c0-20.261463-16.57756-36.839023-36.839023-36.839023l0 0c-20.261463 0-36.839023 16.57756-36.839023 36.839023l0 275.715529C472.431819 371.431497 489.00938 388.009058 509.270842 388.009058z" fill="#ffffff" p-id="3464"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1673321301365" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3462" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M910.617673 211.45497c-29.726022-40.739866-65.373916-76.582189-105.953124-106.533338-31.447223-23.211654-65.346287-42.500976-101.132328-57.574277-17.797341-7.496741-38.217417 1.723248-44.400233 20.018939l0 0c-5.586229 16.531512 2.569522 34.533514 18.648732 41.309848 30.91408 13.027711 60.204174 29.700439 87.38421 49.761334 35.128055 25.927509 65.986877 56.9562 91.719958 92.223425 53.42477 73.218582 81.662905 159.989831 81.662905 250.935146 0 57.551764-11.264555 113.364931-33.480532 165.888168-21.464871 50.748824-52.199872 96.333022-91.352591 135.484717-39.152718 39.153742-84.736916 69.888743-135.484717 91.352591-52.523237 22.215978-108.336404 33.480532-165.888168 33.480532-57.552787 0-113.364931-11.264555-165.889191-33.480532-50.748824-21.464871-96.331999-52.199872-135.484717-91.352591-39.152718-39.152718-69.888743-84.736916-91.353614-135.484717-22.214954-52.523237-33.479509-108.336404-33.479509-165.888168 0-90.842984 28.180829-177.536462 81.495082-250.706949 25.681916-35.244712 56.481386-66.265216 91.545996-92.199888 27.118638-20.056801 56.344263-36.737716 87.192851-49.78794 16.072047-6.798846 24.204262-24.812105 18.594497-41.336454l0 0c-6.207375-18.285458-26.638707-27.478841-44.424792-19.958564-35.712363 15.098883-69.537749 34.399461-100.915387 57.607022-40.505529 29.958312-76.084862 65.791425-105.750509 106.506732C52.210106 296.342312 19.618826 396.581294 19.618826 501.596046c0 66.5016 13.031804 131.033335 38.734186 191.800327 24.818245 58.677401 60.340273 111.367437 105.58064 156.606781 45.240367 45.240367 97.930403 80.763418 156.607804 105.581664 60.766992 25.701358 125.297704 38.734186 191.800327 38.734186 66.502623 0 131.033335-13.031804 191.800327-38.734186 58.677401-24.818245 111.366414-60.341297 156.606781-105.581664 45.240367-45.239344 80.762395-97.92938 105.581664-156.606781 25.701358-60.766992 38.734186-125.297704 38.734186-191.800327C1005.062695 396.463614 972.403878 296.133557 910.617673 211.45497z" fill="#ffffff" p-id="3463"></path><path d="M509.270842 388.009058 509.270842 388.009058c20.261463 0 36.839023-16.57756 36.839023-36.839023L546.109866 75.454506c0-20.261463-16.57756-36.839023-36.839023-36.839023l0 0c-20.261463 0-36.839023 16.57756-36.839023 36.839023l0 275.715529C472.431819 371.431497 489.00938 388.009058 509.270842 388.009058z" p-id="3464"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -55,9 +55,9 @@ export default { ...@@ -55,9 +55,9 @@ export default {
55 }) 55 })
56 .catch((error) => { 56 .catch((error) => {
57 // console.dir(error); 57 // console.dir(error);
58 }); 58 })
59 }, 59 }
60 }, 60 }
61 }; 61 };
62 </script> 62 </script>
63 <style lang="scss" scoped> 63 <style lang="scss" scoped>
......
...@@ -7,14 +7,12 @@ ...@@ -7,14 +7,12 @@
7 </div> 7 </div>
8 <div class="right-menu"> 8 <div class="right-menu">
9 <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="hover" @command="handleCommand"> 9 <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="hover" @command="handleCommand">
10 <div class="avatar-wrapper"> 10 <div class="user">
11 <span style="padding-right:10px">{{ name }}</span> 11 {{ userName }}
12 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> 12 <span @click="onCancel">
13 <i class="el-icon-switch-button"></i>
14 </span>
13 </div> 15 </div>
14 <el-dropdown-menu slot="dropdown">
15 <el-dropdown-item command="a">个人中心</el-dropdown-item>
16 <el-dropdown-item command="b">退出</el-dropdown-item>
17 </el-dropdown-menu>
18 </el-dropdown> 16 </el-dropdown>
19 </div> 17 </div>
20 </div> 18 </div>
...@@ -23,17 +21,15 @@ ...@@ -23,17 +21,15 @@
23 <script> 21 <script>
24 import { mapGetters } from 'vuex' 22 import { mapGetters } from 'vuex'
25 import Breadcrumb from './Breadcrumb' 23 import Breadcrumb from './Breadcrumb'
26 import defaultSettings from '@/settings' 24 import { logout } from "@/api/login.js";
27 export default { 25 export default {
28 components: { 26 components: {
29 Breadcrumb 27 Breadcrumb
30 }, 28 },
31 computed: { 29 computed: {
32 ...mapGetters(['sidebar', 'avatar', 'name']) 30 ...mapGetters(["sidebar", "dicData", "userInfo"]),
33 }, 31 userName () {
34 data () { 32 return this.userInfo ? this.userInfo.name : ""
35 return {
36 title: defaultSettings.title
37 } 33 }
38 }, 34 },
39 methods: { 35 methods: {
...@@ -44,11 +40,22 @@ export default { ...@@ -44,11 +40,22 @@ export default {
44 themeChange (val) { 40 themeChange (val) {
45 this.$store.dispatch('app/updateTheme', val) 41 this.$store.dispatch('app/updateTheme', val)
46 }, 42 },
47 handleCommand (command) { 43 onCancel () {
48 if (command == 'a') { 44 logout()
49 } else { 45 .then((res) => {
50 46 sessionStorage.removeItem("token");
51 } 47 this.$store.dispatch("user/resetState");
48 this.$store.dispatch("permission/resetRoutes");
49 this.$router.replace({
50 path: "/sb",
51 query: {
52 redirect: this.$route.fullPath,
53 },
54 });
55 })
56 .catch((error) => {
57 // console.dir(error);
58 })
52 } 59 }
53 } 60 }
54 } 61 }
...@@ -79,45 +86,6 @@ export default { ...@@ -79,45 +86,6 @@ export default {
79 } 86 }
80 } 87 }
81 88
82 .NoticeBar {
83 position: absolute;
84 bottom: 0;
85 }
86
87 .el-dropdown-menu {
88 padding: 0 !important;
89 border: 1px solid #ebeef5;
90 box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12);
91 border-radius: 4px 0 0 4px 4px;
92
93 .el-dropdown-menu__item {
94 text-align: center;
95 margin-top: 0 !important;
96 font-size: 14px;
97 font-weight: 400;
98 color: #4a4a4a;
99 width: 140px;
100 height: 36px;
101 line-height: 36px;
102 }
103
104 .el-dropdown-menu__item:nth-child(6) {
105 border-top: 1px solid #ebeef5;
106 }
107
108 .popper__arrow {
109 top: -11px !important;
110 left: 110px !important;
111 transform: rotate(0deg) scale(2);
112 }
113
114 .el-dropdown-menu__item:not(.is-disabled):hover,
115 .el-dropdown-menu__item:focus {
116 background: #f6f7f9;
117 color: #4a4a4a;
118 }
119 }
120
121 .navbar { 89 .navbar {
122 height: $headerHeight; 90 height: $headerHeight;
123 overflow: hidden; 91 overflow: hidden;
...@@ -133,117 +101,12 @@ export default { ...@@ -133,117 +101,12 @@ export default {
133 width: 300px; 101 width: 300px;
134 } 102 }
135 103
136 .backdrop { 104 .right-menu-item {
137 flex: 1; 105 &.hover-effect {
138 width: 60%;
139 background-size: 100% 100%;
140 height: $headerHeight;
141 display: flex;
142 align-items: center;
143 }
144
145 .hamburger-container {
146 line-height: 43px;
147 height: 100%;
148 float: left;
149 cursor: pointer;
150 transition: background 0.3s;
151 -webkit-tap-highlight-color: transparent;
152
153 &:hover {
154 background: rgba(0, 0, 0, 0.025);
155 }
156 }
157
158 .breadcrumb-container {
159 float: left;
160 }
161
162 .right-menu {
163 float: right;
164 height: 100%;
165 line-height: 50px;
166 display: flex;
167 align-items: center;
168
169 .function {
170 margin: 0 15px;
171 cursor: pointer;
172 }
173
174 .shutdown {
175 font-size: 20px;
176 margin-left: 15px;
177 cursor: pointer;
178 }
179
180 .organization-item {
181 margin-right: 40px;
182 margin-top: -40px !important;
183 }
184
185 .item {
186 margin-right: 40px;
187 margin-top: -20px;
188 line-height: 18.4px;
189 cursor: pointer; 106 cursor: pointer;
190 position: relative; 107 transition: background 0.3s;
191
192 .item-box {
193 position: absolute;
194 top: -5px;
195 left: 3px;
196 width: 100%;
197 min-width: 25px;
198 height: 25px;
199 cursor: pointer;
200 z-index: 100;
201 }
202 }
203
204 &:focus {
205 outline: none;
206 }
207
208 .right-menu-item {
209 display: inline-block;
210 height: 100%;
211 font-size: 18px;
212 color: #fff;
213 vertical-align: text-bottom;
214
215 &.hover-effect {
216 cursor: pointer;
217 transition: background 0.3s;
218 display: flex;
219 align-items: center;
220
221 &:hover {
222 background: rgba(0, 0, 0, 0.025);
223 }
224 }
225 }
226
227 .avatar-wrapper {
228 position: relative;
229 display: flex; 108 display: flex;
230 height: 40px;
231 align-items: center; 109 align-items: center;
232
233 .user-avatar {
234 cursor: pointer;
235 width: 35px;
236 height: 35px;
237 border-radius: 50%;
238 }
239
240 .el-icon-caret-bottom {
241 cursor: pointer;
242 position: absolute;
243 right: -15px;
244 top: 17px;
245 font-size: 12px;
246 }
247 } 110 }
248 } 111 }
249 } 112 }
......
...@@ -83,9 +83,4 @@ export default { ...@@ -83,9 +83,4 @@ export default {
83 width: 100%; 83 width: 100%;
84 transition: width 0.28s; 84 transition: width 0.28s;
85 } 85 }
86
87 .el-dropdown-menu--small {
88 padding: 0;
89 width: 5px;
90 }
91 </style> 86 </style>
......
...@@ -19,10 +19,12 @@ ...@@ -19,10 +19,12 @@
19 <div class="flex-container"> 19 <div class="flex-container">
20 <div class="flex-input"> 20 <div class="flex-input">
21 <el-input class="yz" @keyup.native="login('user')" v-model="user.yz" placeholder="请输入验证码"></el-input> 21 <el-input class="yz" @keyup.native="login('user')" v-model="user.yz" placeholder="请输入验证码"></el-input>
22 </div> 22 </div>
23 <div class="flex-line"></div> 23 <div class="flex-line"></div>
24 <div class="flex-img"><canvas id="s-canvas" ref="s-canvas"></canvas></div> 24 <div class="flex-img"><canvas id="s-canvas" ref="s-canvas"></canvas></div>
25 <div class="flex-renovate"><font id="renovate" @click="verification">换一批</font></div> 25 <div class="flex-renovate">
26 <font id="renovate" @click="verification">换一批</font>
27 </div>
26 </div> 28 </div>
27 </el-form-item> 29 </el-form-item>
28 <el-form-item class="login-btn"> 30 <el-form-item class="login-btn">
...@@ -35,308 +37,317 @@ ...@@ -35,308 +37,317 @@
35 </template> 37 </template>
36 38
37 <script> 39 <script>
38 import { loginIn } from "@/api/login.js"; 40 import { loginIn } from "@/api/login.js";
39 import { api, getAction } from "@/api/manageApi"; 41 import { api, getAction } from "@/api/manageApi";
40 export default { 42 export default {
41 name: "Login", 43 name: "Login",
42 data () { 44 data () {
43 return { 45 return {
44 user: { 46 user: {
45 account: "", 47 account: "",
46 password: "", 48 password: "",
47 yz: "", 49 yz: "",
48 checkStatus: false, 50 checkStatus: false,
49 }, 51 },
50 productName: "", 52 productName: "",
51 rules: { 53 rules: {
52 account: [{ required: true, message: "请填写帐号", trigger: "blur" }], 54 account: [{ required: true, message: "请填写帐号", trigger: "blur" }],
53 password: [{ required: true, message: "请填写密码", trigger: "blur" }], 55 password: [{ required: true, message: "请填写密码", trigger: "blur" }],
54 }, 56 },
55 }; 57 };
56 }, 58 },
57 created () { 59 created () {
58 this.verification(); 60 this.verification();
59 const params = {}; 61 const params = {};
60 const queryOptions = { 62 const queryOptions = {
61 conditionGroup: { 63 conditionGroup: {
62 conditions: [ 64 conditions: [
63 { 65 {
64 property: "code", 66 property: "code",
65 value: "BDCSBPT", 67 value: "BDCSBPT",
66 operator: "EQ", 68 operator: "EQ",
67 }, 69 },
68 ], 70 ],
69 queryRelation: "AND", 71 queryRelation: "AND",
70 }, 72 },
71 }; 73 };
72 params.queryOptions = JSON.stringify(queryOptions); 74 params.queryOptions = JSON.stringify(queryOptions);
73 //根据子系统code获取子系统详细信息 75 //根据子系统code获取子系统详细信息
74 getAction(api.subsystem, params).then((res) => { 76 getAction(api.subsystem, params).then((res) => {
75 if (res.status === 1) { 77 if (res.status === 1) {
76 this.productName = res.content[0].name; 78 this.productName = res.content[0].name;
77 this.$store.dispatch("products/setData", res.content[0].code); 79 this.$store.dispatch("products/setData", res.content[0].code);
78 80
79 sessionStorage.setItem("products", res.content[0].code) 81 sessionStorage.setItem("products", res.content[0].code)
80 } else { 82 } else {
81 this.$message.error({ message: res.message, showClose: true }); 83 this.$message.error({ message: res.message, showClose: true });
82 } 84 }
83 }); 85 });
86 },
87 mounted () {
88 // this.checkUserName();
89 },
90 methods: {
91 verification () {
92 let str = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ', code = '', i = 0;
93 for (; i++ < 4;) code += str[Math.floor(Math.random() * (str.length - 0) + 0)];
94 setTimeout(() => {
95 let canvas = document.getElementById("s-canvas"), ctx = canvas.getContext("2d");
96 canvas.width = 80;
97 canvas.height = 28;
98 ctx.fillStyle = '#ffffff';
99 ctx.fillRect(0, 0, 80, 28);
100 for (i = 0; i < code.length; i++) { this.drawText(ctx, code[i], i); }
101 }, 0);
84 }, 102 },
85 mounted () { 103 drawText (ctx, txt, i) {
86 // this.checkUserName(); 104 ctx.fillStyle = this.randomColor(50, 160);
105 ctx.font = "18px SimHei";
106 let x = (i + 1) * (80 / (4 + 1)), y = this.randomNum(18, 28 - 5);
107 ctx.translate(x, y);
108 ctx.fillText(txt, 0, 0);
109 ctx.rotate((-0 * Math.PI) / 180);
110 ctx.translate(-x, -y);
87 }, 111 },
88 methods: { 112 randomColor (min, max) {
89 verification() { 113 let r = this.randomNum(min, max);
90 let str = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ', code = '', i = 0; 114 let g = this.randomNum(min, max);
91 for( ; i++ < 4 ; ) code += str[ Math.floor( Math.random() * ( str.length - 0 ) + 0 ) ]; 115 let b = this.randomNum(min, max);
92 setTimeout( () => { 116 return "rgb(" + r + "," + g + "," + b + ")";
93 let canvas = document.getElementById("s-canvas"), ctx = canvas.getContext("2d"); 117 },
94 canvas.width = 80; 118 randomNum (min, max) {
95 canvas.height = 28; 119 return Math.floor(Math.random() * (max - min) + min);
96 ctx.fillStyle = '#ffffff'; 120 },
97 ctx.fillRect( 0, 0, 80, 28 ); 121 //记住用户名
98 for ( i = 0; i < code.length; i++ ) { this.drawText( ctx, code[i], i ); } 122 checkUserName: function (flag) {
99 }, 0 ); 123 this.user.checkStatus = flag;
100 }, 124 if (this.user.checkStatus) {
101 drawText(ctx, txt, i) { 125 localStorage.setItem("accountId", this.user.account);
102 ctx.fillStyle = this.randomColor(50, 160); 126 let name = localStorage.getItem("accountId");
103 ctx.font = "18px SimHei"; 127 if (name === "") {
104 let x = (i + 1) * (80 / (4 + 1)), y = this.randomNum( 18, 28 - 5 ); 128 return;
105 ctx.translate(x, y);
106 ctx.fillText(txt, 0, 0);
107 ctx.rotate((-0 * Math.PI) / 180);
108 ctx.translate(-x, -y);
109 },
110 randomColor(min, max) {
111 let r = this.randomNum(min, max);
112 let g = this.randomNum(min, max);
113 let b = this.randomNum(min, max);
114 return "rgb(" + r + "," + g + "," + b + ")";
115 },
116 randomNum(min, max) {
117 return Math.floor(Math.random() * (max - min) + min);
118 },
119 //记住用户名
120 checkUserName: function (flag) {
121 this.user.checkStatus = flag;
122 if (this.user.checkStatus) {
123 localStorage.setItem("accountId", this.user.account);
124 let name = localStorage.getItem("accountId");
125 if (name === "") {
126 return;
127 } else {
128 this.user.account = name;
129 }
130 } else { 129 } else {
131 this.user.account = localStorage.getItem("accountId"); 130 this.user.account = name;
132 } 131 }
133 }, 132 } else {
134 login (user) { 133 this.user.account = localStorage.getItem("accountId");
135 var self = this; 134 }
136 this.$refs[user].validate((valid) => { 135 },
137 if (valid) { 136 login (user) {
138 loginIn(self.user.account, self.user.password) 137 var self = this;
139 .then((res) => { 138 this.$refs[user].validate((valid) => {
140 if (res.status === 1) { 139 if (valid) {
141 this.$store.dispatch('business/setInitRules', "layout1") 140 loginIn(self.user.account, self.user.password)
142 //存储token 141 .then((res) => {
143 localStorage.setItem("token", `Bearer ${res.content}`); 142 if (res.status === 1) {
144 this.$store.dispatch("products/setData", res.content[0].code); 143 this.$store.dispatch('business/setInitRules', "layout1")
145 sessionStorage.setItem("products", res.content[0].code) 144 //存储token
146 //登录成功后需判断有无重定向,没有重定向则跳转首页 145 localStorage.setItem("token", `Bearer ${res.content}`);
147 this.$router.replace(this.$route.query.redirect || "/"); 146 this.$store.dispatch("products/setData", res.content[0].code);
148 } else { 147 sessionStorage.setItem("products", res.content[0].code)
149 console.log(res); 148 //登录成功后需判断有无重定向,没有重定向则跳转首页
150 this.$message.error({ message: res.message }) 149 this.$router.replace(this.$route.query.redirect || "/jsbwcx/index");
151 } 150 } else {
152 }) 151 console.log(res);
153 .catch((error) => { 152 this.$message.error({ message: res.message })
154 // console.dir(error); 153 }
155 }); 154 })
156 } 155 .catch((error) => {
157 }); 156 // console.dir(error);
158 }, 157 });
158 }
159 });
159 }, 160 },
160 components: {}, 161 },
161 }; 162 components: {},
163 };
162 </script> 164 </script>
163 <style scoped lang="scss"> 165 <style scoped lang="scss">
164 .username, 166 .username,
165 .password, 167 .password,
166 .yz { 168 .yz {
167 position: relative; 169 position: relative;
168 &:before {
169 content: "";
170 display: block;
171 width: 16px;
172 height: 16px;
173 position: absolute;
174 left: 10px;
175 top: 7px;
176 background-size: 100% 100%;
177 }
178
179 /deep/ .el-input__inner {
180 color: #000 !important;
181 text-indent: 24px;
182 // border: 1px solid rgba(11, 161, 248, 0.4);
183 // background-color: rgba(6, 135, 205, 0.3) !important;
184 }
185 }
186 170
187 .flex-container { 171 &:before {
188 position: relative; 172 content: "";
189 display: -webkit-flex; 173 display: block;
190 display: flex; 174 width: 16px;
191 } 175 height: 16px;
192
193 .flex-input {
194 width: 100%;
195 }
196 .flex-line {
197 position: absolute;
198 width: 1px;
199 height: 64%;
200 margin: 5px;
201 right: 36%;
202 background-color: #CCCCCC;
203 }
204 .flex-img {
205 position: absolute; 176 position: absolute;
206 margin: 2px; 177 left: 10px;
207 right: 16%; 178 top: 7px;
208 } 179 background-size: 100% 100%;
209 .flex-renovate {
210 position: absolute;
211 margin: 1px;
212 right: 3%;
213 }
214 #renovate {
215 color: #3F8FEA;
216 font-size: 16px;
217 font-weight: 700;
218 cursor: pointer;
219 } 180 }
220 181
221 .username::before { 182 /deep/ .el-input__inner {
222 background-image: url(../../image/userlogo.png); 183 color: #000 !important;
184 text-indent: 24px;
185 // border: 1px solid rgba(11, 161, 248, 0.4);
186 // background-color: rgba(6, 135, 205, 0.3) !important;
223 } 187 }
188 }
224 189
225 .password::before { 190 .flex-container {
226 background-image: url(../../image/passlogo.png); 191 position: relative;
227 } 192 display: -webkit-flex;
228 .yz::before { 193 display: flex;
229 background-image: url(../../image/yzlogo.png); 194 }
230 }
231 195
232 .bg { 196 .flex-input {
233 width: 100%; 197 width: 100%;
234 height: 100%; 198 }
235 min-width: 1440px; 199
236 min-height: 560px; 200 .flex-line {
237 background: url(../../image/loginBoxsb.png) no-repeat; 201 position: absolute;
238 background-size: 100% 100%; 202 width: 1px;
239 overflow: hidden; 203 height: 64%;
240 position: relative; 204 margin: 5px;
241 } 205 right: 36%;
242 .title { 206 background-color: #CCCCCC;
243 width: 24%; 207 }
244 height: 6%; 208
245 top: 20%; 209 .flex-img {
246 right: 38%; 210 position: absolute;
211 margin: 2px;
212 right: 16%;
213 }
214
215 .flex-renovate {
216 position: absolute;
217 margin: 1px;
218 right: 3%;
219 }
220
221 #renovate {
222 color: #3F8FEA;
223 font-size: 16px;
224 font-weight: 700;
225 cursor: pointer;
226 }
227
228 .username::before {
229 background-image: url(../../image/userlogo.png);
230 }
231
232 .password::before {
233 background-image: url(../../image/passlogo.png);
234 }
235
236 .yz::before {
237 background-image: url(../../image/yzlogo.png);
238 }
239
240 .bg {
241 width: 100%;
242 height: 100%;
243 min-width: 1440px;
244 min-height: 560px;
245 background: url(../../image/loginBoxsb.png) no-repeat;
246 background-size: 100% 100%;
247 overflow: hidden;
248 position: relative;
249 }
250
251 .title {
252 width: 24%;
253 height: 6%;
254 top: 20%;
255 right: 38%;
256 position: absolute;
257
258 img {
259 width: 60px;
260 height: 60px;
261 top: 0%;
262 left: 2%;
247 position: absolute; 263 position: absolute;
248 img {
249 width: 60px;
250 height: 60px;
251 top: 0%;
252 left: 2%;
253 position: absolute;
254 }
255 h2 {
256 top: 25%;
257 left: 22%;
258 position: absolute;
259 width: 383px;
260 height: 42px;
261 font-size: 28px;
262 font-weight: 600;
263 color: #ffffff;
264 text-shadow: 0px 4px 4px #002c95;
265 }
266 } 264 }
267 .login-inner-bg { 265
268 background: white; 266 h2 {
269 width: 24.6%; 267 top: 25%;
270 height: 47%; 268 left: 22%;
271 min-width: 360px;
272 min-height: 380px;
273 top: 30%;
274 right: 38%;
275 position: absolute; 269 position: absolute;
276 background-size: 100% 100%; 270 width: 383px;
277 box-sizing: border-box; 271 height: 42px;
278 padding: 56px; 272 font-size: 28px;
273 font-weight: 600;
274 color: #ffffff;
275 text-shadow: 0px 4px 4px #002c95;
279 } 276 }
277 }
280 278
281 .login { 279 .login-inner-bg {
282 .user_style { 280 background: white;
283 h3 { 281 width: 24.6%;
284 font-weight: normal; 282 height: 47%;
285 text-align: center; 283 min-width: 360px;
286 margin: -10px auto 28px; 284 min-height: 380px;
287 font-weight: 400; 285 top: 30%;
288 width: 125px; 286 right: 38%;
289 height: 29px; 287 position: absolute;
290 font-size: 20px; 288 background-size: 100% 100%;
291 font-family: Source Han Sans CN; 289 box-sizing: border-box;
292 font-weight: 400; 290 padding: 56px;
293 color: #333333; 291 }
294 }
295 }
296 292
297 .btn { 293 .login {
298 width: 100%; 294 .user_style {
299 height: 6vh; 295 h3 {
300 background-color: #00c2de; 296 font-weight: normal;
301 border-radius: 5px; 297 text-align: center;
302 font-size: 1.4vw; 298 margin: -10px auto 28px;
303 color: #000; 299 font-weight: 400;
300 width: 125px;
301 height: 29px;
302 font-size: 20px;
303 font-family: Source Han Sans CN;
304 font-weight: 400;
305 color: #333333;
304 } 306 }
307 }
305 308
306 .btn:hover { 309 .btn {
307 cursor: pointer; 310 width: 100%;
308 background-color: #2d8cf0; 311 height: 6vh;
309 } 312 background-color: #00c2de;
313 border-radius: 5px;
314 font-size: 1.4vw;
315 color: #000;
310 } 316 }
311 317
312 .login #loginform { 318 .btn:hover {
313 .el-form-item { 319 cursor: pointer;
314 margin-bottom: 24px !important; 320 background-color: #2d8cf0;
315 } 321 }
322 }
316 323
317 .login-btn { 324 .login #loginform {
318 margin-top: 30px !important; 325 .el-form-item {
319 } 326 margin-bottom: 24px !important;
327 }
320 328
321 .el-button { 329 .login-btn {
322 font-size: 18px; 330 margin-top: 30px !important;
323 border-radius: 0; 331 }
324 background: #4162d8 !important;
325 color: #ffffff !important;
326 cursor: pointer !important;
327 }
328 332
329 .el-input__inner { 333 .el-button {
330 width: 100% !important; 334 font-size: 18px;
331 } 335 border-radius: 0;
336 background: #4162d8 !important;
337 color: #ffffff !important;
338 cursor: pointer !important;
339 }
332 340
333 .el-checkbox__label { 341 .el-input__inner {
334 color: #fff; 342 width: 100% !important;
335 }
336 } 343 }
337 344
338 .inputUser .ivu-input { 345 .el-checkbox__label {
339 padding: 6px 24px !important; 346 color: #fff;
340 border: 1px solid #9f9f9f !important;
341 } 347 }
342 </style> 348 }
349
350 .inputUser .ivu-input {
351 padding: 6px 24px !important;
352 border: 1px solid #9f9f9f !important;
353 }</style>
......