@agile-team/wl-skills-kit 2.9.3 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,207 +1,207 @@
1
- /**
2
- * 新增编辑页示例 - 样式层
3
- */
4
-
5
- .main-maintenance-container {
6
- padding: 8px;
7
- background-color: #f5f5f5;
8
- box-sizing: border-box;
9
- height: 100%;
10
- display: flex;
11
- flex-direction: column;
12
-
13
- // jh-drag-row 区域
14
- .main-splitter {
15
- flex: 1;
16
- overflow: hidden;
17
- }
18
-
19
- // 表单卡片
20
- .form-card {
21
- height: 100%;
22
- :deep(.el-card__body) {
23
- padding: 0;
24
- height: 100%;
25
- display: flex;
26
- flex-direction: column;
27
- }
28
- }
29
-
30
- // 项次信息卡片
31
- .items-card {
32
- height: 100%;
33
- :deep(.el-card__body) {
34
- padding: 0;
35
- height: 100%;
36
- }
37
- }
38
- }
39
-
40
- // 全屏覆盖层
41
- .fullscreen-overlay {
42
- position: fixed;
43
- top: 0;
44
- left: 0;
45
- width: 100vw;
46
- height: 100vh;
47
- z-index: 9999;
48
- background: rgba(0, 0, 0, 0.5);
49
- display: flex;
50
- align-items: center;
51
- justify-content: center;
52
- animation: fadeIn 0.3s;
53
-
54
- .items-card-fullscreen {
55
- width: 100%;
56
- height: 100%;
57
- margin: 0;
58
- border-radius: 0;
59
-
60
- :deep(.el-card__body) {
61
- padding: 0;
62
- height: 100%;
63
- display: flex;
64
- flex-direction: column;
65
- }
66
-
67
- .child-items-section {
68
- height: 100%;
69
- }
70
- }
71
- }
72
-
73
- @keyframes fadeIn {
74
- from {
75
- opacity: 0;
76
- }
77
-
78
- to {
79
- opacity: 1;
80
- }
81
- }
82
-
83
- // 子表格及增加行
84
- .sub-table-container {
85
- margin-top: 15px;
86
- width: 100%;
87
- }
88
-
89
- .add-row {
90
- color: #409eff;
91
- font-size: 13px;
92
- cursor: pointer;
93
- border: 1px dashed #dcdfe6;
94
- border-top: none;
95
- text-align: left;
96
- padding: 8px 12px;
97
-
98
- &:hover {
99
- background-color: #f5f7fa;
100
- }
101
- }
102
-
103
- // 项次信息区域
104
- .child-items-section {
105
- height: 100%;
106
- display: flex;
107
- flex-direction: column;
108
- background: #fff;
109
- }
110
-
111
- .section-header {
112
- padding: 8px 16px;
113
- display: flex;
114
- align-items: center;
115
- justify-content: space-between;
116
- border-bottom: 1px solid #e4e7ed;
117
- background: #fafafa;
118
- flex-shrink: 0;
119
-
120
- .collapse-icon {
121
- color: #409eff;
122
- font-size: 12px;
123
- }
124
-
125
- .fullscreen-icon {
126
- font-size: 18px;
127
- color: #606266;
128
- cursor: pointer;
129
- transition: all 0.3s;
130
- padding: 4px;
131
- border-radius: 4px;
132
-
133
- &:hover {
134
- color: #409eff;
135
- background-color: rgba(64, 158, 255, 0.1);
136
- transform: scale(1.1);
137
- }
138
-
139
- &:active {
140
- transform: scale(0.95);
141
- }
142
- }
143
-
144
- .title-group {
145
- display: flex;
146
- align-items: center;
147
- gap: 6px;
148
- font-weight: 600;
149
- font-size: 13px;
150
- color: #303133;
151
- }
152
- }
153
-
154
- .child-table {
155
- font-size: 12px;
156
- flex: 1;
157
- }
158
-
159
- // 分页容器
160
- .items-pagination {
161
- padding: 12px 16px;
162
- border-top: 1px solid #e4e7ed;
163
- background: #fff;
164
- flex-shrink: 0;
165
-
166
- // 拖动提示(仅常规模式显示)
167
- .drag-hint {
168
- display: flex;
169
- align-items: center;
170
- justify-content: center;
171
- gap: 4px;
172
- margin-bottom: 8px;
173
- color: #909399;
174
- font-size: 12px;
175
-
176
- .drag-icon {
177
- font-size: 14px;
178
- color: #f56c6c;
179
- }
180
-
181
- .hint-text {
182
- color: #909399;
183
- }
184
- }
185
- }
186
-
187
- // 表格头部样式
188
- :deep(.el-table th) {
189
- background-color: #f5f7fa !important;
190
- color: #606266;
191
- font-size: 12px;
192
- }
193
-
194
- // 表格行样式
195
- :deep(.el-table td) {
196
- font-size: 12px;
197
- padding: 6px 0;
198
- }
199
-
200
- // 表单字段全宽
201
- :deep(.el-form-item__content) {
202
- & > .el-select,
203
- & > .el-input,
204
- & > .el-date-picker {
205
- width: 100%;
206
- }
207
- }
1
+ /**
2
+ * 新增编辑页示例 - 样式层
3
+ */
4
+
5
+ .main-maintenance-container {
6
+ padding: 8px;
7
+ background-color: #f5f5f5;
8
+ box-sizing: border-box;
9
+ height: 100%;
10
+ display: flex;
11
+ flex-direction: column;
12
+
13
+ // jh-drag-row 区域
14
+ .main-splitter {
15
+ flex: 1;
16
+ overflow: hidden;
17
+ }
18
+
19
+ // 表单卡片
20
+ .form-card {
21
+ height: 100%;
22
+ :deep(.el-card__body) {
23
+ padding: 0;
24
+ height: 100%;
25
+ display: flex;
26
+ flex-direction: column;
27
+ }
28
+ }
29
+
30
+ // 项次信息卡片
31
+ .items-card {
32
+ height: 100%;
33
+ :deep(.el-card__body) {
34
+ padding: 0;
35
+ height: 100%;
36
+ }
37
+ }
38
+ }
39
+
40
+ // 全屏覆盖层
41
+ .fullscreen-overlay {
42
+ position: fixed;
43
+ top: 0;
44
+ left: 0;
45
+ width: 100vw;
46
+ height: 100vh;
47
+ z-index: 9999;
48
+ background: rgba(0, 0, 0, 0.5);
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ animation: fadeIn 0.3s;
53
+
54
+ .items-card-fullscreen {
55
+ width: 100%;
56
+ height: 100%;
57
+ margin: 0;
58
+ border-radius: 0;
59
+
60
+ :deep(.el-card__body) {
61
+ padding: 0;
62
+ height: 100%;
63
+ display: flex;
64
+ flex-direction: column;
65
+ }
66
+
67
+ .child-items-section {
68
+ height: 100%;
69
+ }
70
+ }
71
+ }
72
+
73
+ @keyframes fadeIn {
74
+ from {
75
+ opacity: 0;
76
+ }
77
+
78
+ to {
79
+ opacity: 1;
80
+ }
81
+ }
82
+
83
+ // 子表格及增加行
84
+ .sub-table-container {
85
+ margin-top: 15px;
86
+ width: 100%;
87
+ }
88
+
89
+ .add-row {
90
+ color: #409eff;
91
+ font-size: 13px;
92
+ cursor: pointer;
93
+ border: 1px dashed #dcdfe6;
94
+ border-top: none;
95
+ text-align: left;
96
+ padding: 8px 12px;
97
+
98
+ &:hover {
99
+ background-color: #f5f7fa;
100
+ }
101
+ }
102
+
103
+ // 项次信息区域
104
+ .child-items-section {
105
+ height: 100%;
106
+ display: flex;
107
+ flex-direction: column;
108
+ background: #fff;
109
+ }
110
+
111
+ .section-header {
112
+ padding: 8px 16px;
113
+ display: flex;
114
+ align-items: center;
115
+ justify-content: space-between;
116
+ border-bottom: 1px solid #e4e7ed;
117
+ background: #fafafa;
118
+ flex-shrink: 0;
119
+
120
+ .collapse-icon {
121
+ color: #409eff;
122
+ font-size: 12px;
123
+ }
124
+
125
+ .fullscreen-icon {
126
+ font-size: 18px;
127
+ color: #606266;
128
+ cursor: pointer;
129
+ transition: all 0.3s;
130
+ padding: 4px;
131
+ border-radius: 4px;
132
+
133
+ &:hover {
134
+ color: #409eff;
135
+ background-color: rgba(64, 158, 255, 0.1);
136
+ transform: scale(1.1);
137
+ }
138
+
139
+ &:active {
140
+ transform: scale(0.95);
141
+ }
142
+ }
143
+
144
+ .title-group {
145
+ display: flex;
146
+ align-items: center;
147
+ gap: 6px;
148
+ font-weight: 600;
149
+ font-size: 13px;
150
+ color: #303133;
151
+ }
152
+ }
153
+
154
+ .child-table {
155
+ font-size: 12px;
156
+ flex: 1;
157
+ }
158
+
159
+ // 分页容器
160
+ .items-pagination {
161
+ padding: 12px 16px;
162
+ border-top: 1px solid #e4e7ed;
163
+ background: #fff;
164
+ flex-shrink: 0;
165
+
166
+ // 拖动提示(仅常规模式显示)
167
+ .drag-hint {
168
+ display: flex;
169
+ align-items: center;
170
+ justify-content: center;
171
+ gap: 4px;
172
+ margin-bottom: 8px;
173
+ color: #909399;
174
+ font-size: 12px;
175
+
176
+ .drag-icon {
177
+ font-size: 14px;
178
+ color: #f56c6c;
179
+ }
180
+
181
+ .hint-text {
182
+ color: #909399;
183
+ }
184
+ }
185
+ }
186
+
187
+ // 表格头部样式
188
+ :deep(.el-table th) {
189
+ background-color: #f5f7fa !important;
190
+ color: #606266;
191
+ font-size: 12px;
192
+ }
193
+
194
+ // 表格行样式
195
+ :deep(.el-table td) {
196
+ font-size: 12px;
197
+ padding: 6px 0;
198
+ }
199
+
200
+ // 表单字段全宽
201
+ :deep(.el-form-item__content) {
202
+ & > .el-select,
203
+ & > .el-input,
204
+ & > .el-date-picker {
205
+ width: 100%;
206
+ }
207
+ }