更改首页样式

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

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

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

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

Loading…
Cancel
Save