This commit is contained in:
aaron 2025-06-14 10:05:50 +08:00
parent cf1d5c37fc
commit cbd0960c8f
3 changed files with 30 additions and 20 deletions

View File

@ -3,7 +3,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
image: tradus-web:1.4.4 image: tradus-web:1.4.5
container_name: tradus-web container_name: tradus-web
ports: ports:
- '6000:80' - '6000:80'

View File

@ -2436,7 +2436,7 @@ html {
/* 用户邮箱显示样式 */ /* 用户邮箱显示样式 */
.user-email-display { .user-email-display {
font-size: 0.9rem; font-size: var(--medium-font-size);
font-weight: var(--font-weight-medium); font-weight: var(--font-weight-medium);
color: var(--color-text-primary); color: var(--color-text-primary);
transition: all 0.2s ease; transition: all 0.2s ease;
@ -2449,32 +2449,32 @@ html {
/* 用户会员标签样式 */ /* 用户会员标签样式 */
.user-member-tag { .user-member-tag {
margin-top: 0.25rem; margin-top: 0.3rem;
} }
.member-tag { .member-tag {
display: inline-block; display: inline-flex;
padding: 0.2rem 0.5rem; align-items: center;
background: #3b82f6; padding: 0.15rem 0.45rem;
background: #60a5fa;
color: white; color: white;
font-size: 0.75rem; font-size: 10px;
font-weight: 500; font-weight: 500;
border-radius: 0.375rem; border-radius: 0.25rem;
transition: all 0.2s ease; transition: all 0.2s ease;
border: none;
letter-spacing: 0.01em;
} }
.member-tag.svip-tag { .member-tag.svip-tag {
background: linear-gradient(135deg, #d4af37, #ffd700); background: #fbbf24;
color: #2d1810; color: white;
box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3); font-weight: 600;
} }
.member-tag:hover { .member-tag:hover {
transform: scale(1.05); opacity: 0.85;
} transform: translateY(-0.5px);
.member-tag.svip-tag:hover {
box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
} }
/* 模态框中的用户会员信息 */ /* 模态框中的用户会员信息 */
@ -2487,7 +2487,7 @@ html {
} }
.expire-text { .expire-text {
font-size: 0.85rem; font-size: var(--small-font-size);
color: var(--color-text-secondary); color: var(--color-text-secondary);
font-weight: 400; font-weight: 400;
} }
@ -2528,6 +2528,16 @@ html {
background-color: rgba(255, 255, 255, 0.03); background-color: rgba(255, 255, 255, 0.03);
} }
/* 深色主题下的会员标签优化 */
[data-theme='dark'] .member-tag {
background: #818cf8;
}
[data-theme='dark'] .member-tag.svip-tag {
background: #fbbf24;
color: white;
}
/* 小屏幕优化 */ /* 小屏幕优化 */
@media (max-width: 480px) { @media (max-width: 480px) {
.menu-button { .menu-button {

View File

@ -948,8 +948,8 @@ const stopStreaming = async () => {
.conversation-title { .conversation-title {
margin: 0; margin: 0;
font-size: 0.85rem; font-size: 1rem;
font-weight: 500; font-weight: 600;
color: var(--color-text-primary); color: var(--color-text-primary);
text-align: center; text-align: center;
} }
@ -2002,7 +2002,7 @@ const stopStreaming = async () => {
} }
.conversation-title { .conversation-title {
font-size: 0.85rem; font-size: 0.95rem;
} }
.dropdown-icon { .dropdown-icon {