优化消息渲染中的上传文件。不过滤表单工具yxd_tool_name": "sendFrom",气泡渲染表单工具。
This commit is contained in:
@@ -755,6 +755,94 @@
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
/* sendFrom 工具表单卡片 */
|
||||
.chat-content-assistant .tool-form-card {
|
||||
margin: -8rpx -12rpx;
|
||||
}
|
||||
|
||||
.tool-form-card {
|
||||
background: #f8f9fc;
|
||||
border-radius: 20rpx;
|
||||
padding: 32rpx 24rpx;
|
||||
border: 1rpx solid #e8ecf2;
|
||||
}
|
||||
|
||||
.tool-form-title {
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
color: #2c3e50;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.tool-form-desc {
|
||||
font-size: 28rpx;
|
||||
color: #909399;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.tool-form-fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20rpx;
|
||||
}
|
||||
|
||||
.tool-form-text {
|
||||
font-size: 28rpx;
|
||||
color: #606266;
|
||||
padding: 8rpx 0;
|
||||
}
|
||||
|
||||
.tool-form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10rpx;
|
||||
}
|
||||
|
||||
.tool-form-label {
|
||||
font-size: 28rpx;
|
||||
color: #303133;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.tool-form-input {
|
||||
font-size: 28rpx;
|
||||
color: #303133;
|
||||
padding: 40rpx 20rpx;
|
||||
background: #fff;
|
||||
border-radius: 12rpx;
|
||||
border: 1rpx solid #e4e7ed;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tool-form-textarea {
|
||||
font-size: 28rpx;
|
||||
color: #303133;
|
||||
padding: 18rpx 20rpx;
|
||||
background: #fff;
|
||||
border-radius: 12rpx;
|
||||
border: 1rpx solid #e4e7ed;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
min-height: 100rpx;
|
||||
}
|
||||
|
||||
.tool-form-submit {
|
||||
margin-top: 24rpx;
|
||||
padding: 18rpx 0;
|
||||
text-align: center;
|
||||
background: linear-gradient(135deg, #667eea, #764ba2);
|
||||
color: #fff;
|
||||
font-size: 30rpx;
|
||||
font-weight: 500;
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.tool-form-submitted {
|
||||
background: #c0c4cc;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
/* ==========聊天输入容器部分========== */
|
||||
.chat-interactive-container {
|
||||
|
||||
Reference in New Issue
Block a user