代码优化

This commit is contained in:
BianLzhaoMin 2024-12-12 09:13:37 +08:00
parent 21404d22f6
commit 477f48e23f
1 changed files with 6 additions and 3 deletions

View File

@ -890,8 +890,11 @@ const downloadContract = () => {}
</div> </div>
</el-col> </el-col>
<el-col :span="4" style="display: flex; align-items: center"> <el-col
<div :class="item.orderStatus == 5 ? 'handle-btn-4 ' : 'handle-btn'"> :span="item.orderStatus == 5 ? 4 : 6"
style="display: flex; align-items: center"
>
<div :class="item.orderStatus == 5 ? 'handle-btn-4' : 'handle-btn'">
<el-button <el-button
v-if="item.orderStatus == '1'" v-if="item.orderStatus == '1'"
type="primary" type="primary"
@ -2138,7 +2141,7 @@ const downloadContract = () => {}
align-items: center; align-items: center;
.el-button { .el-button {
width: calc((100% - 50px) / 4); width: calc((100% - 50px) / 4);
margin: 0; margin-bottom: 10px;
margin-left: 10px !important; margin-left: 10px !important;
} }
} }