525 lines
11 KiB
Plaintext
Raw Normal View History

2026-04-02 10:29:32 +08:00
.chat_container_linear_gradient {
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100vh;
2026-04-03 09:49:37 +08:00
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 300rpx), linear-gradient(159deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 150rpx), linear-gradient(188deg, #dffff3 -8%, #f7f7f7 300rpx);
2026-04-02 10:29:32 +08:00
background-repeat: no-repeat;
}
.chat_messages_body {
position: relative;
z-index: 100;
}
2026-04-03 09:49:37 +08:00
.chat_messages_body .login_btn {
padding: 0 50rpx;
}
2026-04-02 10:29:32 +08:00
.chat-container {
2026-04-01 11:19:46 +08:00
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100vw;
}
2026-04-02 10:29:32 +08:00
.chat-messages {
2026-04-01 11:19:46 +08:00
width: 100%;
2026-04-02 10:29:32 +08:00
padding: 0 30rpx;
padding-top: 314rpx;
2026-04-03 09:49:37 +08:00
padding-bottom: calc(260rpx + env(safe-area-inset-bottom));
2026-04-01 11:19:46 +08:00
box-sizing: border-box;
flex: 1;
}
2026-04-03 09:49:37 +08:00
.chat-messages-chat {
padding-bottom: calc(160rpx + env(safe-area-inset-bottom));
}
2026-04-10 15:21:02 +08:00
.chat-messages-update-top {
padding-top: 30rpx;
}
2026-04-02 10:29:32 +08:00
.message-item {
2026-04-01 11:19:46 +08:00
display: flex;
width: 100%;
box-sizing: border-box;
margin-bottom: 30rpx;
2026-04-02 10:29:32 +08:00
animation: fadeIn 0.3s ease-in;
2026-04-01 11:19:46 +08:00
}
2026-04-02 10:29:32 +08:00
.ai-message {
2026-04-01 11:19:46 +08:00
align-items: flex-start;
}
2026-04-02 10:29:32 +08:00
.ai-message .message-content-wrapper {
2026-04-01 14:27:31 +08:00
align-items: flex-start;
2026-04-01 11:19:46 +08:00
}
2026-04-02 10:29:32 +08:00
.ai-message .message-content {
background-color: #fff;
2026-04-01 14:27:31 +08:00
color: #333;
margin-left: 12rpx;
2026-04-01 11:19:46 +08:00
margin-right: 0;
flex-shrink: 0;
}
2026-04-02 10:29:32 +08:00
.ai-message .message-time {
2026-04-01 11:19:46 +08:00
color: #999;
font-size: 22rpx;
min-width: 80rpx;
}
2026-04-02 10:29:32 +08:00
.ai-message .message-meta {
2026-04-01 11:19:46 +08:00
display: flex;
align-items: center;
2026-04-01 14:27:31 +08:00
justify-content: flex-start;
2026-04-01 11:19:46 +08:00
margin-top: 6rpx;
gap: 8rpx;
2026-04-01 14:27:31 +08:00
margin-left: 12rpx;
2026-04-01 11:19:46 +08:00
flex-direction: row;
}
2026-04-02 10:29:32 +08:00
.ai-message .message-avatar {
2026-04-01 14:27:31 +08:00
margin-right: 0;
flex-shrink: 0;
2026-04-01 11:19:46 +08:00
}
2026-04-02 10:29:32 +08:00
.user-message {
2026-04-01 14:27:31 +08:00
justify-content: flex-end;
2026-04-01 11:19:46 +08:00
align-items: flex-start;
}
2026-04-02 10:29:32 +08:00
.user-message .message-content-wrapper {
2026-04-01 14:27:31 +08:00
align-items: flex-end;
}
2026-04-02 10:29:32 +08:00
.user-message .message-content {
2026-04-01 14:27:31 +08:00
background-color: #1c64f2;
color: #fff;
2026-04-01 11:19:46 +08:00
margin-right: 0;
flex-shrink: 0;
}
2026-04-02 10:29:32 +08:00
.user-message .message-content .message-images {
2026-04-01 14:27:31 +08:00
margin-bottom: 20rpx;
}
2026-04-02 10:29:32 +08:00
.user-message .message-content .message-images .message-image-item {
2026-04-01 14:27:31 +08:00
border-radius: 8rpx;
}
2026-04-02 10:29:32 +08:00
.user-message .message-time {
2026-04-01 11:19:46 +08:00
color: #999;
font-size: 22rpx;
2026-04-01 14:27:31 +08:00
margin-top: 6rpx;
text-align: right;
2026-04-01 11:19:46 +08:00
min-width: 80rpx;
}
2026-04-02 10:29:32 +08:00
.user-message .message-meta {
2026-04-01 11:19:46 +08:00
display: flex;
align-items: center;
2026-04-01 14:27:31 +08:00
justify-content: flex-end;
2026-04-01 11:19:46 +08:00
margin-top: 6rpx;
gap: 8rpx;
flex-direction: row;
}
2026-04-02 10:29:32 +08:00
@keyframes fadeIn {
2026-04-01 11:19:46 +08:00
from {
opacity: 0;
transform: translateY(10rpx);
}
to {
opacity: 1;
transform: translateY(0);
}
}
2026-04-02 10:29:32 +08:00
.message-avatar {
2026-04-01 14:27:31 +08:00
width: 80rpx;
height: 80rpx;
2026-04-01 11:19:46 +08:00
border-radius: 50%;
overflow: hidden;
flex-shrink: 0;
}
2026-04-02 10:29:32 +08:00
.message-avatar image {
2026-04-01 11:19:46 +08:00
width: 100%;
height: 100%;
}
2026-04-02 10:29:32 +08:00
.message-avatar .user-avatar-image {
2026-04-01 11:19:46 +08:00
width: 100%;
height: 100%;
border-radius: 50%;
}
2026-04-02 10:29:32 +08:00
.message-avatar .user-avatar {
2026-04-01 11:19:46 +08:00
width: 100%;
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 24rpx;
font-weight: 500;
}
2026-04-02 10:29:32 +08:00
.message-content-wrapper {
2026-04-01 11:19:46 +08:00
display: flex;
flex-direction: column;
max-width: calc(100vw - 100rpx);
}
2026-04-02 10:29:32 +08:00
.message-content {
2026-04-01 11:19:46 +08:00
padding: 20rpx 24rpx;
border-radius: 16rpx;
font-size: 28rpx;
line-height: 1.5;
word-wrap: break-word;
word-break: break-all;
box-sizing: border-box;
2026-04-01 14:27:31 +08:00
background-color: #1c64f2;
2026-04-01 11:19:46 +08:00
}
2026-04-02 10:29:32 +08:00
.message-content.loading {
2026-04-01 11:19:46 +08:00
opacity: 0.7;
}
2026-04-02 10:29:32 +08:00
.message-content:has(.message-images) {
2026-04-01 11:19:46 +08:00
padding: 12rpx;
}
2026-04-02 10:29:32 +08:00
.user-message .message-content:has(.message-images) {
2026-04-01 11:19:46 +08:00
padding: 8rpx;
}
2026-04-02 10:29:32 +08:00
.message-content view {
2026-04-01 11:19:46 +08:00
display: block;
word-wrap: break-word;
word-break: break-all;
}
2026-04-02 10:29:32 +08:00
.message-content view:not(:last-child) {
2026-04-01 11:19:46 +08:00
margin-bottom: 8rpx;
}
2026-04-02 10:29:32 +08:00
.message-content text {
2026-04-01 11:19:46 +08:00
display: inline;
word-wrap: break-word;
word-break: break-all;
}
2026-04-02 10:29:32 +08:00
.quick-questions {
2026-04-01 11:19:46 +08:00
margin-top: 16rpx;
display: flex;
flex-direction: column;
gap: 12rpx;
padding-left: 12rpx;
}
2026-04-02 10:29:32 +08:00
.question-btn {
2026-04-01 11:19:46 +08:00
background-color: #f0f7ff;
border: 1px solid #d0e3ff;
border-radius: 12rpx;
padding: 16rpx 20rpx;
font-size: 26rpx;
color: #1c64f2;
line-height: 1.4;
transition: all 0.2s ease;
}
2026-04-02 10:29:32 +08:00
.question-btn:active {
2026-04-01 11:19:46 +08:00
background-color: #e6f2ff;
transform: scale(0.98);
}
2026-04-02 10:29:32 +08:00
.question-btn text {
2026-04-01 11:19:46 +08:00
display: block;
word-wrap: break-word;
word-break: break-all;
}
2026-04-02 10:29:32 +08:00
.confirmation-buttons {
2026-04-01 11:19:46 +08:00
margin-top: 16rpx;
display: flex;
gap: 16rpx;
justify-content: flex-start;
padding-left: 12rpx;
}
2026-04-02 10:29:32 +08:00
.confirmation-btn {
2026-04-01 11:19:46 +08:00
width: 38rpx;
2026-04-01 14:27:31 +08:00
border-radius: 10rpx;
padding: 16rpx 22rpx;
font-size: 24rpx;
2026-04-01 11:19:46 +08:00
line-height: 1.4;
text-align: center;
transition: all 0.2s ease;
background-color: #fff;
color: #000;
border: 1px solid #e5e5e5;
}
2026-04-02 10:29:32 +08:00
.confirmation-btn:active:not(.disabled) {
2026-04-01 11:19:46 +08:00
transform: scale(0.98);
}
2026-04-02 10:29:32 +08:00
.confirmation-btn.selected {
2026-04-01 11:19:46 +08:00
background-color: #1c64f2;
color: #fff;
border-color: #1c64f2;
}
2026-04-02 10:29:32 +08:00
.confirmation-btn.disabled {
2026-04-01 11:19:46 +08:00
opacity: 0.6;
cursor: not-allowed;
}
2026-04-02 10:29:32 +08:00
.confirmation-btn text {
2026-04-01 11:19:46 +08:00
display: block;
font-weight: 500;
}
2026-04-02 10:29:32 +08:00
.chat-input-area {
2026-04-01 11:19:46 +08:00
position: fixed;
bottom: 0;
left: 0;
right: 0;
2026-04-02 10:29:32 +08:00
background-color: #fff;
border-top: 1px solid #f8f8f8;
2026-04-01 11:19:46 +08:00
padding: 20rpx 20rpx;
2026-04-03 09:49:37 +08:00
padding-bottom: calc(155rpx + env(safe-area-inset-bottom));
2026-04-01 11:19:46 +08:00
z-index: 100;
}
2026-04-03 09:49:37 +08:00
.chat-input-area-chat {
padding-bottom: calc(30rpx + env(safe-area-inset-bottom));
}
2026-04-02 10:29:32 +08:00
.input-container {
2026-04-01 11:19:46 +08:00
display: flex;
align-items: center;
2026-04-02 10:29:32 +08:00
background-color: #f7f7f7;
2026-04-01 11:19:46 +08:00
border-radius: 50rpx;
padding: 10rpx 20rpx;
}
2026-04-02 10:29:32 +08:00
.message-input {
2026-04-01 11:19:46 +08:00
flex: 1;
height: 70rpx;
font-size: 28rpx;
padding: 0 20rpx;
background-color: transparent;
}
2026-04-02 10:29:32 +08:00
.send-button {
2026-04-01 11:19:46 +08:00
width: 70rpx;
height: 70rpx;
background: linear-gradient(135deg, #1c64f2 0%, #0e4aa7 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-left: 20rpx;
}
2026-04-02 10:29:32 +08:00
.send-button.disabled {
2026-04-01 11:19:46 +08:00
opacity: 0.5;
pointer-events: none;
}
2026-04-02 10:29:32 +08:00
.upload-button {
2026-04-01 11:19:46 +08:00
width: 70rpx;
height: 70rpx;
2026-04-02 10:29:32 +08:00
background-color: #f7f7f7;
2026-04-01 11:19:46 +08:00
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-left: 20rpx;
}
2026-04-02 10:29:32 +08:00
.image-preview-area {
2026-04-01 11:19:46 +08:00
margin-bottom: 20rpx;
2026-04-01 14:27:31 +08:00
}
2026-04-02 10:29:32 +08:00
.quick-actions-bar {
2026-04-01 14:27:31 +08:00
display: flex;
flex-wrap: wrap;
gap: 16rpx;
padding: 0 0 16rpx 0;
}
2026-04-02 10:29:32 +08:00
.quick-action-btn {
2026-04-01 14:27:31 +08:00
height: 60rpx;
padding: 0 24rpx;
background-color: #ffffff;
border: 1px solid #e5e5e5;
border-radius: 100rpx;
font-size: 23rpx;
color: #333333;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
white-space: nowrap;
}
2026-04-02 10:29:32 +08:00
.quick-action-btn:active {
2026-04-01 14:27:31 +08:00
transform: scale(0.98);
background-color: #f8f8f8;
}
2026-04-02 10:29:32 +08:00
.quick-action-btn text {
2026-04-01 14:27:31 +08:00
display: block;
2026-04-01 11:19:46 +08:00
}
2026-04-02 10:29:32 +08:00
.image-preview-list {
2026-04-01 11:19:46 +08:00
display: flex;
flex-wrap: wrap;
gap: 16rpx;
}
2026-04-02 10:29:32 +08:00
.image-preview-item {
2026-04-01 11:19:46 +08:00
position: relative;
width: 120rpx;
height: 120rpx;
border-radius: 12rpx;
overflow: hidden;
}
2026-04-02 10:29:32 +08:00
.image-preview-item.add-more-button {
2026-04-01 11:19:46 +08:00
background-color: #f5f5f5;
border: 2rpx dashed #ddd;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
}
2026-04-02 10:29:32 +08:00
.image-preview-item.add-more-button:active {
2026-04-01 11:19:46 +08:00
background-color: #e8e8e8;
}
2026-04-02 10:29:32 +08:00
.preview-image {
2026-04-01 11:19:46 +08:00
width: 100%;
height: 100%;
}
2026-04-02 10:29:32 +08:00
.add-more-text {
2026-04-01 11:19:46 +08:00
font-size: 22rpx;
color: #999;
margin-top: 8rpx;
}
2026-04-02 10:29:32 +08:00
.remove-image {
2026-04-01 11:19:46 +08:00
position: absolute;
top: 8rpx;
right: 8rpx;
width: 40rpx;
height: 40rpx;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
2026-04-02 10:29:32 +08:00
.message-images {
2026-04-01 11:19:46 +08:00
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-bottom: 12rpx;
max-width: 500rpx;
}
2026-04-02 10:29:32 +08:00
.user-message .message-images {
2026-04-01 11:19:46 +08:00
margin-bottom: 0;
}
2026-04-02 10:29:32 +08:00
.message-image-item {
2026-04-01 11:19:46 +08:00
border-radius: 12rpx;
overflow: hidden;
}
2026-04-02 10:29:32 +08:00
.message-image-item.single-image {
2026-04-01 11:19:46 +08:00
max-width: 500rpx;
width: 500rpx !important;
height: auto !important;
}
2026-04-02 10:29:32 +08:00
.user-message .message-image-item.single-image {
2026-04-01 11:19:46 +08:00
max-width: 450rpx;
width: 450rpx !important;
}
2026-04-02 10:29:32 +08:00
.message-image-item:not(.single-image) {
2026-04-01 11:19:46 +08:00
width: 200rpx;
height: 200rpx;
}
2026-04-02 10:29:32 +08:00
.message-image {
2026-04-01 11:19:46 +08:00
width: 100%;
height: 100%;
display: block;
}
2026-04-02 10:29:32 +08:00
.message-text-line {
2026-04-01 11:19:46 +08:00
margin-bottom: 4rpx;
}
2026-04-02 10:29:32 +08:00
.message-text-line:last-child {
2026-04-01 11:19:46 +08:00
margin-bottom: 0;
}
2026-04-02 10:29:32 +08:00
.copy-button {
2026-04-01 11:19:46 +08:00
width: 32rpx;
height: 32rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4rpx;
transition: background-color 0.2s ease;
}
2026-04-02 10:29:32 +08:00
.copy-button:active {
2026-04-01 11:19:46 +08:00
background-color: rgba(0, 0, 0, 0.05);
}
2026-04-02 10:29:32 +08:00
.copy-button .copy-icon {
2026-04-01 11:19:46 +08:00
width: 26rpx;
height: 26rpx;
opacity: 0.7;
2026-04-02 10:29:32 +08:00
}
.opening_remarks {
2026-04-03 09:49:37 +08:00
padding: 30rpx 30rpx 10rpx 30rpx;
2026-04-02 10:29:32 +08:00
z-index: 1000;
position: fixed;
top: 0;
left: 0;
right: 0;
2026-04-03 09:49:37 +08:00
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 300rpx), linear-gradient(159deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 150rpx), linear-gradient(188deg, #dffff3 -8%, #f7f7f7 300rpx);
background-repeat: no-repeat;
2026-04-02 10:29:32 +08:00
}
.opening_remarks .opening_remarks_body {
height: 254rpx;
border-radius: 20rpx;
border: 1px solid #ffffff;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(58deg, #e3faff 1%, rgba(255, 255, 255, 0) 24%), linear-gradient(221deg, #dbe3ff 0%, rgba(255, 255, 255, 0) 19%), rgba(255, 255, 255, 0.5);
}
.opening_remarks .opening_remarks_body .opening_remarks_server_img {
width: 56rpx;
height: 224rpx;
margin: 0 40rpx;
}
.opening_remarks .opening_remarks_body .opening_remarks_server_img image {
width: 56rpx;
height: 224rpx;
}
.opening_remarks .opening_remarks_body .opening_remarks_server_info {
flex: 1;
padding-right: 30rpx;
}
.opening_remarks .opening_remarks_body .label {
font-size: 28rpx;
color: #333;
overflow: hidden;
white-space: nowrap;
width: 0;
display: inline-block;
animation: typing 3s steps(30, end) forwards, blink 0.75s step-end infinite;
}
.opening_remarks .opening_remarks_body .group_btn {
display: flex;
align-items: center;
flex-wrap: wrap;
2026-04-03 09:49:37 +08:00
overflow: hidden;
height: 160rpx;
2026-04-02 10:29:32 +08:00
}
.opening_remarks .opening_remarks_body .group_btn_item {
background-color: #fff;
border-radius: 100rpx;
font-size: 24rpx;
color: #333333;
padding: 15rpx 25rpx;
margin-top: 15rpx;
margin-right: 30rpx;
}
.opening_remarks .opening_remarks_body .group_btn_item:nth-child(3n) {
margin-right: 0;
}
2026-04-10 15:21:02 +08:00
.hide-opening-remarks {
animation: slideUpFadeOut 1s forwards;
}
@keyframes slideUpFadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
2026-04-02 10:29:32 +08:00
@keyframes typing {
from {
width: 0;
}
to {
width: 100%;
}
2026-04-10 15:21:02 +08:00
}
.message-content .quick-questions-actions {
width: auto;
padding: 20rpx 0 10rpx 0;
display: flex;
align-items: center;
}
.query-go-to-btn {
background-color: #1c64f2;
color: #fff;
border-color: #1c64f2;
text-align: center;
width: 100%;
margin-right: 30rpx;
}
.query-go-to-btn:last-child {
margin-right: 0;
margin-bottom: 0rpx;
2026-04-01 11:19:46 +08:00
}