sx
This commit is contained in:
@@ -591,6 +591,28 @@ body {
|
|||||||
transition: all var(--duration-fast) var(--ease-default);
|
transition: all var(--duration-fast) var(--ease-default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-sm.btn-icon {
|
||||||
|
padding: var(--space-1) var(--space-2);
|
||||||
|
min-width: 28px;
|
||||||
|
background: var(--bg-tertiary);
|
||||||
|
border: 1px solid var(--border-default);
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-sm.btn-icon:hover {
|
||||||
|
background: var(--gray-200);
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-icon {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 10px;
|
||||||
|
transition: transform var(--duration-fast) var(--ease-default);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-icon.expanded {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
.btn-sm.btn-primary {
|
.btn-sm.btn-primary {
|
||||||
background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
|
background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
|
||||||
color: white;
|
color: white;
|
||||||
|
|||||||
+2
-2
@@ -995,8 +995,8 @@ const MoldInsightView = {
|
|||||||
<button v-if="file.latest_status === 'completed'" class="btn-sm btn-primary" @click="viewResult({task_id: file.latest_task_id})">
|
<button v-if="file.latest_status === 'completed'" class="btn-sm btn-primary" @click="viewResult({task_id: file.latest_task_id})">
|
||||||
查看最新
|
查看最新
|
||||||
</button>
|
</button>
|
||||||
<button class="btn-sm btn-secondary" @click="toggleFileHistory(file.filename)">
|
<button class="btn-sm btn-icon" @click="toggleFileHistory(file.filename)" :title="state.expandedFiles[file.filename] ? '收起' : '展开历史记录'">
|
||||||
{{ state.expandedFiles[file.filename] ? '收起' : '历史记录' }}
|
<span class="dropdown-icon" :class="{ 'expanded': state.expandedFiles[file.filename] }">▼</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user