fix: 收藏功能

This commit is contained in:
old burden 2026-04-09 17:33:27 +08:00
parent 6a7abddfa4
commit 8032c35cea
1 changed files with 45 additions and 32 deletions

View File

@ -701,6 +701,8 @@ export default {
.detail-content { .detail-content {
padding: 20px; padding: 20px;
font-size: 14px; font-size: 14px;
background: #1f2329;
border-radius: 8px;
.detail-form { .detail-form {
display: flex; display: flex;
@ -709,26 +711,27 @@ export default {
} }
.detail-group { .detail-group {
background: rgba(255, 255, 255, 0.03); background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(255, 255, 255, 0.08); border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 12px; border-radius: 12px;
padding: 16px; padding: 18px;
color: #1a1f2e;
} }
.group-title { .group-title {
font-size: 15px; font-size: 15px;
font-weight: 600; font-weight: 600;
color: #00cae0; color: #0066cc;
margin-bottom: 14px; margin-bottom: 16px;
padding-bottom: 8px; padding-bottom: 10px;
border-bottom: 1px solid rgba(0, 202, 224, 0.2); border-bottom: 2px solid #e6f0ff;
} }
.detail-row { .detail-row {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
padding: 8px 0; padding: 10px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid #e8e8e8;
&:last-child { &:last-child {
border-bottom: none; border-bottom: none;
@ -736,30 +739,34 @@ export default {
} }
.label { .label {
width: 100px; width: 110px;
flex-shrink: 0; flex-shrink: 0;
color: rgba(255, 255, 255, 0.6); color: #555;
font-weight: 500;
font-size: 13px; font-size: 13px;
padding-top: 2px; padding-top: 3px;
} }
.value { .value {
flex: 1; flex: 1;
color: rgba(255, 255, 255, 0.95); color: #222;
word-break: break-all; word-break: break-all;
line-height: 1.5; line-height: 1.6;
font-size: 13.5px;
&.long-text { &.long-text {
max-height: 110px; max-height: 120px;
overflow-y: auto; overflow-y: auto;
background: rgba(0, 0, 0, 0.3); background: #f8f9fa;
padding: 10px; padding: 12px;
border-radius: 6px; border-radius: 6px;
border: 1px solid #e0e0e0;
font-size: 13px; font-size: 13px;
line-height: 1.5;
} }
.text-muted { .text-muted {
color: rgba(255, 255, 255, 0.45); color: #888;
} }
} }
@ -774,6 +781,7 @@ export default {
max-width: 420px; max-width: 420px;
border-radius: 8px; border-radius: 8px;
background: #000; background: #000;
border: 1px solid #ddd;
} }
.detail-image { .detail-image {
@ -781,12 +789,14 @@ export default {
max-height: 260px; max-height: 260px;
border-radius: 8px; border-radius: 8px;
cursor: pointer; cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.1); border: 2px solid #e0e0e0;
transition: all 0.2s ease; transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
&:hover { &:hover {
transform: scale(1.03); transform: scale(1.02);
box-shadow: 0 0 0 3px rgba(0, 202, 224, 0.3); border-color: #0066cc;
box-shadow: 0 4px 16px rgba(0,102,204,0.2);
} }
&.small { &.small {
@ -795,25 +805,28 @@ export default {
} }
.result-text { .result-text {
color: rgba(255, 255, 255, 0.5); color: #666;
font-style: italic; font-style: italic;
padding: 12px; padding: 14px;
background: rgba(255, 255, 255, 0.05); background: #f5f5f5;
border-radius: 6px; border-radius: 6px;
border-left: 4px solid #999;
} }
.json-block { .json-block {
background: #1a1f2e; background: #f8f9fa;
color: #a5d6ff; color: #1a2a44;
padding: 14px; padding: 16px;
border-radius: 8px; border-radius: 8px;
font-size: 12px; font-size: 12.5px;
max-height: 220px; max-height: 260px;
overflow: auto; overflow: auto;
white-space: pre; white-space: pre;
font-family: 'Consolas', monospace; font-family: 'Consolas', 'Courier New', monospace;
line-height: 1.4; line-height: 1.45;
border: 1px solid rgba(165, 214, 255, 0.1); border: 1px solid #d0d7e0;
max-width: 70%;
box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
} }
} }