.float-image-page {
|
min-height: 100vh;
|
background-color: #fff;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.float-image-page-header {
|
display: flex;
|
align-items: center;
|
padding: 20rpx;
|
border-bottom: 1rpx solid #eee;
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
background: #fff;
|
z-index: 100;
|
}
|
|
.float-image-page-title {
|
flex: 1;
|
text-align: center;
|
font-size: 32rpx;
|
font-weight: bold;
|
}
|
|
.float-image-page-content {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
padding-bottom: 120rpx;
|
}
|
|
.chat-list {
|
flex: 1;
|
padding-top: 24rpx;
|
max-height: 50vh;
|
overflow-y: auto;
|
}
|
|
.chat-list1 {
|
flex: 1;
|
padding-top: 24rpx;
|
max-height: calc(50vh - 294rpx);
|
overflow-y: auto;
|
}
|
|
.chat-item {
|
display: flex;
|
margin-bottom: 30rpx;
|
align-items: flex-start;
|
}
|
|
.chat-item .avatar {
|
width: 80rpx;
|
height: 80rpx;
|
border-radius: 50%;
|
margin: 0 20rpx;
|
}
|
|
.chat-item .message {
|
max-width: 60%;
|
}
|
|
.chat-item .message-content {
|
padding: 20rpx;
|
border-radius: 10rpx;
|
font-size: 28rpx;
|
line-height: 1.5;
|
position: relative;
|
}
|
|
.chat-item.ai .message-content {
|
background-color: #fff;
|
color: #333;
|
border: 1rpx solid #eee;
|
box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.05);
|
}
|
|
.chat-item.ai .message-content::before {
|
content: '';
|
position: absolute;
|
left: -8rpx;
|
top: 20rpx;
|
width: 16rpx;
|
height: 16rpx;
|
background: #fff;
|
transform: rotate(45deg);
|
border-left: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
}
|
|
.chat-item.user {
|
justify-content: flex-end;
|
padding-right: 20rpx;
|
}
|
|
.user-message-container {
|
display: flex;
|
align-items: flex-start;
|
justify-content: flex-end;
|
}
|
|
.user-message-container .message {
|
margin-right: 20rpx;
|
}
|
|
.user-message-container .avatar {
|
margin: 0;
|
}
|
|
.chat-item.user .message-content {
|
background-color: #1A6FB8;
|
color: #fff;
|
}
|
|
.chat-item.user .message-content::before {
|
content: '';
|
position: absolute;
|
right: -8rpx;
|
top: 20rpx;
|
width: 16rpx;
|
height: 16rpx;
|
background: #1A6FB8;
|
transform: rotate(45deg);
|
}
|
|
.input-area {
|
position: fixed;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
padding: 16rpx 24rpx;
|
background: #fff;
|
border-top: 1rpx solid #eee;
|
display: flex;
|
align-items: center;
|
gap: 20rpx;
|
}
|
|
.voice-btn {
|
width: 56rpx;
|
height: 56rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
flex-shrink: 0;
|
}
|
|
.voice-btn image {
|
width: 40rpx;
|
height: 40rpx;
|
}
|
|
.input-wrapper {
|
flex: 1;
|
height: 72rpx;
|
background: #f5f5f5;
|
border-radius: 36rpx;
|
display: flex;
|
align-items: center;
|
padding-left: 24rpx;
|
}
|
|
.input-field {
|
flex: 1;
|
height: 72rpx;
|
font-size: 28rpx;
|
background: transparent;
|
line-height: 72rpx;
|
}
|
|
.send-btn {
|
color: #fff;
|
background-color: #1A6FB8;
|
border-radius: 0 36rpx 36rpx 0;
|
font-size: 28rpx;
|
padding: 0 24rpx;
|
border-left: 1rpx solid #ddd;
|
height: 72rpx;
|
line-height: 72rpx;
|
display: flex;
|
align-items: center;
|
}
|
|
.send-btn:active {
|
opacity: 0.8;
|
}
|
|
.gif-container {
|
position: absolute;
|
left: 24rpx;
|
bottom: 180rpx;
|
width: auto;
|
padding: 0;
|
display: flex;
|
align-items: center;
|
}
|
|
.gif-image {
|
width: 400rpx;
|
height: 400rpx;
|
object-fit: contain;
|
}
|
|
.quick-buttons {
|
display: flex;
|
flex-direction: column;
|
margin-left: 20rpx;
|
gap: 20rpx;
|
height: 400rpx;
|
justify-content: center;
|
}
|
|
.quick-button {
|
padding: 16rpx 32rpx;
|
background: #fff;
|
border: 1px solid #1A6FB8;
|
color: #1A6FB8;
|
border-radius: 40rpx;
|
font-size: 28rpx;
|
text-align: center;
|
min-width: 160rpx;
|
box-shadow: 0 4rpx 8rpx rgba(26, 111, 184, 0.2);
|
}
|
|
.quick-button:active {
|
opacity: 0.8;
|
}
|
|
.voice-button {
|
width: 60rpx;
|
height: 60rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-right: 20rpx;
|
border-radius: 50%;
|
background: #f5f5f5;
|
}
|
|
@keyframes pulse {
|
0% {
|
transform: scale(1);
|
}
|
|
50% {
|
transform: scale(1.1);
|
}
|
|
100% {
|
transform: scale(1);
|
}
|
}
|
|
.textarea-img {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 64rpx;
|
height: 64rpx;
|
margin-right: 20rpx;
|
background: #f5f5f5;
|
border-radius: 50%;
|
padding: 12rpx;
|
}
|
|
.textarea-img:active {
|
background: #e5e5e5;
|
}
|
|
.textarea-img image {
|
width: 40rpx;
|
height: 40rpx;
|
}
|
|
.time-box {
|
position: relative;
|
height: 120rpx;
|
left: 50%;
|
margin-left: -86rpx;
|
}
|
|
.time-box-top {
|
position: absolute;
|
bottom: 50%;
|
}
|
|
.time-box-bottom {
|
position: absolute;
|
top: 50%;
|
transform: rotateX(180deg);
|
}
|
|
.hr {
|
background-color: red;
|
width: 10rpx;
|
height: 10rpx;
|
bottom: 0;
|
position: absolute;
|
background: #ffffff;
|
animation: bodong 0.5s infinite ease;
|
border-top-left-radius: 5rpx;
|
border-top-right-radius: 5rpx;
|
}
|
|
.hr1 {
|
left: 0;
|
animation-delay: 1s;
|
animation-duration: 1s;
|
}
|
|
.hr2 {
|
left: 18rpx;
|
animation-delay: 0.9s;
|
animation-duration: 0.9s;
|
}
|
|
.hr3 {
|
left: 36rpx;
|
animation-delay: 0.8s;
|
animation-duration: 0.8s;
|
}
|
|
.hr4 {
|
left: 54rpx;
|
animation-delay: 0.7s;
|
animation-duration: 0.7s;
|
}
|
|
.hr5 {
|
left: 72rpx;
|
animation-delay: 0.6s;
|
animation-duration: 0.6s;
|
}
|
|
.hr6 {
|
left: 90rpx;
|
animation-delay: 0.5s;
|
animation-duration: 0.5s;
|
}
|
|
.hr7 {
|
left: 108rpx;
|
animation-delay: 0.7s;
|
animation-duration: 0.7s;
|
}
|
|
.hr8 {
|
left: 126rpx;
|
animation-delay: 0.6s;
|
animation-duration: 0.6s;
|
}
|
|
.hr9 {
|
left: 144rpx;
|
animation-delay: 0.8s;
|
animation-duration: 0.8s;
|
}
|
|
.hr10 {
|
left: 162rpx;
|
animation-delay: 1s;
|
animation-duration: 1s;
|
}
|
|
@keyframes bodong {
|
0% {
|
height: 10rpx;
|
}
|
|
20% {
|
height: 20rpx;
|
}
|
|
30% {
|
height: 30rpx;
|
}
|
|
60% {
|
height: 60rpx;
|
}
|
|
80% {
|
height: 30rpx;
|
}
|
|
100% {
|
height: 10rpx;
|
}
|
}
|
|
.recording {
|
position: absolute;
|
width: 350rpx;
|
padding: 48rpx 0;
|
top: 2%;
|
left: 50%;
|
margin-left: -175rpx;
|
text-align: center;
|
color: #ffffff;
|
font-size: 28rpx;
|
}
|
|
.cell-phone .van-button {
|
color: var(--main-color);
|
border: none !important;
|
padding: 0 !important;
|
}
|
|
.modal-img {
|
width: 144px;
|
height: 120px;
|
}
|
|
.modal-card {
|
position: absolute;
|
width: 200px;
|
height: 140px;
|
background: rgba(95, 166, 212, 0.80);
|
color: #fff;
|
border-radius: 4px;
|
top: 40%;
|
left: 23%;
|
text-align: center;
|
}
|
|
.case-info-card {
|
margin: 24rpx;
|
background: #FFFFFF;
|
border-radius: 12rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.card-title {
|
display: flex;
|
align-items: center;
|
padding: 20rpx 24rpx;
|
background: #F7F8FA;
|
border-bottom: 2rpx solid #E5E6EB;
|
position: relative;
|
}
|
|
.case-icon {
|
width: 32rpx;
|
height: 32rpx;
|
margin-right: 12rpx;
|
}
|
|
.card-title text {
|
font-size: 28rpx;
|
color: #1D2129;
|
font-weight: 500;
|
flex: 1;
|
}
|
|
.expand-icon {
|
width: 32rpx;
|
height: 32rpx;
|
position: relative;
|
transition: transform 0.3s ease;
|
}
|
|
.expand-icon::after {
|
content: '';
|
position: absolute;
|
width: 12rpx;
|
height: 12rpx;
|
border-right: 2rpx solid #86909C;
|
border-bottom: 2rpx solid #86909C;
|
transform: rotate(45deg);
|
top: 6rpx;
|
left: 10rpx;
|
transition: transform 0.3s ease;
|
}
|
|
.expand-icon.expanded::after {
|
transform: rotate(-135deg);
|
top: 12rpx;
|
}
|
|
.card-content {
|
height: 0;
|
overflow: hidden;
|
transition: height 0.3s ease-in-out;
|
min-height: 0;
|
max-height: 0;
|
}
|
|
.card-content.expanded {
|
height: auto;
|
padding: 20rpx 24rpx;
|
min-height: 294rpx;
|
max-height: 294rpx;
|
overflow-y: auto;
|
}
|
|
.info-item {
|
display: flex;
|
margin-bottom: 16rpx;
|
line-height: 1.5;
|
}
|
|
.info-item:last-child {
|
margin-bottom: 0;
|
}
|
|
.info-item .label {
|
width: 160rpx;
|
color: #86909C;
|
font-size: 26rpx;
|
flex-shrink: 0;
|
}
|
|
.info-item .value {
|
flex: 1;
|
color: #1D2129;
|
font-size: 26rpx;
|
word-break: break-all;
|
}
|
|
.card {
|
padding: 24rpx;
|
height: 100%;
|
background-color: #fff;
|
position: relative;
|
}
|
|
.card_main {
|
background-color: #F6F7FB;
|
border-radius: 8px;
|
}
|
|
.flex_end {
|
/* position: fixed;
|
bottom: 40rpx; */
|
color: rgba(23, 26, 29, 0.24);
|
font-size: 28rpx;
|
/* padding: 0 52rpx; */
|
text-align: center;
|
padding: 24rpx 0;
|
}
|
|
.caseList {
|
border-radius: 4px;
|
background-color: #fff;
|
padding: 24rpx;
|
margin: 0 24rpx 16rpx 24rpx;
|
}
|
|
.caseList_flex {
|
display: flex;
|
justify-content: space-between;
|
margin-bottom: 8rpx;
|
}
|
|
.cell-arrow {
|
width: 16px;
|
height: 16px;
|
background: #f6f7fb;
|
border-radius: 50%;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
padding: 6rpx;
|
}
|
|
.caseList_title {
|
color: rgba(23, 26, 29, 0.60);
|
font-size: 24rpx;
|
line-height: 40rpx;
|
}
|
|
.caseList_head {
|
display: flex;
|
gap: 8rpx;
|
padding: 24rpx 24rpx;
|
margin-top: 24rpx;
|
}
|
|
.line {
|
border: 1px dashed #e5e6eb;
|
margin: 32rpx 24rpx 0;
|
}
|
|
.assess {
|
display: flex;
|
gap: 32rpx;
|
justify-content: flex-end;
|
padding: 12rpx 24rpx 32rpx;
|
}
|
|
.ellipsis {
|
overflow: hidden;
|
/* 确保超出容器的文本会被裁剪 */
|
white-space: nowrap;
|
/* 保证文本在一行内显示 */
|
text-overflow: ellipsis;
|
/* 使用省略号表示文本超出 */
|
}
|
|
.show-line {
|
margin: 24rpx 0;
|
border-top: 1px solid #F0F0F0;
|
}
|
|
.show-Law {
|
color: var(--main-color);
|
}
|
|
/* 评价弹窗样式 */
|
.evaluation-popup {
|
position: relative;
|
width: 100%;
|
}
|
|
.evaluation-title {
|
text-align: center;
|
font-weight: bold;
|
font-size: 18px;
|
margin-bottom: 20px;
|
}
|
|
.evaluation-item {
|
margin-bottom: 15px;
|
}
|
|
.item-title {
|
margin-bottom: 8px;
|
font-size: 14px;
|
}
|
|
.stars {
|
display: flex;
|
justify-content: flex-start;
|
gap: 8px;
|
}
|
|
.comments-area {
|
width: 100%;
|
background-color: #F5F5F5;
|
border-radius: 4px;
|
padding: 10px;
|
}
|
|
.comments-area textarea {
|
width: 100%;
|
height: 80px;
|
font-size: 14px;
|
line-height: 1.5;
|
}
|
|
.submit-btn {
|
width: 100%;
|
background-color: #1A6FB8;
|
color: white;
|
border-radius: 4px;
|
margin-top: 20px;
|
font-size: 16px;
|
height: 44px;
|
line-height: 44px;
|
}
|
|
.close-btn {
|
position: fixed;
|
bottom: 8vh;
|
left: 50%;
|
transform: translateX(-50%);
|
z-index: 9999;
|
}
|
|
.close-btn image {
|
width: 30px;
|
height: 30px;
|
}
|
|
/* 禁止弹窗滚动 */
|
.van-popup {
|
overflow: hidden !important;
|
}
|
|
/* 自定义toast样式 */
|
.custom-toast {
|
position: fixed;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
background-color: rgba(51, 51, 51, 0.9);
|
border-radius: 8px;
|
padding: 16px 24px;
|
z-index: 10000;
|
opacity: 0;
|
transition: opacity 0.3s ease;
|
}
|
|
.show-toast {
|
opacity: 1;
|
}
|
|
.toast-content {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 8px;
|
}
|
|
.toast-content text {
|
color: #FFFFFF;
|
font-size: 16px;
|
}
|