更改首页样式

lijinlong^2
杜函宇 1 year ago
parent 395ec15d5c
commit 5c482c3d2a

@ -138,7 +138,10 @@ export default {
})
.then(() => {
this.$store.dispatch("LogOut").then(() => {
location.href = "/demo/suzhouyingjiPC/";
location.href =
process.env.NODE_ENV === "production"
? "/demo/suzhouyingjiPC/"
: "/";
});
})
.catch(() => {});

@ -78,12 +78,11 @@ export default {
dept: (state) => state.user.dept,
username: (state) => state.user.name,
roles: (state) => state.user.roles,
newRouter:(state) => state.user.newRouter,
new1:(state) => state.user.new1,
newRouter: (state) => state.user.newRouter,
new1: (state) => state.user.new1,
}),
},
created() {
},
created() {},
watch: {
$route: {
handler(n, o) {
@ -111,7 +110,10 @@ export default {
})
.then(() => {
this.$store.dispatch("LogOut").then(() => {
location.href = "/demo/suzhouyingjiPC/";
location.href =
process.env.NODE_ENV === "production"
? "/demo/suzhouyingjiPC/"
: "/";
});
})
.catch(() => {});

@ -5,6 +5,7 @@
<div class="lg-text">苏州应急执法计划管理系统</div>
</div>
<div class="lg-centerbox">
<div class="lg-backImg"></div>
<el-form
ref="loginForm"
:model="loginForm"
@ -76,7 +77,6 @@
</div>
</el-form-item>
</el-form>
<div class="lg-backImg"></div>
</div>
<!-- 底部 -->
@ -239,7 +239,9 @@ export default {
height: calc(100% - 200px);
width: 100%;
display: flex;
flex-direction: row-reverse;
// align-items: center;
justify-content: center;
// flex-direction: row-reverse;
}
}
.iconO {
@ -281,7 +283,7 @@ export default {
height: 360px;
box-sizing: border-box;
padding: 35px 35px 5px 35px;
margin-right: 260px;
// margin-right: 260px;
margin-top: 20px;
background: rgba(229, 236, 246, 0.95);
box-shadow: 0px 1px 32px 0px #0c4990;

Loading…
Cancel
Save