简单渲染wyxd,未整合

This commit is contained in:
2026-07-24 09:18:10 +08:00
parent 9ace485cbd
commit dc4f6b2132
11 changed files with 7420 additions and 1435 deletions

View File

@@ -0,0 +1,526 @@
.book-viewer[data-v-dc6aee90] {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: #1a1a2e;
z-index: 9999;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* ========== 工具栏 ========== */
.toolbar[data-v-dc6aee90] {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0.625rem;
height: 2.1875rem;
background: rgba(26, 26, 46, 0.95);
border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.08);
flex-shrink: 0;
}
.toolbar-left[data-v-dc6aee90] {
display: flex;
align-items: center;
gap: 0.5rem;
flex: 1;
min-width: 0;
}
.toolbar-brand[data-v-dc6aee90] {
font-size: 0.6875rem;
font-weight: 800;
color: #0ea5e9;
letter-spacing: 0.0625rem;
flex-shrink: 0;
}
.toolbar-title[data-v-dc6aee90] {
font-size: 0.8125rem;
color: #e2e8f0;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.toolbar-right[data-v-dc6aee90] {
display: flex;
align-items: center;
gap: 0.25rem;
flex-shrink: 0;
}
.toolbar-btn[data-v-dc6aee90] {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0.25rem 0.4375rem;
border-radius: 0.25rem;
background: rgba(255, 255, 255, 0.06);
min-width: 2.125rem;
}
.toolbar-btn[data-v-dc6aee90]:active {
background: rgba(255, 255, 255, 0.15);
}
.toolbar-close[data-v-dc6aee90] {
background: rgba(239, 68, 68, 0.15);
margin-left: 0.25rem;
}
.toolbar-close[data-v-dc6aee90]:active {
background: rgba(239, 68, 68, 0.3);
}
.toolbar-icon[data-v-dc6aee90] {
font-size: 0.875rem;
color: #cbd5e1;
}
.toolbar-label[data-v-dc6aee90] {
font-size: 0.5625rem;
color: #94a3b8;
margin-top: 0.0625rem;
}
.page-display[data-v-dc6aee90] {
display: flex;
align-items: center;
gap: 0.1875rem;
padding: 0 0.3125rem;
font-size: 0.75rem;
color: #e2e8f0;
font-weight: 600;
min-width: 2.5rem;
justify-content: center;
}
/* ========== 目录侧边栏 ========== */
.toc-overlay[data-v-dc6aee90] {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 10001;
}
.toc-sidebar[data-v-dc6aee90] {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 13.75rem;
background: #16213e;
display: flex;
flex-direction: column;
box-shadow: 0.25rem 0 1.25rem rgba(0, 0, 0, 0.4);
}
.toc-header[data-v-dc6aee90] {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 0.875rem;
border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.08);
flex-shrink: 0;
}
.toc-header-title[data-v-dc6aee90] {
font-size: 0.9375rem;
font-weight: 700;
color: #e2e8f0;
}
.toc-close[data-v-dc6aee90] {
width: 1.625rem;
height: 1.625rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
font-size: 0.875rem;
color: #94a3b8;
}
.toc-close[data-v-dc6aee90]:active {
background: rgba(255, 255, 255, 0.2);
}
.toc-list[data-v-dc6aee90] {
flex: 1;
overflow: hidden;
}
.toc-item[data-v-dc6aee90] {
display: flex;
align-items: center;
padding: 0.625rem 0.875rem;
border-bottom: 0.03125rem solid rgba(255, 255, 255, 0.04);
gap: 0.4375rem;
}
.toc-item[data-v-dc6aee90]:active {
background: rgba(255, 255, 255, 0.05);
}
.toc-active[data-v-dc6aee90] {
background: rgba(14, 165, 233, 0.12);
border-left: 0.1875rem solid #0ea5e9;
}
.toc-level-1 .toc-text[data-v-dc6aee90] {
font-weight: 700;
font-size: 0.8125rem;
color: #e2e8f0;
}
.toc-level-2 .toc-text[data-v-dc6aee90] {
padding-left: 0.75rem;
font-size: 0.75rem;
color: #cbd5e1;
}
.toc-level-3 .toc-text[data-v-dc6aee90] {
padding-left: 1.5rem;
font-size: 0.6875rem;
color: #94a3b8;
}
.toc-bullet[data-v-dc6aee90] {
font-size: 0.5rem;
color: #0ea5e9;
flex-shrink: 0;
}
.toc-text[data-v-dc6aee90] {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.toc-page[data-v-dc6aee90] {
font-size: 0.625rem;
color: #64748b;
flex-shrink: 0;
}
/* ========== 书本舞台 ========== */
.book-stage[data-v-dc6aee90] {
flex: 1;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: #1a1a2e;
}
/* ========== 3D 书本容器 ========== */
.book-flip-container[data-v-dc6aee90] {
width: 92%;
height: 88%;
position: relative;
perspective: 1600px;
display: flex;
}
/* ========== 展开页(底层) ========== */
.book-spread[data-v-dc6aee90] {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
z-index: 1;
}
.book-page[data-v-dc6aee90] {
flex: 1;
height: 100%;
position: relative;
}
.book-page-left[data-v-dc6aee90] {
border-radius: 0.375rem 0 0 0.375rem;
}
.book-page-right[data-v-dc6aee90] {
border-radius: 0 0.375rem 0.375rem 0;
}
/* ========== 翻页层 ========== */
.book-flipper[data-v-dc6aee90] {
position: absolute;
top: 0;
width: 50%;
height: 100%;
transform-style: preserve-3d;
z-index: 10;
}
.flipper-right[data-v-dc6aee90] {
right: 0;
border-radius: 0 0.375rem 0.375rem 0;
}
.flipper-left[data-v-dc6aee90] {
left: 0;
border-radius: 0.375rem 0 0 0.375rem;
}
.flipper-face[data-v-dc6aee90] {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
overflow: hidden;
}
.flipper-front[data-v-dc6aee90] {
z-index: 2;
background: linear-gradient(135deg, #fefefe 0%, #f5f5f4 100%);
}
.flipper-right .flipper-front[data-v-dc6aee90] {
border-radius: 0 0.375rem 0.375rem 0;
box-shadow: -0.125rem 0 0.9375rem rgba(0, 0, 0, 0.3);
}
.flipper-left .flipper-front[data-v-dc6aee90] {
border-radius: 0.375rem 0 0 0.375rem;
box-shadow: 0.125rem 0 0.9375rem rgba(0, 0, 0, 0.3);
}
.flipper-back[data-v-dc6aee90] {
transform: rotateY(180deg);
background: linear-gradient(135deg, #fefefe 0%, #f5f5f4 100%);
}
.flipper-right .flipper-back[data-v-dc6aee90] {
border-radius: 0.375rem 0 0 0.375rem;
box-shadow: 0.125rem 0 0.9375rem rgba(0, 0, 0, 0.3);
}
.flipper-left .flipper-back[data-v-dc6aee90] {
border-radius: 0 0.375rem 0.375rem 0;
box-shadow: -0.125rem 0 0.9375rem rgba(0, 0, 0, 0.3);
}
/* ========== 书脊线 ========== */
.book-spine[data-v-dc6aee90] {
position: absolute;
top: 4%;
left: 50%;
bottom: 4%;
width: 0.0625rem;
background: linear-gradient(180deg,
transparent 0%,
rgba(0,0,0,0.15) 15%,
rgba(0,0,0,0.15) 85%,
transparent 100%);
z-index: 5;
pointer-events: none;
}
/* ========== 页面内容通用 ========== */
.page-scroll[data-v-dc6aee90] {
height: 100%;
box-sizing: border-box;
}
.page-content[data-v-dc6aee90] {
min-height: 100%;
padding: 1.25rem;
background: linear-gradient(135deg, #fefefe 0%, #f5f5f4 100%);
border-radius: 0.375rem;
box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.35);
color: #1e293b;
font-size: 0.875rem;
line-height: 1.8;
word-break: break-word;
}
/* ========== 底部翻页提示 ========== */
.page-hint[data-v-dc6aee90] {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.4375rem 1rem;
flex-shrink: 0;
background: rgba(26, 26, 46, 0.95);
border-top: 0.0625rem solid rgba(255, 255, 255, 0.08);
}
.hint-btn[data-v-dc6aee90] {
padding: 0.3125rem 0.875rem;
border-radius: 0.625rem;
background: rgba(14, 165, 233, 0.15);
color: #0ea5e9;
font-size: 0.75rem;
}
.hint-btn[data-v-dc6aee90]:active {
background: rgba(14, 165, 233, 0.3);
}
.hint-disabled[data-v-dc6aee90] {
background: rgba(255, 255, 255, 0.05);
color: #475569;
pointer-events: none;
}
.hint-center[data-v-dc6aee90] {
font-size: 0.75rem;
color: #94a3b8;
padding: 0.3125rem 0.75rem;
border-radius: 0.625rem;
background: rgba(255, 255, 255, 0.05);
}
.hint-center[data-v-dc6aee90]:active {
background: rgba(255, 255, 255, 0.12);
}
/* 页面内部元素自适应 */
.book-stage[data-v-dc6aee90] img {
max-width: 100%;
height: auto;
border-radius: 0.25rem;
}
.book-stage[data-v-dc6aee90] table {
width: 100%;
border-collapse: collapse;
font-size: 0.75rem;
}
.book-stage[data-v-dc6aee90] th,
.book-stage[data-v-dc6aee90] td {
border: 0.03125rem solid #cbd5e1;
padding: 0.375rem 0.5rem;
text-align: left;
}
.book-stage[data-v-dc6aee90] th {
background: #f1f5f9;
font-weight: 600;
}
.book-stage[data-v-dc6aee90] pre {
background: #1e293b;
color: #e2e8f0;
padding: 0.75rem;
border-radius: 0.3125rem;
overflow-x: auto;
font-size: 0.75rem;
line-height: 1.5;
}
.book-stage[data-v-dc6aee90] code {
font-family: 'SF Mono', 'Menlo', monospace;
}
.book-stage[data-v-dc6aee90] blockquote {
border-left: 0.1875rem solid #0ea5e9;
padding: 0.5rem 0.875rem;
margin: 0.625rem 0;
background: #f0f9ff;
border-radius: 0 0.25rem 0.25rem 0;
color: #334155;
}
.book-stage[data-v-dc6aee90] h1 {
font-size: 1.25rem;
font-weight: 800;
color: #0f172a;
margin: 0.5rem 0 0.75rem;
padding-bottom: 0.375rem;
border-bottom: 0.09375rem solid #0ea5e9;
}
.book-stage[data-v-dc6aee90] h2 {
font-size: 1.0625rem;
font-weight: 700;
color: #1e293b;
margin: 0.5rem 0 0.625rem;
}
.book-stage[data-v-dc6aee90] h3 {
font-size: 0.9375rem;
font-weight: 600;
color: #334155;
margin: 0.4375rem 0 0.5rem;
}
.book-stage[data-v-dc6aee90] h4,
.book-stage[data-v-dc6aee90] h5,
.book-stage[data-v-dc6aee90] h6 {
font-size: 0.875rem;
font-weight: 600;
color: #475569;
margin: 0.375rem 0 0.4375rem;
}
.book-stage[data-v-dc6aee90] ul,
.book-stage[data-v-dc6aee90] ol {
padding-left: 1.25rem;
}
.book-stage[data-v-dc6aee90] li {
margin: 0.3125rem 0;
}
.book-stage[data-v-dc6aee90] p {
margin: 0.4375rem 0;
}
.book-stage[data-v-dc6aee90] a {
color: #0ea5e9;
text-decoration: none;
}
.book-stage[data-v-dc6aee90] hr {
border: none;
border-top: 0.0625rem solid #e2e8f0;
margin: 0.875rem 0;
}
.book-stage[data-v-dc6aee90] uni-video {
max-width: 100%;
height: auto;
border-radius: 0.25rem;
}
/* ========== 加载状态 ========== */
.book-loading[data-v-dc6aee90] {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.9375rem;
}
.loading-spinner[data-v-dc6aee90] {
width: 1.875rem;
height: 1.875rem;
border: 0.125rem solid rgba(14, 165, 233, 0.2);
border-top-color: #0ea5e9;
border-radius: 50%;
animation: spin-dc6aee90 0.8s linear infinite;
}
@keyframes spin-dc6aee90 {
to {
transform: rotate(360deg);
}
}
.loading-text[data-v-dc6aee90] {
font-size: 0.8125rem;
color: #94a3b8;
}
/* ========== 空状态 ========== */
.book-empty[data-v-dc6aee90] {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.75rem;
}
.empty-icon[data-v-dc6aee90] {
font-size: 2.5rem;
}
.empty-text[data-v-dc6aee90] {
font-size: 0.875rem;
color: #64748b;
}
/* ========== 页码跳转浮层 ========== */
.page-jump-bar[data-v-dc6aee90] {
position: absolute;
top: 0.5rem;
right: 0.9375rem;
z-index: 99;
}
.jump-input[data-v-dc6aee90] {
width: 6.25rem;
height: 1.875rem;
background: rgba(255, 255, 255, 0.95);
border: 0.0625rem solid #0ea5e9;
border-radius: 0.3125rem;
padding: 0 0.625rem;
font-size: 0.8125rem;
color: #1e293b;
text-align: center;
}
/* ========== 错误提示 ========== */
.error-toast[data-v-dc6aee90] {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(239, 68, 68, 0.92);
color: #fff;
padding: 0.625rem 1.25rem;
border-radius: 0.375rem;
font-size: 0.8125rem;
z-index: 10010;
max-width: 80vw;
text-align: center;
}

View File

@@ -0,0 +1,303 @@
.ia-root[data-v-2050f472] {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
background: #f0f0f3;
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
sans-serif;
font-size: 0.875rem;
color: #0f172a;
overflow: hidden;
}
/* ===== 顶部工具栏 ===== */
.ia-toolbar[data-v-2050f472] {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0.5rem 0.75rem;
background: #fff;
border-bottom: 0.0625rem solid rgba(15, 23, 42, 0.08);
flex-shrink: 0;
}
.ia-title[data-v-2050f472] {
display: flex;
flex-direction: row;
align-items: center;
flex: 1;
min-width: 0;
}
.ia-badge[data-v-2050f472] {
flex-shrink: 0;
background: #eef4ff;
color: #2563eb;
font-size: 0.6875rem;
font-weight: 900;
padding: 0.1875rem 0.5rem;
border-radius: 1.25rem;
margin-right: 0.5rem;
}
.ia-title-copy[data-v-2050f472] {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.ia-title-strong[data-v-2050f472] {
font-size: 0.875rem;
font-weight: 700;
color: #0f172a;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ia-title-em[data-v-2050f472] {
font-size: 0.6875rem;
color: #94a3b8;
}
.ia-actions[data-v-2050f472] {
display: flex;
flex-direction: row;
align-items: center;
flex-shrink: 0;
margin-left: 0.5rem;
}
.ia-icon-btn[data-v-2050f472] {
width: 1.875rem;
height: 1.875rem;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.375rem;
border-radius: 1.25rem;
background: rgba(37, 99, 235, 0.06);
transition: background 0.15s;
}
.ia-icon-btn[data-v-2050f472]:active {
background: rgba(37, 99, 235, 0.15);
}
.ia-close-btn[data-v-2050f472] {
background: rgba(239, 68, 68, 0.06);
}
.ia-close-btn[data-v-2050f472]:active {
background: rgba(239, 68, 68, 0.15);
}
.ia-icon[data-v-2050f472] {
font-size: 1.125rem;
color: #2563eb;
}
.ia-close-btn .ia-icon[data-v-2050f472] {
color: #ef4444;
}
/* ===== 主舞台 ===== */
.ia-canvas[data-v-2050f472] {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
background: linear-gradient(180deg, #f8fafc, #e9eef6);
}
/* ===== 空状态 ===== */
.ia-empty[data-v-2050f472] {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1.25rem;
text-align: center;
}
.ia-empty-icon[data-v-2050f472] {
font-size: 2.5rem;
margin-bottom: 0.75rem;
}
.ia-empty-title[data-v-2050f472] {
font-size: 1.0625rem;
font-weight: 700;
color: #0f172a;
margin-bottom: 0.375rem;
}
.ia-empty-desc[data-v-2050f472] {
font-size: 0.8125rem;
color: #64748b;
max-width: 12.5rem;
line-height: 1.6;
}
/* ===== 幻灯片区域 ===== */
.ia-slide-area[data-v-2050f472] {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
padding: 0.75rem;
}
.ia-frame-shell[data-v-2050f472] {
flex: 1;
min-height: 0;
border-radius: 0.5rem;
background: #fff;
box-shadow: 0 0.125rem 0.625rem rgba(15, 23, 42, 0.08);
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
}
.ia-frame-scroll[data-v-2050f472] {
flex: 1;
width: 100%;
height: 100%;
}
.ia-frame[data-v-2050f472] {
width: 100%;
min-height: 100%;
}
/* 滑动提示 */
.ia-swipe-hint[data-v-2050f472] {
position: absolute;
bottom: 0.375rem;
left: 50%;
transform: translateX(-50%);
background: rgba(15, 23, 42, 0.55);
padding: 0.25rem 0.75rem;
border-radius: 1.25rem;
}
.ia-swipe-hint-text[data-v-2050f472] {
color: #fff;
font-size: 0.6875rem;
}
/* ===== 缩略图条 ===== */
.ia-thumb-strip[data-v-2050f472] {
flex-shrink: 0;
margin-top: 0.5rem;
width: 100%;
white-space: nowrap;
}
.ia-thumb-list[data-v-2050f472] {
display: flex;
flex-direction: row;
padding: 0.125rem 0;
}
.ia-thumb-item[data-v-2050f472] {
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-width: 3.75rem;
height: 2.5rem;
padding: 0.25rem 0.5rem;
margin-right: 0.375rem;
border-radius: 0.375rem;
background: rgba(255, 255, 255, 0.7);
border: 0.0625rem solid rgba(15, 23, 42, 0.06);
transition: all 0.2s;
}
.ia-thumb-item.active[data-v-2050f472] {
background: linear-gradient(135deg, #2563eb, #23b9ad);
border-color: transparent;
}
.ia-thumb-num[data-v-2050f472] {
font-size: 0.6875rem;
font-weight: 900;
color: #1d4ed8;
}
.ia-thumb-item.active .ia-thumb-num[data-v-2050f472] {
color: #fff;
}
.ia-thumb-title[data-v-2050f472] {
font-size: 0.625rem;
color: #64748b;
margin-top: 0.125rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 5rem;
}
.ia-thumb-item.active .ia-thumb-title[data-v-2050f472] {
color: rgba(255, 255, 255, 0.85);
}
/* ===== 底部导航栏 ===== */
.ia-pager[data-v-2050f472] {
flex-shrink: 0;
padding: 0.5rem 0.75rem;
padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
background: rgba(248, 251, 255, 0.92);
border-top: 0.0625rem solid rgba(15, 23, 42, 0.06);
}
.ia-pager-shell[data-v-2050f472] {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0.75rem;
}
.ia-page-btn[data-v-2050f472] {
width: 2.5rem;
height: 2.25rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 1.25rem;
background: rgba(37, 99, 235, 0.08);
transition: all 0.15s;
}
.ia-page-btn[data-v-2050f472]:active:not(.disabled) {
background: rgba(37, 99, 235, 0.18);
transform: scale(0.95);
}
.ia-page-btn.disabled[data-v-2050f472] {
opacity: 0.35;
}
.ia-next-btn[data-v-2050f472] {
background: linear-gradient(135deg, #2563eb, #23b9ad);
}
.ia-next-btn.disabled[data-v-2050f472] {
background: rgba(37, 99, 235, 0.08);
}
.ia-nav-icon[data-v-2050f472] {
font-size: 1.125rem;
color: #1e40af;
font-weight: bold;
}
.ia-next-btn .ia-nav-icon[data-v-2050f472] {
color: #fff;
}
.ia-next-btn.disabled .ia-nav-icon[data-v-2050f472] {
color: #1e40af;
}
.ia-page-count[data-v-2050f472] {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 0.375rem 0.875rem;
border-radius: 1.25rem;
background: rgba(238, 244, 255, 0.78);
border: 0.0625rem solid rgba(37, 99, 235, 0.08);
}
.ia-current-page[data-v-2050f472] {
font-size: 1.25rem;
font-weight: 900;
color: #1d4ed8;
font-family: "SFMono-Regular", Consolas, monospace;
}
.ia-page-divider[data-v-2050f472] {
font-size: 0.875rem;
color: rgba(51, 65, 85, 0.5);
margin: 0 0.25rem;
}
.ia-total-page[data-v-2050f472] {
font-size: 0.875rem;
color: rgba(51, 65, 85, 0.5);
font-family: "SFMono-Regular", Consolas, monospace;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,222 +0,0 @@
.container[data-v-cd5869b7] {
padding: 0.625rem;
background-color: #f5f5f5;
min-height: 100vh;
}
.status-card[data-v-cd5869b7],
.config-card[data-v-cd5869b7],
.control-card[data-v-cd5869b7],
.send-card[data-v-cd5869b7],
.log-card[data-v-cd5869b7] {
background-color: #fff;
border-radius: 0.5rem;
padding: 0.9375rem;
margin-bottom: 0.625rem;
box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.05);
}
.status-label[data-v-cd5869b7] {
font-size: 0.875rem;
color: #666;
margin-bottom: 0.5rem;
}
.status-value[data-v-cd5869b7] {
display: inline-block;
padding: 0.375rem 1rem;
border-radius: 0.25rem;
font-size: 0.875rem;
font-weight: 500;
}
.status-connected[data-v-cd5869b7] {
background-color: #e6f7e6;
color: #52c41a;
}
.status-connecting[data-v-cd5869b7] {
background-color: #fff7e6;
color: #faad14;
}
.status-disconnected[data-v-cd5869b7] {
background-color: #f5f5f5;
color: #999;
}
.status-error[data-v-cd5869b7] {
background-color: #fff1f0;
color: #ff4d4f;
}
.status-info[data-v-cd5869b7] {
margin-top: 0.5rem;
}
.reconnect-info[data-v-cd5869b7] {
font-size: 0.75rem;
color: #faad14;
}
.section-title[data-v-cd5869b7] {
font-size: 1rem;
font-weight: 600;
color: #333;
margin-bottom: 0.75rem;
display: block;
}
.input-group[data-v-cd5869b7] {
margin-bottom: 0.75rem;
}
.input-label[data-v-cd5869b7] {
font-size: 0.875rem;
color: #666;
margin-bottom: 0.375rem;
display: block;
}
.input-field[data-v-cd5869b7] {
border: 0.0625rem solid #e8e8e8;
border-radius: 0.25rem;
padding: 0.625rem;
font-size: 0.875rem;
background-color: #fafafa;
}
.control-card[data-v-cd5869b7] {
display: flex;
gap: 0.625rem;
}
.btn[data-v-cd5869b7] {
flex: 1;
height: 2.75rem;
line-height: 2.75rem;
border-radius: 0.375rem;
font-size: 1rem;
text-align: center;
border: none;
}
.btn-primary[data-v-cd5869b7] {
background-color: #1890ff;
color: #fff;
}
.btn-danger[data-v-cd5869b7] {
background-color: #ff4d4f;
color: #fff;
}
.btn-secondary[data-v-cd5869b7] {
background-color: #f0f0f0;
color: #666;
}
.btn-outline[data-v-cd5869b7] {
background-color: transparent;
color: #1890ff;
border: 0.0625rem solid #1890ff;
}
.btn-small[data-v-cd5869b7] {
height: 2rem;
line-height: 2rem;
font-size: 0.8125rem;
padding: 0 0.75rem;
}
.btn[disabled][data-v-cd5869b7] {
opacity: 0.5;
}
.send-input-wrapper[data-v-cd5869b7] {
display: flex;
flex-direction: column;
gap: 0.625rem;
}
.send-input[data-v-cd5869b7] {
border: 0.0625rem solid #e8e8e8;
border-radius: 0.25rem;
padding: 0.625rem;
font-size: 0.875rem;
min-height: 5rem;
background-color: #fafafa;
box-sizing: border-box;
}
.send-buttons[data-v-cd5869b7] {
display: flex;
gap: 0.625rem;
}
.quick-messages[data-v-cd5869b7] {
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 0.0625rem solid #f0f0f0;
}
.quick-label[data-v-cd5869b7] {
font-size: 0.8125rem;
color: #999;
margin-bottom: 0.5rem;
display: block;
}
.quick-btns[data-v-cd5869b7] {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.quick-btn[data-v-cd5869b7] {
padding: 0.375rem 0.75rem;
background-color: #f0f5ff;
color: #1890ff;
border-radius: 0.25rem;
font-size: 0.8125rem;
border: none;
}
.quick-btn[disabled][data-v-cd5869b7] {
opacity: 0.5;
}
.log-header[data-v-cd5869b7] {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
}
.log-title-wrapper[data-v-cd5869b7] {
display: flex;
align-items: center;
gap: 0.375rem;
}
.log-title-wrapper .section-title[data-v-cd5869b7] {
margin-bottom: 0;
}
.log-count[data-v-cd5869b7] {
font-size: 0.75rem;
color: #999;
}
.log-actions[data-v-cd5869b7] {
display: flex;
gap: 0.375rem;
}
.log-list[data-v-cd5869b7] {
max-height: 15.625rem;
background-color: #1e1e1e;
border-radius: 0.25rem;
padding: 0.625rem;
}
.log-item[data-v-cd5869b7] {
display: flex;
margin-bottom: 0.375rem;
font-family: 'Courier New', monospace;
font-size: 0.75rem;
line-height: 1.6;
}
.log-time[data-v-cd5869b7] {
color: #888;
margin-right: 0.5rem;
flex-shrink: 0;
}
.log-content[data-v-cd5869b7] {
word-break: break-all;
flex: 1;
color: #fff;
}
.log-info .log-content[data-v-cd5869b7] {
color: #fff;
}
.log-success .log-content[data-v-cd5869b7] {
color: #52c41a;
}
.log-error .log-content[data-v-cd5869b7] {
color: #ff4d4f;
}
.log-warn .log-content[data-v-cd5869b7] {
color: #faad14;
}
.log-send .log-content[data-v-cd5869b7] {
color: #1890ff;
}
.log-receive .log-content[data-v-cd5869b7] {
color: #52c41a;
}