1
This commit is contained in:
@@ -553,6 +553,8 @@ export default {
|
|||||||
.button-group {
|
.button-group {
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
display: grid !important;
|
||||||
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-group .el-button {
|
.button-group .el-button {
|
||||||
@@ -560,33 +562,50 @@ export default {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
height: 44px; /* 增大触摸目标 */
|
height: 44px; /* 增大触摸目标 */
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
|
width: 100% !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
flex: none !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 第一行按钮组(执行、清空、慢单、生)- 每行2个 */
|
/* 第一行按钮组(执行、清空、慢单、生)- 每行2个 */
|
||||||
.button-group-primary {
|
.button-group-primary {
|
||||||
display: grid;
|
display: grid !important;
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr) !important;
|
||||||
gap: 8px;
|
gap: 8px !important;
|
||||||
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-group-primary .el-button {
|
.button-group-primary .el-button {
|
||||||
width: 100%;
|
width: 100% !important;
|
||||||
margin: 0;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 第二行按钮组(腾峰、凡、纹等)- 每行3个 */
|
/* 第二行按钮组(腾峰、凡、纹等)- 每行3个 */
|
||||||
.button-group-secondary {
|
.button-group-secondary {
|
||||||
display: grid;
|
display: grid !important;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr) !important;
|
||||||
gap: 8px;
|
gap: 8px !important;
|
||||||
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-group-secondary .el-button {
|
.button-group-secondary .el-button {
|
||||||
width: 100%;
|
width: 100% !important;
|
||||||
margin: 0;
|
max-width: 100% !important;
|
||||||
padding: 10px 4px;
|
padding: 10px 4px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 确保el-form-item不会影响布局 */
|
||||||
|
.button-group.el-form-item {
|
||||||
|
margin-bottom: 12px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-group.el-form-item ::v-deep .el-form-item__content {
|
||||||
|
margin-left: 0 !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 历史记录控制条 */
|
/* 历史记录控制条 */
|
||||||
|
|||||||
Reference in New Issue
Block a user