diff --git a/ant-design-vue-jeecg/src/components/layouts/UserLayoutLogin.vue b/ant-design-vue-jeecg/src/components/layouts/UserLayoutLogin.vue index 75c2154..33af116 100644 --- a/ant-design-vue-jeecg/src/components/layouts/UserLayoutLogin.vue +++ b/ant-design-vue-jeecg/src/components/layouts/UserLayoutLogin.vue @@ -343,7 +343,7 @@ export default { background-color: #fafafa; border-radius: 0.5vw; /* 设置圆角半径 */ width: 80%; - height: 60%; /* 使 div 占满父容器高度 */ + height: 31vw; /* 使 div 占满父容器高度 */ display: flex; /* 使用 flexbox 进行子元素布局 */ flex-direction: column; /* 垂直排列子元素 */ justify-content: center; /* 垂直居中子元素 */ @@ -364,7 +364,7 @@ export default { justify-content: center; /* 水平居中 */ align-items: center; /* 垂直居中 */ .imge { - height: 85%; + height: 33vw; background-size: contain; background-repeat: no-repeat; position: relative; @@ -380,12 +380,13 @@ export default { padding: 1vw; /* 添加内边距 */ } #logoImg { + z-index: 100; width: 10vw; - height: 100%; + height: 4.75vw; line-height: 4.5vw; margin-left: 2vw; margin-right: 0.5vw; - font-size: 0vw; + font-size: 1.1vw; float: right; position: relative; .imge { @@ -395,7 +396,8 @@ export default { } } #text { - height: 100%; + z-index: 100; + height: 4.5vw; line-height: 4.5vw; width: 100%; font-size: 1.1vw;