33
schangxiang@126.com
2025-05-18 daf2a4075e8ce949cda132de6a03b7ea86597b37
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
.pipeAccessoryAssemblyContent { 
  width: 100%; 
  height: 100%; 
  // height: 100% !important; 
  // overflow-y: auto !important; /* 内容超出时显示滚动条 */
  // padding-bottom: 20px; /* 避免内容被底部遮挡 */
 
  .pipeAccessoryAssemblyList { 
    width: 100%; 
    height: calc(100% - 70px); 
  } 
  .headerContent { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 43px; 
  } 
  .header { 
    margin-bottom: 12px; 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
  } 
 
  .h5Form {
    display: flex;
    flex-direction: column;
    gap: 20px; // 表单项之间的间距
 
    .el-form-item {
      margin-bottom: 0; // 移除默认的底部边距
       width: 100% !important; // 占满父容器宽度
    }
 
    .el-form-item__label {
      display: block;
      text-align: left;
      margin-bottom: 8px;
      font-weight: 500;
    }
  }
 
.tagBox { 
  width: auto; 
  min-width: 80px; 
  height: 24px; 
  background: #ffffff; 
  border-radius: 19px 19px 19px 19px; 
  opacity: 1; 
  border: 1px dashed #bcc4cc; 
  width: 50px; 
  height: 20px; 
  font-size: 14px; 
  font-family: PingFang SC, PingFang SC; 
  font-weight: 400; 
  color: #5a84ff; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  // cursor: pointer; 
 
.group { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
 
.groupTable { 
  width: 100%; 
 
.overBox { 
  width: 100%; 
  height: calc(100% - 20px); 
  overflow: auto; 
  :global(.cs-collapse-item__header) { 
    background-color: #f1f1f1; 
    padding: 0 20px; 
    height: 35px; 
    font-size: 16px; 
    font-family: PingFang SC, PingFang SC; 
    font-weight: 500; 
  } 
  :global(.cs-collapse-item__content) { 
    padding-bottom: 0px; 
  } 
.groupHeader { 
  width: 100%; 
  height: 30px; 
  background: #ccc; 
 
.hideBlock { 
  display: none; 
.queryForm { 
  padding: 10px; 
  background: #f5f7fa; 
  margin-bottom: 0px; 
  border-radius: 4px; 
   
  .el-form-item { 
    margin-right: 20px; 
    margin-bottom: 0; 
     
    // 统一输入框和选择框的宽度 
    .el-input, .el-select { 
      width: 200px; // 设置统一的宽度 
    } 
     
    // 选择框内部输入框样式 
    .el-select .el-input__wrapper { 
      height: 32px; // 与输入框高度一致 
      padding: 1px 11px; // 与输入框内边距一致 
    } 
     
    // 日期选择器宽度 
    .el-date-editor { 
      width: 220px; 
    } 
  } 
 
// 如果需要更精确的控制,可以单独设置 
.formItem { 
  width: 200px; 
   
  &.el-input, &.el-select { 
    width: 100%; 
  } 
  
 
 
.newPageContent {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: white;
 
  .info-block {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 20px;
    width: calc(33.33% - 20px);
 
    .block-title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 15px;
    }
 
    .info-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
 
      .info-tag {
        display: flex;
        align-items: center;
        gap: 5px;
 
        .tag-label {
          font-weight: bold;
        }
      }
    }
 
    .action-buttons {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
 
    .equipment-image {
      width: 100%;
      height: auto;
      margin-top: 20px;
    }
 
    .status-normal {
      color: green;
    }
  }
 
  .process-table {
    width: 100%;
    margin-top: 20px;
 
    .el-table {
      border: 1px solid #eaeaea;
      border-radius: 5px;
    }
  }
}
 
 
.modelRrow {
  display: flex; /* 弹性布局 */
  gap: 20px; /* 控件间距 */
  align-items: center; /* 垂直居中 */
  margin-bottom: 12px; /* 底部间距 */
  width: 100%;
 
  .el-form-item {
    flex: 1 !important; /* 均分空间 */
    margin-bottom: 0;
    max-width: none; // 移除最大宽度限制
  }
 
  .el-select {
    width: 100%; // 确保Select占满父容器宽度
    
    // 移除可能影响宽度的内部样式
    .el-input__wrapper {
      width: 100%;
    }
  }
 
  // 响应式设计
  @media (max-width: 1200px) {
    .model-row {
      flex-wrap: wrap;
      
      .el-form-item {
        flex: 1 0 calc(50% - 10px); // 在中等屏幕上每行显示2个
        margin-bottom: 10px;
      }
    }
  }
  
  @media (max-width: 768px) {
    .model-row {
      flex-direction: column;
      
      .el-form-item {
        width: 100%; // 在小屏幕上每行显示1个
      }
    }
  }
}
 
.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}