wujingjing
2025-04-14 1df71bdd7fc5b35be1447c9cc574bf610666f436
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@import './index.scss';
 
/* 页面宽度小于1200px
------------------------------- */
@media screen and (max-width: $lg) and (min-width: $xs) {
    .login-container {
        .login-left {
            .login-left-img {
                top: 90% !important;
                left: 12% !important;
                width: 30% !important;
                height: 18% !important;
            }
        }
        .login-right {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
}
 
/* 页面宽度小于576px
------------------------------- */
@media screen and (max-width: $xs) {
    .login-container {
        .login-left {
            display: none;
        }
        .login-right {
            width: 100% !important;
            .login-right-warp {
                width: 100% !important;
                height: 100% !important;
                border: none !important;
                .login-right-warp-mian {
                    .el-form-item {
                        display: flex !important;
                    }
                    .login-right-warp-main-title {
                        font-size: 20px !important;
                    }
                }
                .login-right-warp-one {
                    &::after {
                        right: 0 !important;
                    }
                }
                .login-right-warp-two {
                    &::before {
                        bottom: 1px !important;
                    }
                }
            }
        }
    }
}
 
/* 页面宽度小于375px
------------------------------- */
@media screen and (max-width: $us) {
    .login-container {
        .login-right {
            .login-right-warp {
                .login-right-warp-mian {
                    .login-right-warp-main-title {
                        font-size: 18px !important;
                    }
                }
            }
        }
    }
}