-
+
+
+
-
-
-
-
-
您希望AI智能体在回答问题时必须考虑的信息是?
-
+
+
@@ -163,6 +277,7 @@
diff --git a/static/src/styles/components/overlays/_overlays.scss b/static/src/styles/components/overlays/_overlays.scss
index 11b2b46..b30666f 100644
--- a/static/src/styles/components/overlays/_overlays.scss
+++ b/static/src/styles/components/overlays/_overlays.scss
@@ -13,7 +13,9 @@
}
.personal-page-card {
- width: min(95vw, 860px);
+ width: min(96vw, 1020px);
+ height: calc(100vh - 40px);
+ max-height: 760px;
background: #fffaf4;
border-radius: 24px;
border: 1px solid rgba(118, 103, 84, 0.25);
@@ -21,7 +23,8 @@
padding: 40px;
text-align: left;
color: var(--claude-text);
- max-height: calc(100vh - 40px);
+ display: flex;
+ flex-direction: column;
overflow: hidden;
}
@@ -91,15 +94,10 @@
display: flex;
flex-direction: column;
gap: 20px;
- overflow-y: auto;
- max-height: calc(100vh - 180px);
- padding-right: 6px;
- scrollbar-width: none;
- -ms-overflow-style: none;
-}
-
-.personalization-body::-webkit-scrollbar {
- display: none;
+ flex: 1 1 auto;
+ min-height: 0;
+ height: 100%;
+ overflow: hidden;
}
.personal-toggle {
@@ -168,6 +166,233 @@
transform: translateX(20px);
}
+.personal-toggle-row {
+ margin-bottom: 18px;
+}
+
+.personalization-layout {
+ display: grid;
+ grid-template-columns: 200px minmax(0, 1fr);
+ gap: 20px;
+ align-items: stretch;
+ min-height: 0;
+ flex: 1 1 auto;
+ height: 100%;
+}
+
+.personal-page-tabs {
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+ padding: 20px;
+ border-radius: 20px;
+ border: 1px solid rgba(118, 103, 84, 0.2);
+ background: rgba(255, 255, 255, 0.92);
+ align-self: flex-start;
+ height: auto;
+ max-height: 220px;
+ overflow: hidden;
+}
+
+.personal-tab-button {
+ border: none;
+ border-radius: 16px;
+ padding: 14px 18px;
+ text-align: left;
+ font-weight: 600;
+ background: transparent;
+ color: var(--claude-text-secondary);
+ cursor: pointer;
+ transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
+}
+
+.personal-tab-button.active {
+ background: rgba(189, 93, 58, 0.12);
+ color: var(--claude-accent);
+ box-shadow: 0 10px 24px rgba(189, 93, 58, 0.15);
+}
+
+.personal-tab-button:focus-visible {
+ outline: 2px solid rgba(189, 93, 58, 0.4);
+ outline-offset: 2px;
+}
+
+.personalization-content-shell {
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+ flex: 1 1 auto;
+ height: 100%;
+}
+
+.personalization-content {
+ position: relative;
+ overflow-y: auto;
+ border-radius: 24px;
+ border: 1px solid rgba(118, 103, 84, 0.18);
+ background: rgba(255, 255, 255, 0.98);
+ min-height: 0;
+ flex: 1 1 auto;
+ height: 100%;
+ scrollbar-width: none;
+ -ms-overflow-style: none;
+}
+
+.personalization-content::-webkit-scrollbar {
+ display: none;
+}
+
+.personalization-content .personal-page {
+ width: 100%;
+ padding: 16px 26px 26px;
+}
+
+@media (max-width: 1024px) {
+ .personalization-layout {
+ grid-template-columns: 1fr;
+ }
+
+ .personal-page-tabs {
+ flex-direction: row;
+ padding: 14px;
+ height: auto;
+ }
+
+ .personal-tab-button {
+ flex: 1;
+ text-align: center;
+ }
+}
+
+.behavior-section {
+ display: flex;
+ flex-direction: column;
+ gap: 24px;
+ background: rgba(255, 255, 255, 0.85);
+ border-radius: 20px;
+ padding: 24px;
+ border: 1px solid rgba(118, 103, 84, 0.18);
+}
+
+.behavior-field {
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+}
+
+.behavior-field-header {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}
+
+.behavior-field-header .field-title {
+ font-weight: 600;
+}
+
+.behavior-field-header .field-desc {
+ color: var(--claude-text-secondary);
+ font-size: 13px;
+}
+
+.thinking-presets {
+ display: flex;
+ gap: 12px;
+ flex-wrap: wrap;
+}
+
+.thinking-presets button {
+ flex: 1;
+ min-width: 100px;
+ border: 1px solid rgba(118, 103, 84, 0.2);
+ border-radius: 12px;
+ padding: 10px 12px;
+ background: #fff;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 4px;
+ font-weight: 600;
+ color: var(--claude-text-secondary);
+}
+
+.thinking-presets button.active {
+ border-color: var(--claude-accent);
+ color: var(--claude-accent);
+ background: rgba(118, 103, 84, 0.08);
+}
+
+.thinking-presets button small {
+ font-size: 12px;
+ font-weight: 500;
+}
+
+.thinking-input-row {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 12px;
+}
+
+.thinking-input-row label {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ font-weight: 600;
+}
+
+.thinking-input-row input {
+ width: 120px;
+ padding: 8px 10px;
+ border-radius: 8px;
+ border: 1px solid rgba(118, 103, 84, 0.3);
+}
+
+.thinking-hint {
+ color: var(--claude-text-secondary);
+ font-size: 13px;
+}
+
+.behavior-hint {
+ color: var(--claude-text-secondary);
+ font-size: 13px;
+}
+
+.link-button {
+ border: none;
+ background: none;
+ color: var(--claude-accent);
+ font-weight: 600;
+ cursor: pointer;
+}
+
+.tool-category-grid {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 10px;
+}
+
+.tool-category-chip {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ padding: 8px 12px;
+ border-radius: 12px;
+ background: rgba(118, 103, 84, 0.08);
+ border: 1px solid rgba(118, 103, 84, 0.2);
+ font-size: 13px;
+}
+
+.tool-category-chip input {
+ accent-color: var(--claude-accent);
+}
+
+.global-actions {
+ justify-content: flex-start;
+ align-items: center;
+ gap: 16px;
+}
+
/* ========================================= */
/* 移动端面板入口 */
/* ========================================= */
@@ -507,13 +732,25 @@
flex-direction: column;
gap: 18px;
flex: 1;
+ min-height: 0;
+ height: 100%;
}
.personalization-sections {
- display: flex;
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
gap: 18px;
- align-items: flex-start;
- flex-wrap: nowrap;
+ align-items: stretch;
+}
+
+.personal-left-column {
+ display: flex;
+ flex-direction: column;
+ min-width: 0;
+}
+
+.personal-left-column .personal-section {
+ height: 100%;
}
.personal-section {
@@ -532,13 +769,13 @@
display: flex;
flex-direction: column;
gap: 14px;
- flex: 1 1 0;
- max-width: none;
+ min-width: 0;
align-self: stretch;
+ height: 100%;
}
-.personal-right-column .personal-section {
- flex: 1 1 auto;
+.personal-right-column > .personal-form-actions {
+ margin-top: auto;
}
.personal-section.personal-considerations .personal-field {
@@ -566,11 +803,13 @@
@media (max-width: 1024px) {
.personalization-sections {
+ display: flex;
flex-direction: column;
- flex-wrap: wrap;
+ gap: 18px;
}
- .personal-right-column {
+ .personal-right-column,
+ .personal-left-column {
width: 100%;
max-width: none;
}
@@ -709,6 +948,36 @@
justify-content: flex-end;
}
+.personal-form-actions.card-aligned {
+ padding: 0;
+ margin-top: auto;
+ justify-content: flex-end;
+}
+
+@media (max-width: 1024px) {
+ .personal-form-actions.card-aligned {
+ margin-top: 12px;
+ }
+}
+
+.personal-actions-row {
+ display: flex;
+ justify-content: flex-end;
+ margin-top: 18px;
+}
+
+.personal-actions-row .personal-form-actions {
+ width: 100%;
+ max-width: 420px;
+ padding: 0;
+}
+
+@media (min-width: 1025px) {
+ .personal-actions-row .personal-form-actions {
+ max-width: calc(50% - 9px);
+ }
+}
+
.personal-status-group {
flex: 0 0 auto;
display: flex;
@@ -761,6 +1030,21 @@
font-size: 14px;
}
+.personal-page-vertical-enter-active,
+.personal-page-vertical-leave-active {
+ transition: opacity 0.35s ease, transform 0.35s ease;
+}
+
+.personal-page-vertical-enter-from {
+ opacity: 0;
+ transform: translateY(26px);
+}
+
+.personal-page-vertical-leave-to {
+ opacity: 0;
+ transform: translateY(-26px);
+}
+
.personal-page-fade-enter-active,
.personal-page-fade-leave-active {
transition: opacity 0.25s ease, backdrop-filter 0.25s ease;