更新CHANGELOG记录移

This commit is contained in:
Developer
2026-03-30 06:42:59 +08:00
parent 37a2c92a16
commit 59d82c9029
46 changed files with 1757 additions and 22946 deletions

545
ht/style.css Normal file
View File

@@ -0,0 +1,545 @@
:root {
--apple-blue: #007AFF;
--apple-blue-hover: #0056b3;
--apple-green: #34C759;
--apple-red: #FF3B30;
--apple-orange: #FF9500;
--apple-gray: #8E8E93;
--apple-light-gray: #F2F2F7;
--apple-dark-gray: #636366;
--border-radius: 12px;
--border-radius-sm: 8px;
--border-radius-lg: 16px;
--shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
--shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
--transition: 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
color: #1d1d1f;
}
.container {
max-width: 700px;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 40px;
color: white;
}
.header h1 {
font-size: 32px;
font-weight: 700;
margin-bottom: 10px;
letter-spacing: -0.5px;
}
.header p {
font-size: 16px;
opacity: 0.9;
}
.card {
background: white;
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow);
padding: 40px;
transition: var(--transition);
}
.card:hover {
box-shadow: var(--shadow-hover);
}
.form-group {
margin-bottom: 24px;
}
.form-group label {
display: block;
font-size: 14px;
font-weight: 600;
color: var(--apple-dark-gray);
margin-bottom: 8px;
}
.form-group label .required {
color: var(--apple-red);
margin-left: 4px;
}
.form-control {
width: 100%;
padding: 14px 16px;
font-size: 16px;
border: 1px solid #E5E5EA;
border-radius: var(--border-radius-sm);
background: var(--apple-light-gray);
transition: var(--transition);
outline: none;
font-family: inherit;
}
.form-control:focus {
border-color: var(--apple-blue);
background: white;
box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}
.form-control::placeholder {
color: var(--apple-gray);
}
textarea.form-control {
resize: vertical;
min-height: 120px;
}
select.form-control {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238E8E93'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
background-size: 20px;
padding-right: 40px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 28px;
font-size: 16px;
font-weight: 600;
border: none;
border-radius: var(--border-radius-sm);
cursor: pointer;
transition: var(--transition);
font-family: inherit;
}
.btn-primary {
background: var(--apple-blue);
color: white;
}
.btn-primary:hover {
background: var(--apple-blue-hover);
transform: translateY(-1px);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-primary:disabled {
background: var(--apple-gray);
cursor: not-allowed;
transform: none;
}
.btn-secondary {
background: var(--apple-gray);
color: white;
margin-top: 8px;
}
.btn-secondary:hover {
background: var(--apple-dark-gray);
transform: translateY(-1px);
}
.btn-secondary:active {
transform: translateY(0);
}
.btn-block {
width: 100%;
}
.alert {
padding: 16px 20px;
border-radius: var(--border-radius-sm);
margin-bottom: 24px;
display: none;
align-items: center;
gap: 10px;
}
.alert.show {
display: flex;
}
.alert-success {
background: #E8F8ED;
color: var(--apple-green);
border: 1px solid rgba(52, 199, 89, 0.3);
}
.alert-error {
background: #FCE8E8;
color: var(--apple-red);
border: 1px solid rgba(255, 59, 48, 0.3);
}
.alert-info {
background: #E8F4FF;
color: var(--apple-blue);
border: 1px solid rgba(0, 122, 255, 0.3);
}
.debug-section {
margin-top: 30px;
padding: 20px;
background: var(--apple-light-gray);
border-radius: var(--border-radius);
}
.debug-section h3 {
font-size: 14px;
font-weight: 600;
color: var(--apple-dark-gray);
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.debug-btn {
padding: 8px 16px;
font-size: 14px;
background: white;
border: 1px solid #E5E5EA;
border-radius: var(--border-radius-sm);
cursor: pointer;
transition: var(--transition);
margin-right: 8px;
margin-bottom: 8px;
}
.debug-btn:hover {
background: var(--apple-light-gray);
border-color: var(--apple-gray);
}
.debug-log {
margin-top: 12px;
padding: 12px;
background: #1d1d1f;
color: #f5f5f7;
border-radius: var(--border-radius-sm);
font-family: 'SF Mono', Monaco, 'Courier New', monospace;
font-size: 13px;
max-height: 200px;
overflow-y: auto;
display: none;
}
.debug-log.show {
display: block;
}
.debug-log .log-item {
margin-bottom: 6px;
padding-bottom: 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.debug-log .log-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.debug-log .log-time {
color: var(--apple-gray);
margin-right: 8px;
}
.loading {
display: none;
width: 20px;
height: 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.loading.show {
display: inline-block;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.input-wrapper {
position: relative;
}
.input-wrapper .icon {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
display: none;
}
.input-wrapper .icon.success {
color: var(--apple-green);
display: block;
}
.input-wrapper .icon.error {
color: var(--apple-red);
display: block;
}
.form-control.valid {
border-color: var(--apple-green);
}
.form-control.invalid {
border-color: var(--apple-red);
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
align-items: center;
justify-content: center;
padding: 20px;
}
.modal.show {
display: flex;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.modal-content {
background: white;
border-radius: var(--border-radius-lg);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
max-width: 500px;
width: 100%;
animation: slideUp 0.3s ease;
}
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.modal-header {
padding: 30px 30px 20px;
text-align: center;
border-bottom: 1px solid #E5E5EA;
}
.modal-header span {
font-size: 64px;
display: block;
margin-bottom: 16px;
}
.modal-header h2 {
font-size: 24px;
font-weight: 700;
color: var(--apple-dark-gray);
margin: 0;
}
.modal-body {
padding: 30px;
text-align: center;
}
.modal-body p {
font-size: 16px;
color: var(--apple-dark-gray);
line-height: 1.6;
margin: 0;
}
.modal-footer {
padding: 20px 30px 30px;
border-top: 1px solid #E5E5EA;
}
.modal-footer .btn {
width: 100%;
}
@media (max-width: 640px) {
body {
padding: 12px;
}
.card {
padding: 24px;
}
.header h1 {
font-size: 24px;
}
.modal-header {
padding: 24px 20px 16px;
}
.modal-header span {
font-size: 48px;
}
.modal-header h2 {
font-size: 20px;
}
.modal-body {
padding: 24px 20px;
}
.modal-footer {
padding: 16px 20px 24px;
}
}
.captcha-wrapper {
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}
.captcha-question {
background: linear-gradient(135deg, var(--apple-blue) 0%, #0077ED 100%);
color: white;
padding: 12px 24px;
border-radius: var(--border-radius);
font-size: 18px;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
min-width: 120px;
text-align: center;
user-select: none;
}
.captcha-input {
flex: 1;
min-width: 150px;
}
.refresh-btn {
white-space: nowrap;
margin: 0;
}
.threshold-wrapper {
display: flex;
gap: 12px;
align-items: center;
margin-top: 8px;
flex-wrap: wrap;
}
.threshold-wrapper label {
font-size: 14px;
font-weight: 500;
color: var(--apple-dark-gray);
white-space: nowrap;
}
.threshold-input {
width: 100px;
}
.similarity-info {
margin-top: 12px;
}
.similarity-item {
padding: 12px 16px;
border-radius: var(--border-radius);
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
}
.similarity-item.success {
background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
border: 1px solid #A5D6A7;
}
.similarity-item.error {
background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
border: 1px solid #EF9A9A;
}
.similarity-label {
font-weight: 600;
font-size: 14px;
}
.similarity-item.success .similarity-label {
color: #2E7D32;
}
.similarity-item.error .similarity-label {
color: #C62828;
}
.similarity-count,
.similarity-percent {
font-size: 14px;
padding: 4px 12px;
border-radius: 20px;
background: rgba(0, 0, 0, 0.08);
font-weight: 500;
}
.similarity-item.success .similarity-count,
.similarity-item.success .similarity-percent {
background: rgba(46, 125, 50, 0.15);
color: #2E7D32;
}
.similarity-item.error .similarity-count,
.similarity-item.error .similarity-percent {
background: rgba(198, 40, 40, 0.15);
color: #C62828;
}