feat(scripts): #1893 文案库对接三个AI能力(抖音提取/AI改写/AI生成标题) (#1935)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 15s
CI/CD Pipeline / Build Staging API Image (push) Successful in 2m25s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 2m45s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 4m42s
CI/CD Pipeline / Integration Tests (push) Successful in 5m10s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 5m33s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 5m43s
CI/CD Pipeline / Validate - Style (push) Successful in 5m50s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m19s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m35s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m5s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 3m9s
CI/CD Pipeline / Unit Tests (push) Successful in 11m39s
CI/CD Pipeline / Validate - Security (push) Successful in 14m30s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Failing after 22h20m4s
CI/CD Pipeline / Build Production API Image (push) Failing after 22h20m5s
CI/CD Pipeline / Frontend Lint (push) Failing after 22h34m32s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 22h28m58s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 22h28m59s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 22h28m59s
CI/CD Pipeline / PR Build Web Image (push) Failing after 22h33m51s
CI/CD Pipeline / PR Build API Image (push) Failing after 22h33m52s
CI/CD Pipeline / Deploy Production (push) Failing after 22h19m20s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 22h19m24s
CI/CD Pipeline / Build Production Web Image (push) Failing after 22h19m24s
CI/CD Pipeline / Canary Release to Production (push) Failing after 22h19m20s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 22h33m57s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 23h9m29s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 15s
CI/CD Pipeline / Build Staging API Image (push) Successful in 2m25s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 2m45s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 4m42s
CI/CD Pipeline / Integration Tests (push) Successful in 5m10s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 5m33s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 5m43s
CI/CD Pipeline / Validate - Style (push) Successful in 5m50s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m19s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m35s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m5s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 3m9s
CI/CD Pipeline / Unit Tests (push) Successful in 11m39s
CI/CD Pipeline / Validate - Security (push) Successful in 14m30s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Failing after 22h20m4s
CI/CD Pipeline / Build Production API Image (push) Failing after 22h20m5s
CI/CD Pipeline / Frontend Lint (push) Failing after 22h34m32s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 22h28m58s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 22h28m59s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 22h28m59s
CI/CD Pipeline / PR Build Web Image (push) Failing after 22h33m51s
CI/CD Pipeline / PR Build API Image (push) Failing after 22h33m52s
CI/CD Pipeline / Deploy Production (push) Failing after 22h19m20s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 22h19m24s
CI/CD Pipeline / Build Production Web Image (push) Failing after 22h19m24s
CI/CD Pipeline / Canary Release to Production (push) Failing after 22h19m20s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 22h33m57s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 23h9m29s
feat(scripts): #1893 AI能力对接(抖音提取/AI改写/AI生成标题)
This commit was merged in pull request #1935.
This commit is contained in:
@@ -166,3 +166,95 @@
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── #1893 AI 能力样式 ── */
|
||||
|
||||
/* 抖音提取 / AI 按钮与主按钮间距 */
|
||||
.xx-scripts-filters-right .ant-btn + .ant-btn {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
/* AI 改写工具条(贴在正文 TextArea 下方) */
|
||||
.xx-ai-rewrite-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: -8px;
|
||||
margin-bottom: 16px;
|
||||
padding: 8px 12px;
|
||||
background: linear-gradient(90deg, #f7f5ff 0%, #fff 100%);
|
||||
border: 1px dashed #d3c6ff;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* AI 生成标题候选 */
|
||||
.xx-ai-title-candidates {
|
||||
margin-top: -8px;
|
||||
margin-bottom: 12px;
|
||||
padding: 10px 12px;
|
||||
background: #fafaff;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #eee6ff;
|
||||
}
|
||||
.xx-ai-title-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.xx-ai-title-tag {
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
padding: 4px 12px;
|
||||
border-radius: 16px;
|
||||
transition: transform 0.15s;
|
||||
margin: 0;
|
||||
}
|
||||
.xx-ai-title-tag:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 8px rgba(114, 46, 209, 0.18);
|
||||
}
|
||||
|
||||
/* loading 提示文本 */
|
||||
.xx-ai-loading-hint {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 12px;
|
||||
padding: 10px 12px;
|
||||
color: var(--text-secondary, #666);
|
||||
font-size: 13px;
|
||||
background: #fafafa;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/* AI 改写对比块 */
|
||||
.xx-ai-rewrite-item {
|
||||
border-bottom: 1px solid var(--border-color, #f0f0f0) !important;
|
||||
padding: 12px 0 !important;
|
||||
}
|
||||
.xx-ai-rewrite-item:last-child {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
.xx-ai-rewrite-block {
|
||||
width: 100%;
|
||||
}
|
||||
.xx-ai-rewrite-label {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.xx-ai-rewrite-text {
|
||||
font-size: 13px;
|
||||
line-height: 1.7;
|
||||
color: var(--text-primary, #1f1f1f);
|
||||
padding: 8px 12px;
|
||||
background: #fafafa;
|
||||
border-radius: 6px;
|
||||
max-height: 180px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.xx-ai-rewrite-item:first-child .xx-ai-rewrite-text {
|
||||
color: var(--text-secondary, #666);
|
||||
background: #f7f7f7;
|
||||
}
|
||||
.xx-ai-rewrite-item:last-child .xx-ai-rewrite-text {
|
||||
background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
|
||||
border: 1px solid #eee6ff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user