Browse Source

!1881 修复二维码登陆时,二维码偏左
Merge pull request !1881 from 夜鹰/v2

zuohuaijun 7 months ago
parent
commit
517a7e42e6

+ 2 - 0
Web/src/views/login/component/scan.vue

@@ -71,6 +71,8 @@ onMounted(() => {
 	animation-delay: 0.1s;
 	:deep(img) {
 		margin: auto;
+        border: 1px solid var(--el-border-color);
+        padding: 10px;
 	}
 	.login-msg {
 		display: flex;

+ 3 - 2
Web/src/views/login/index.vue

@@ -248,6 +248,7 @@ const getTenantInfo = async () => {
 			.login-right-warp-main {
 				display: flex;
 				flex-direction: column;
+                width: 100%;
 				height: 100%;
 				.login-right-warp-main-title {
 					height: 130px;
@@ -266,8 +267,8 @@ const getTenantInfo = async () => {
 					padding: 0 50px 50px;
 					.login-content-main-scan {
 						position: absolute;
-						top: 0;
-						right: 0;
+						top: 8px;
+						right: 8px;
 						width: 50px;
 						height: 50px;
 						overflow: hidden;

+ 4 - 1
Web/src/views/system/dict/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<div class="sys-dict-container">
-		<el-row :gutter="8" style="width: 100%; height: 100%; flex: 1">
+		<el-row :gutter="5" style="width: 100%; height: 100%; flex: 1">
 			<el-col :span="12" :xs="24" style="display: flex; height: 100%; flex: 1">
 				<el-card class="full-table" shadow="hover" :body-style="{ height: 'calc(100% - 51px)' }">
 					<template #header>
@@ -362,6 +362,9 @@ const updateDictSession = async () => {
 </script>
 
 <style scoped>
+.sys-dict-container {
+    flex-direction: row !important;
+}
 :deep(.notice-bar) {
 	position: absolute;
 	display: inline-flex;