feat: 界面切换暖色主题
统一配色/圆角/间距与图标资源,订单页结构简化, 健康档案与订单编辑交互调整;附主题色方案文档
This commit is contained in:
+43
-43
@@ -1,6 +1,6 @@
|
||||
page {
|
||||
background-color: #f5f6fa;
|
||||
color: #1a1a2e;
|
||||
background-color: #FAF6F1;
|
||||
color: #2A211B;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
background-color: #f5f6fa;
|
||||
background-color: #FAF6F1;
|
||||
}
|
||||
|
||||
.chat-header {
|
||||
@@ -18,14 +18,14 @@ page {
|
||||
height: 88rpx;
|
||||
padding: 0 24rpx;
|
||||
background-color: #ffffff;
|
||||
border-bottom: 1rpx solid #e5e7eb;
|
||||
border-bottom: 1rpx solid #EAE1D6;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.chat-header-title {
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
}
|
||||
|
||||
.message-list {
|
||||
@@ -45,7 +45,7 @@ page {
|
||||
|
||||
.welcome-text {
|
||||
font-size: 32rpx;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
margin-bottom: 40rpx;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
@@ -63,16 +63,16 @@ page {
|
||||
border-radius: 24rpx;
|
||||
padding: 24rpx 32rpx;
|
||||
font-size: 28rpx;
|
||||
color: #1abc9c;
|
||||
color: #C26A2E;
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
|
||||
text-align: center;
|
||||
border: 1rpx solid #e5e7eb;
|
||||
border: 1rpx solid #EAE1D6;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.quick-item:active {
|
||||
transform: scale(0.98);
|
||||
background-color: rgba(26, 188, 156, 0.05);
|
||||
background-color: rgba(194, 106, 46, 0.05);
|
||||
}
|
||||
|
||||
.message-item {
|
||||
@@ -91,7 +91,7 @@ page {
|
||||
|
||||
.message-time {
|
||||
font-size: 22rpx;
|
||||
color: #9ca3af;
|
||||
color: #A3988B;
|
||||
margin-top: 8rpx;
|
||||
padding: 0 4rpx;
|
||||
}
|
||||
@@ -118,13 +118,13 @@ page {
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
background: linear-gradient(135deg, #2dd36f, #17c3a5);
|
||||
box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25);
|
||||
background: #C26A2E;
|
||||
box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
|
||||
}
|
||||
|
||||
.ai-avatar {
|
||||
background: linear-gradient(135deg, #20c997, #51cf66);
|
||||
box-shadow: 0 4rpx 12rpx rgba(32, 201, 151, 0.25);
|
||||
background: #B4552A;
|
||||
box-shadow: 0 4rpx 12rpx rgba(217, 134, 52, 0.25);
|
||||
}
|
||||
|
||||
.avatar-text {
|
||||
@@ -157,19 +157,19 @@ page {
|
||||
}
|
||||
|
||||
.user-bubble {
|
||||
background: linear-gradient(135deg, #2dd36f, #17c3a5);
|
||||
background: #C26A2E;
|
||||
color: #fff;
|
||||
border-bottom-right-radius: 4rpx;
|
||||
box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.2);
|
||||
box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.2);
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
|
||||
.ai-bubble {
|
||||
background-color: #ffffff;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
border-bottom-left-radius: 4rpx;
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
|
||||
border: 1rpx solid #e5e7eb;
|
||||
border: 1rpx solid #EAE1D6;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
|
||||
@@ -177,7 +177,7 @@ page {
|
||||
.message-markdown {
|
||||
width: 100%;
|
||||
font-size: 28rpx;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ page {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
border: 1rpx solid #e5e7eb;
|
||||
border: 1rpx solid #EAE1D6;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
@@ -214,13 +214,13 @@ page {
|
||||
}
|
||||
|
||||
.message-markdown .t-chat-markdown-table__th {
|
||||
background-color: #f5f6fa;
|
||||
background-color: #FAF6F1;
|
||||
font-weight: 600;
|
||||
color: #1a1a2e;
|
||||
color: #2A211B;
|
||||
}
|
||||
|
||||
.message-markdown .t-chat-markdown-table__tr:nth-child(2n) {
|
||||
background-color: #fafbfc;
|
||||
background-color: #FCFAF7;
|
||||
}
|
||||
|
||||
/* 代码块样式覆盖 */
|
||||
@@ -240,12 +240,12 @@ page {
|
||||
|
||||
.subagent-label {
|
||||
font-size: 24rpx;
|
||||
color: #6b7280;
|
||||
color: #6F655C;
|
||||
}
|
||||
|
||||
.subagent-arrow {
|
||||
font-size: 24rpx;
|
||||
color: #9ca3af;
|
||||
color: #A3988B;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@ page {
|
||||
.subagent-body {
|
||||
margin-top: 12rpx;
|
||||
padding-top: 12rpx;
|
||||
border-top: 1rpx solid #e5e7eb;
|
||||
border-top: 1rpx solid #EAE1D6;
|
||||
}
|
||||
|
||||
.typing-indicator {
|
||||
@@ -275,13 +275,13 @@ page {
|
||||
border-radius: 16rpx;
|
||||
border-bottom-left-radius: 4rpx;
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
|
||||
border: 1rpx solid #e5e7eb;
|
||||
border: 1rpx solid #EAE1D6;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 16rpx;
|
||||
height: 16rpx;
|
||||
background-color: #9ca3af;
|
||||
background-color: #A3988B;
|
||||
border-radius: 50%;
|
||||
animation: bounce 1.4s infinite ease-in-out both;
|
||||
}
|
||||
@@ -326,9 +326,9 @@ page {
|
||||
align-items: right;
|
||||
justify-content: right;
|
||||
padding: 12rpx 24rpx;
|
||||
background-color: #f5f6fa;
|
||||
border-top: 1rpx solid #e5e7eb;
|
||||
border-bottom: 1rpx solid #e5e7eb;
|
||||
background-color: #FAF6F1;
|
||||
border-top: 1rpx solid #EAE1D6;
|
||||
border-bottom: 1rpx solid #EAE1D6;
|
||||
}
|
||||
|
||||
.chat-toolbar-action {
|
||||
@@ -338,40 +338,40 @@ page {
|
||||
padding: 6rpx 24rpx;
|
||||
border-radius: 24rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #e5e7eb;
|
||||
border: 1rpx solid #EAE1D6;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.chat-toolbar-action:active {
|
||||
transform: scale(0.96);
|
||||
background-color: rgba(26, 188, 156, 0.08);
|
||||
border-color: #1abc9c;
|
||||
background-color: rgba(194, 106, 46, 0.08);
|
||||
border-color: #C26A2E;
|
||||
}
|
||||
|
||||
.chat-toolbar-action text {
|
||||
font-size: 24rpx;
|
||||
color: #6b7280;
|
||||
color: #6F655C;
|
||||
}
|
||||
|
||||
.chat-input {
|
||||
flex: 1;
|
||||
height: 72rpx;
|
||||
background-color: #f5f6fa;
|
||||
background-color: #FAF6F1;
|
||||
border-radius: 36rpx;
|
||||
padding: 0 28rpx;
|
||||
font-size: 28rpx;
|
||||
color: #1a1a2e;
|
||||
border: 1rpx solid #e5e7eb;
|
||||
color: #2A211B;
|
||||
border: 1rpx solid #EAE1D6;
|
||||
}
|
||||
|
||||
.chat-input::placeholder {
|
||||
color: #9ca3af;
|
||||
color: #A3988B;
|
||||
}
|
||||
|
||||
.send-btn {
|
||||
width: 120rpx;
|
||||
height: 72rpx;
|
||||
background-color: #e5e7eb;
|
||||
background-color: #EAE1D6;
|
||||
border-radius: 36rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -380,12 +380,12 @@ page {
|
||||
}
|
||||
|
||||
.send-btn.active {
|
||||
background: linear-gradient(135deg, #2dd36f, #17c3a5);
|
||||
box-shadow: 0 4rpx 12rpx rgba(23, 195, 165, 0.25);
|
||||
background: #C26A2E;
|
||||
box-shadow: 0 4rpx 12rpx rgba(180, 85, 42, 0.25);
|
||||
}
|
||||
|
||||
.send-text {
|
||||
color: #9ca3af;
|
||||
color: #A3988B;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
Reference in New Issue
Block a user