diff --git a/src/assets/images/login/bg.png b/src/assets/images/login/bg.png
new file mode 100644
index 0000000..bf65684
Binary files /dev/null and b/src/assets/images/login/bg.png differ
diff --git a/src/views/login/login copy.vue b/src/views/login/login copy.vue
new file mode 100644
index 0000000..2716bd5
--- /dev/null
+++ b/src/views/login/login copy.vue
@@ -0,0 +1,472 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/login/login.vue b/src/views/login/login.vue
index 2716bd5..33ccc30 100644
--- a/src/views/login/login.vue
+++ b/src/views/login/login.vue
@@ -45,19 +45,9 @@
-
-
-
-
-
-
-
-
-
-
@@ -168,7 +158,7 @@ export default defineComponent({
const mainObserver = new ResizeObserver((entries) => {
const [first] = entries;
if (first) {
- init();
+ // init();
}
});
@@ -322,11 +312,13 @@ export default defineComponent({
overflow: hidden;
left: 0;
top: 0;
- background: #2d85be;
+ //background: #2d85be;
#login-bg-container {
width: 100%;
height: 100%;
+ background: url('@/assets/images/login/bg.png');
+ background-size: cover;
}
.left-title {
@@ -362,19 +354,21 @@ export default defineComponent({
.form {
position: absolute;
top: 50%;
- transform: translateY(-50%);
- right: 160px;
- width: 585px;
- height: 700px;
+ transform: translate(-50%, -50%);
+ left: 50%;
+ width: 520px;
+ height: 450px;
border-radius: 12px;
box-shadow: -2px 1px 30px 1px rgb(0 119 253 / 10%);
- background: url('@/assets/images/login_frame.png') no-repeat center;
+ // background: url('@/assets/images/login_frame.png') no-repeat center;
+ background: #fff;
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
- padding-top: 200px;
+ padding-top: 50px;
z-index: 2;
+ opacity: 0.8;
> .title {
text-align: center;
@@ -385,7 +379,7 @@ export default defineComponent({
}
::v-deep .el-form {
- padding: 0 100px;
+ padding: 0 70px;
width: 100%;
.el-form-item {