fix: 智能体和我的页面头部统一为紫色渐变风格

This commit is contained in:
2026-04-26 23:14:39 +08:00
parent 484bdf07fe
commit 05d1b60671
2 changed files with 10 additions and 9 deletions

View File

@@ -8,12 +8,12 @@
<meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0"> <meta http-equiv="Expires" content="0">
<title>AI助手</title> <title>AI助手</title>
<link rel="stylesheet" href="style.css?v=3.0.1"> <link rel="stylesheet" href="style.css?v=3.0.2">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script src="marked.min.js?v=3.0.1"></script> <script src="marked.min.js?v=3.0.2"></script>
<script src="app.js?v=3.0.1"></script> <script src="app.js?v=3.0.2"></script>
</body> </body>
</html> </html>

View File

@@ -83,21 +83,20 @@ body {
color: var(--primary); color: var(--primary);
} }
/* ==================== 页面通用头部 ==================== */ /* ==================== 页面通用头部(紫色渐变) ==================== */
.page-header { .page-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 16px; padding: 12px 16px;
background: white; background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
border-bottom: 1px solid var(--border-color); color: white;
} }
.page-header h1 { .page-header h1 {
font-size: 20px; font-size: 18px;
font-weight: 600; font-weight: 600;
color: var(--text-color);
} }
/* ==================== 对话页面 ==================== */ /* ==================== 对话页面 ==================== */
@@ -172,6 +171,7 @@ body {
flex: 1; flex: 1;
padding: 16px; padding: 16px;
overflow-y: auto; overflow-y: auto;
background: #f5f5f5;
} }
.agents-section { .agents-section {
@@ -238,6 +238,7 @@ body {
.profile-content { .profile-content {
flex: 1; flex: 1;
padding: 16px; padding: 16px;
background: #f5f5f5;
} }
.profile-card { .profile-card {