lrj
2 天以前 c61d4fe27c97d2ecc907756aa571a4ef14a7b9b6
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
// 全局样式
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f5f5f5;
}
 
// Element Plus 样式覆盖
.el-menu {
  border-right: none !important;
}
 
.el-main {
  padding: 20px;
}
 
// 通用类
.text-center {
  text-align: center;
}
 
.text-right {
  text-align: right;
}
 
.mb-20 {
  margin-bottom: 20px;
}
 
.mt-20 {
  margin-top: 20px;
}
 
// 卡片样式
.page-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}
 
// 表格操作按钮
.table-actions {
  .el-button {
    margin-right: 8px;
    
    &:last-child {
      margin-right: 0;
    }
  }
}
 
// 表单样式
.form-container {
  max-width: 600px;
  margin: 0 auto;
}
 
// 响应式
@media (max-width: 768px) {
  .el-main {
    padding: 10px;
  }
  
  .page-card {
    padding: 15px;
  }
}