This commit is contained in:
dhr
2025-09-15 19:30:07 +08:00
parent 0059b3cb42
commit 91162f1dc4
6 changed files with 53 additions and 17 deletions

View File

@ -112,8 +112,8 @@
</div>
<div class="task-actions">
<el-button type="text" size="small" class="action-btn view-btn" @click="handleView(task)"> 详情 </el-button>
<el-button type="primary" size="small" :class="task.actionClass" @click="handleAction(task)">
<el-button type="text" class="action-btn view-btn" @click="handleView(task)"> 详情 </el-button>
<el-button type="primary" :class="task.actionClass" @click="handleAction(task)">
{{ task.actionText }}
</el-button>
</div>
@ -701,10 +701,20 @@ const handleInspection7 = () => {
display: flex;
justify-content: flex-end;
align-items: center;
padding-top: 16px;
padding-top: 12px;
border-top: 1px solid #f0f2f5;
margin-top: auto; /* 自动推到最底部 */
gap: 8px;
position: absolute;
bottom: 16px;
right: 16px;
left: 16px;
background-color: #fff;
padding: 12px 0 0 0;
z-index: 10;
}
.task-actions .el-button {
border-radius: 16px;
padding: 6px 16px;
}
.action-btn {