归档页调整

This commit is contained in:
GYYM
2024-12-09 16:17:04 +08:00
parent a73417ea02
commit 6d7f045bce
4 changed files with 55 additions and 79 deletions

View File

@@ -8,10 +8,11 @@
:color="customColors"
/>
<!-- v-if="!isPause && activeIndex < activeTotalNum" -->
<el-button
type="primary"
v-if="!isPause && activeIndex < activeTotalNum"
:disabled="activeIndex===0"
:disabled="activeIndex===0 && activeIndex >= activeTotalNum"
:icon="VideoPause"
@click="handlePauseTest"
>暂停检测</el-button
@@ -24,13 +25,13 @@
>继续检测</el-button
>
<el-button
<!-- <el-button
type="warning"
v-if="activeIndex >= activeTotalNum"
:icon="Refresh"
@click="handleReCheck"
>重新检测</el-button
>
> -->
<!-- <el-button type="danger" :icon="Close" @click="handleFinishTest"
>停止检测</el-button
> -->
@@ -228,7 +229,7 @@
</div>
<div style="height: 98px;">
<el-collapse model-value="1" accordion>
<el-collapse-item title="检测日志:" name="1">
<el-collapse-item title="检测项进度" name="1">
<div ref="scrollContainer" class="dialog-log">
<p v-for="(item, index) in testLogList" :key="index" :style="{color:item.type==='error'?'#F56C6C':'var(--el-text-color-regular)'}">
{{ item.log }} <br />