diff --git a/src/App.vue b/src/App.vue index 63a04df..d4a9365 100644 --- a/src/App.vue +++ b/src/App.vue @@ -760,9 +760,9 @@ body { background-color: var(--primary-color); color: white; border: none; - padding: 14px 44px; - border-radius: 14px; - font-size: 16px; + padding: 12px 40px; + border-radius: 12px; + font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); @@ -778,9 +778,9 @@ body { background-color: white; color: var(--text-main); border: 1px solid var(--border-color); - padding: 12px 32px; - border-radius: 12px; - font-size: 15px; + padding: 10px 28px; + border-radius: 10px; + font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; @@ -788,27 +788,27 @@ body { .btn-secondary:hover { background-color: #F5F5F7; } /* --- 扫描结果卡片 (重点优化) --- */ -.main-action { margin: 40px 0; display: flex; justify-content: center; } +.main-action { margin: 24px 0; display: flex; justify-content: center; } .result-card { background: white; - border-radius: 28px; - padding: 48px; + border-radius: 24px; + padding: 32px 40px; width: 100%; box-shadow: var(--card-shadow); text-align: center; border: 1px solid rgba(0,0,0,0.02); } -.result-header { margin-bottom: 32px; } -.result-icon { font-size: 32px; display: block; margin-bottom: 12px; } -.result-header h2 { font-size: 24px; font-weight: 700; color: var(--text-main); } +.result-header { margin-bottom: 24px; } +.result-icon { font-size: 28px; display: block; margin-bottom: 8px; } +.result-header h2 { font-size: 20px; font-weight: 700; color: var(--text-main); } .result-stats { display: flex; justify-content: center; align-items: center; - margin-bottom: 40px; + margin-bottom: 32px; } .stat-item { @@ -822,37 +822,37 @@ body { display: flex; align-items: baseline; justify-content: center; - font-size: 44px; + font-size: 38px; font-weight: 800; color: var(--primary-color); - letter-spacing: -1.5px; + letter-spacing: -1.2px; line-height: 1; - margin-bottom: 8px; + margin-bottom: 6px; white-space: nowrap; } .stat-value .unit { - font-size: 16px; + font-size: 14px; font-weight: 700; - margin-left: 4px; + margin-left: 3px; letter-spacing: 0; opacity: 0.9; } -.stat-label { font-size: 14px; color: var(--text-sec); font-weight: 500; } +.stat-label { font-size: 13px; color: var(--text-sec); font-weight: 500; } .stat-divider { width: 1px; - height: 48px; + height: 40px; background-color: #F2F2F7; - margin: 0 20px; + margin: 0 16px; flex-shrink: 0; } -.main-btn { width: 220px; } +.main-btn { width: 180px; } /* --- 扫描中 UI --- */ -.scan-circle-container { width: 240px; height: 240px; margin: 0 auto; } +.scan-circle-container { width: 200px; height: 200px; margin: 0 auto; } .scan-circle { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #F2F2F7; display: flex; align-items: center; justify-content: center; position: relative; @@ -863,24 +863,24 @@ body { position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: 50%; - border: 4px solid var(--primary-color); + border: 3px solid var(--primary-color); border-top-color: transparent; animation: spin 1s linear infinite; } .scan-inner { - width: 200px; height: 200px; border-radius: 50%; background: white; + width: 168px; height: 168px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: transform 0.2s ease; } .scan-inner:hover { transform: scale(1.03); } -.scan-btn-text { font-size: 20px; font-weight: 700; color: var(--primary-color); } -.scan-percent { font-size: 40px; font-weight: 800; color: var(--primary-color); letter-spacing: -1px; } +.scan-btn-text { font-size: 18px; font-weight: 700; color: var(--primary-color); } +.scan-percent { font-size: 36px; font-weight: 800; color: var(--primary-color); letter-spacing: -1px; } .stat-value.highlight-gray { color: #8E8E93; } .done-card { border: 2px solid #E8F5E9; } -.result-icon.success { color: #34C759; font-size: 54px; margin-bottom: 16px; display: block; } -.clean-summary { font-size: 20px; color: var(--text-main); font-weight: 700; margin-top: 12px; } +.result-icon.success { color: #34C759; font-size: 48px; margin-bottom: 12px; display: block; } +.clean-summary { font-size: 18px; color: var(--text-main); font-weight: 700; margin-top: 10px; } /* --- 高级模式卡片 --- */ .adv-card-list { display: flex; flex-direction: column; gap: 20px; }