样式修改

This commit is contained in:
2025-12-17 15:32:58 +08:00
parent ded3eddc56
commit aa8ce553b0
52 changed files with 3145 additions and 2010 deletions

View File

@@ -49,14 +49,14 @@
transition: all 0.2s;
&:hover {
color: #7c3aed;
border-color: #7c3aed;
color: #0055AA;
border-color: #0055AA;
}
&.active {
color: #fff;
background: #7c3aed;
border-color: #7c3aed;
background: #0055AA;
border-color: #0055AA;
}
}
}

View File

@@ -136,7 +136,7 @@ const agents = ref<Agent[]>([
name: '泰豪合同助手',
description: '智能合同审核、条款分析、风险提示,提高合同处理效率',
icon: '📄',
color: '#7c3aed',
color: '#0055AA',
category: 'business',
usage: 8320
},
@@ -225,7 +225,7 @@ const handleSaveAgent = async (agentData: Partial<Agent>) => {
description: agentData.description || '',
icon: agentData.imageUrl ? '' : '🤖',
imageUrl: agentData.imageUrl,
color: agentData.color || '#7c3aed',
color: agentData.color || '#0055AA',
category: agentData.category || 'office',
apiUrl: agentData.apiUrl,
usage: 0

View File

@@ -7,8 +7,8 @@
transition: all 0.3s ease;
&:hover {
border-color: #7c3aed;
box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
border-color: #0055AA;
box-shadow: 0 8px 24px rgba(0, 85, 170, 0.12);
transform: translateY(-4px);
}

View File

@@ -236,7 +236,7 @@ const handleSave = () => {
const suggestionCards = formData.value.suggestionCards?.filter(s => s.text.trim()) || []
// 生成随机颜色(如果没有上传图片)
const colors = ['#7c3aed', '#10b981', '#f59e0b', '#3b82f6', '#ef4444', '#6366f1', '#14b8a6']
const colors = ['#0055AA', '#10b981', '#f59e0b', '#3b82f6', '#ef4444', '#6366f1', '#14b8a6']
const randomColor = colors[Math.floor(Math.random() * colors.length)]
emit('save', {

View File

@@ -49,8 +49,8 @@
&:hover {
background: #f3f4f6;
border-color: #7c3aed;
color: #7c3aed;
border-color: #0055AA;
color: #0055AA;
}
}
@@ -71,7 +71,7 @@
&:hover {
background: #f3f4f6;
color: #7c3aed;
color: #0055AA;
}
}
@@ -172,7 +172,7 @@
&:hover {
background: #f3f4f6;
color: #7c3aed;
color: #0055AA;
}
.agent-icon {
@@ -187,8 +187,8 @@
}
:deep(.el-dropdown-menu__item.is-active) {
background: rgba(124, 58, 237, 0.1);
color: #7c3aed;
background: rgba(0, 85, 170, 0.1);
color: #0055AA;
}
.chat-content {
@@ -221,7 +221,7 @@
align-items: flex-end;
.message-text {
background: #7c3aed;
background: #0055AA;
color: #fff;
}
}
@@ -362,7 +362,7 @@
.send-btn {
width: 36px;
height: 36px;
background: #7c3aed;
background: #0055AA;
border-radius: 8px;
display: flex;
align-items: center;
@@ -373,7 +373,7 @@
cursor: pointer;
&:hover:not(:disabled) {
background: #5b21b6;
background: #004488;
}
&:disabled {

View File

@@ -55,8 +55,8 @@
transition: all 0.2s ease;
&:hover {
border-color: #7c3aed;
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
border-color: #0055AA;
box-shadow: 0 4px 12px rgba(0, 85, 170, 0.15);
transform: translateY(-2px);
}