钟日健
2022-02-08 2c461eb9efb980d55dfd7407ee70088fc90a4a7a
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
.avue-left,
.avue-header,
.avue-top,
.avue-logo,
.avue-layout .login-logo,
.avue-main {
  transition: all 0.3s;
}
 
.avue-contail {
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  background-size: 100%;
  background-repeat: no-repeat;
}
 
.avue-left {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100%;
  z-index: 1027;
}
 
.avue--collapse {
  .avue-left,
  .avue-logo {
    width: 60px;
  }
 
  .avue-header {
    padding-left: 60px;
  }
 
  .avue-main {
    width: calc(100% - 60px);
    left: 60px;
  }
}
 
.avue-header {
  padding-left: 60px;
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
}
 
.avue-main {
  position: absolute;
  left: 60px;
  padding: 0;
  padding-bottom: 20px;
  width: calc(100% - 60px);
  height: calc(100% - 64px);
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.5s;
  background: #f0f2f5;
  z-index: 1026;
 
  &--fullscreen {
    width: 100%;
    left: 0;
  }
}
 
.avue-view {
  padding: 0 10px !important;
  width: 100%;
  box-sizing: border-box;
}
 
.avue-footer {
  margin: 0 auto;
  padding: 0 22px;
  width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
 
  .logo {
    margin-left: -50px;
  }
 
  .copyright {
    color: #666;
    line-height: 1.5;
    font-size: 12px;
  }
}
 
.avue-shade {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1024;
 
  &--show {
    display: block;
  }
}
 
// @media screen and (max-width: 992px) {
//   $width: 240px;
//   // ele的自适应
//   .el-dialog,
//   .el-message-box {
//     width: 98% !important;
//   }
//   //登录页面
//   .login-left {
//     display: none !important;
//   }
//   .login-logo {
//     padding-top: 30px !important;
//     margin-left: -30px;
//   }
//   .login-weaper {
//     margin: 0 auto;
//     width: 96% !important;
//   }
//   .login-border {
//     border-radius: 5px;
//     padding: 40px;
//     margin: 0 auto;
//     float: none !important;
//     width: 100% !important;
//   }
//   .login-main {
//     width: 100% !important;
//   }
//   //主框架
//   .avue-tags {
//     display: none;
//   }
//   .avue-left,
//   .avue-logo {
//     left: -$width;
//   }
//   .avue-main {
//     left: 0;
//     width: 100%;
//   }
//   .avue-header {
//     margin-bottom: 15px;
//     padding-left: 15px;
//   }
//   .top-bar__item {
//     display: none;
//   }
//   .avue--collapse {
//     .avue-left,
//     .avue-logo {
//       width: $width;
//       left: 0;
//     }
 
//     .avue-main {
//       width: calc(100% - 60px);
//       left: 60px;
//     }
 
//     .avue-header {
//       padding-left: 60px;
//     }
//   }
// }