fix: 修复管理端前端 lint 与构建问题
- 收敛 easyflow-ui-admin 的 lint、格式和类型问题 - 修正 demo 页面与管理端前端构建失败点 - 验证 pnpm lint 与 pnpm build 均已通过
This commit is contained in:
@@ -1453,12 +1453,12 @@ onBeforeUnmount(() => {
|
||||
--pc-ink-soft: #475569;
|
||||
--pc-line: #e2e8f0;
|
||||
--pc-line-soft: #edf2f7;
|
||||
--pc-surface: #ffffff;
|
||||
--pc-surface: #fff;
|
||||
--pc-surface-soft: #f8fbff;
|
||||
--pc-surface-muted: #f8fafc;
|
||||
box-sizing: border-box;
|
||||
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 24px;
|
||||
overflow: hidden;
|
||||
@@ -1474,6 +1474,7 @@ onBeforeUnmount(() => {
|
||||
transparent 62%
|
||||
),
|
||||
linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.public-chat-page::before {
|
||||
@@ -1482,8 +1483,8 @@ onBeforeUnmount(() => {
|
||||
z-index: -1;
|
||||
width: 440px;
|
||||
height: 440px;
|
||||
content: '';
|
||||
pointer-events: none;
|
||||
content: '';
|
||||
background: radial-gradient(
|
||||
circle,
|
||||
rgb(59 130 246 / 16%) 0%,
|
||||
@@ -1553,8 +1554,8 @@ onBeforeUnmount(() => {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
letter-spacing: 0.01em;
|
||||
color: var(--pc-ink-strong);
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.public-chat-subtitle {
|
||||
@@ -1606,8 +1607,8 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
.public-chat-message-row.is-assistant {
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
@@ -1633,7 +1634,7 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
.public-chat-bubble-user {
|
||||
color: #ffffff;
|
||||
color: #fff;
|
||||
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
||||
border-top-right-radius: 4px;
|
||||
box-shadow: 0 6px 16px rgb(37 99 235 / 24%);
|
||||
@@ -1721,10 +1722,10 @@ onBeforeUnmount(() => {
|
||||
|
||||
.public-chat-tool-item {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
padding: 10px 12px;
|
||||
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
|
||||
background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
|
||||
border: 1px solid #d7e2f2;
|
||||
border-left: 3px solid var(--pc-primary);
|
||||
border-radius: 12px;
|
||||
@@ -1753,8 +1754,8 @@ onBeforeUnmount(() => {
|
||||
|
||||
.public-chat-markdown :deep(a) {
|
||||
color: var(--pc-primary);
|
||||
text-decoration: underline;
|
||||
word-break: break-all;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.public-chat-markdown :deep(img) {
|
||||
@@ -1777,9 +1778,9 @@ onBeforeUnmount(() => {
|
||||
|
||||
.public-chat-tool-header {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.public-chat-tool-actions {
|
||||
@@ -1793,10 +1794,10 @@ onBeforeUnmount(() => {
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--pc-ink-strong);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -1827,7 +1828,7 @@ onBeforeUnmount(() => {
|
||||
line-height: 1.4;
|
||||
color: #334155;
|
||||
cursor: pointer;
|
||||
background: #ffffff;
|
||||
background: #fff;
|
||||
border: 1px solid #d7e2f2;
|
||||
border-radius: 999px;
|
||||
transition: all 0.15s ease;
|
||||
@@ -1849,9 +1850,9 @@ onBeforeUnmount(() => {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
color: #334155;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
background: #ffffff;
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
}
|
||||
@@ -1870,7 +1871,7 @@ onBeforeUnmount(() => {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
padding: 0 4px 0;
|
||||
padding: 0 4px;
|
||||
margin-bottom: 10px;
|
||||
pointer-events: auto;
|
||||
background: transparent;
|
||||
@@ -1881,9 +1882,9 @@ onBeforeUnmount(() => {
|
||||
max-width: 100%;
|
||||
padding: 8px 14px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 12px;
|
||||
color: #334155;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
background: rgb(255 255 255 / 96%);
|
||||
@@ -1925,8 +1926,8 @@ onBeforeUnmount(() => {
|
||||
z-index: 1;
|
||||
font-size: 12px;
|
||||
color: #94a3b8;
|
||||
opacity: 0.9;
|
||||
pointer-events: none;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.public-chat-input-send-btn {
|
||||
@@ -1946,12 +1947,12 @@ onBeforeUnmount(() => {
|
||||
|
||||
.public-chat-input :deep(.el-textarea__inner) {
|
||||
min-height: 126px !important;
|
||||
padding: 16px 124px 48px 18px;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
background: rgb(255 255 255);
|
||||
border-color: transparent;
|
||||
border-radius: 20px;
|
||||
padding: 16px 124px 48px 18px;
|
||||
box-shadow: none;
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
@@ -1972,6 +1973,7 @@ onBeforeUnmount(() => {
|
||||
opacity: 0;
|
||||
transform: translateY(8px);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
@@ -1982,12 +1984,13 @@ onBeforeUnmount(() => {
|
||||
0%,
|
||||
80%,
|
||||
100% {
|
||||
transform: scale(0.75);
|
||||
opacity: 0.5;
|
||||
transform: scale(0.75);
|
||||
}
|
||||
|
||||
40% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2023,9 +2026,9 @@ onBeforeUnmount(() => {
|
||||
|
||||
.public-chat-preset-list {
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.public-chat-footer {
|
||||
|
||||
Reference in New Issue
Block a user