Files
Neo 779b2f6d52 chore: v1 整理 — 清理历史文件、DDL 合并、文档归档
- 清理 1155 个已删除的历史文件(废弃 prompt_logs、tmp、旧 ops 脚本)
- export/ 数据文件从 git 移除(已在 .gitignore)
- demo-miniprogram 从 tmp/ 移入 apps/,添加 CLAUDE.md 注解
- DDL 合并:完整 schema 定义填充到 db/*/schemas/(从 docs/database/ddl/ 复制)
- 39 个 v1 迁移脚本归档到 db/_archived/migrations_v1_merged/
- 4 个迁移变更类 BD_Manual 文档归档到 docs/database/_archived/
- .gitignore 补充 .vite/ 和 apps/*.zip
- settings.json 添加 effortLevel 默认配置
- scripts/ops/ 新增运维脚本入库

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 00:39:27 +08:00

178 lines
3.0 KiB
Plaintext

/* pages/chat-history/chat-history.wxss — 对话历史页样式 */
/* ========== 自定义导航栏 ========== */
.safe-area-top {
background-color: #ffffff;
}
.custom-nav {
display: flex;
align-items: center;
height: 88rpx;
padding: 0 24rpx;
position: relative;
}
.nav-back {
width: 64rpx;
height: 64rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.nav-back--hover {
background-color: var(--color-gray-2);
}
.nav-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
font-size: var(--font-lg);
font-weight: 500;
color: var(--color-gray-13);
}
/* ========== 加载态 & 空态 ========== */
.page-loading,
.page-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 60vh;
gap: 24rpx;
}
/* ========== 错误态 ========== */
.page-error {
display: flex;
flex-direction: column;
height: 100vh;
background-color: var(--color-gray-1);
}
.error-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0 64rpx;
}
.error-icon {
font-size: 96rpx;
margin-bottom: 24rpx;
}
.error-text {
font-size: var(--font-base);
color: var(--color-gray-8);
margin-bottom: 32rpx;
}
.retry-btn {
padding: 16rpx 48rpx;
background-color: var(--color-primary);
border-radius: var(--radius-lg);
}
.retry-btn--hover {
opacity: 0.8;
}
.retry-btn-text {
font-size: var(--font-sm);
color: #ffffff;
}
/* ========== 容器 ========== */
.page-empty-wrap,
.page-normal {
min-height: 100vh;
background-color: #ffffff;
}
/* ========== 对话列表 ========== */
.chat-list {
background: #ffffff;
}
.chat-item {
display: flex;
align-items: center;
padding: 32rpx;
gap: 24rpx;
border-bottom: 2rpx solid var(--color-gray-1, #f3f3f3);
}
.chat-item--hover {
background-color: var(--color-gray-1, #f3f3f3);
}
/* 图标容器 */
.chat-icon-box {
width: 88rpx;
height: 88rpx;
border-radius: 24rpx;
background: linear-gradient(135deg, #667eea, #764ba2);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 4rpx 16rpx rgba(0, 82, 217, 0.2);
}
/* 内容区 */
.chat-content {
flex: 1;
min-width: 0;
}
.chat-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8rpx;
}
.chat-title {
font-size: var(--font-sm, 28rpx);
font-weight: 500;
color: var(--color-gray-13, #242424);
flex: 1;
min-width: 0;
}
.chat-time {
font-size: var(--font-xs, 24rpx);
color: var(--color-gray-6, #a6a6a6);
flex-shrink: 0;
margin-left: 16rpx;
}
.chat-bottom {
display: flex;
align-items: center;
}
.chat-summary {
font-size: var(--font-xs, 24rpx);
color: var(--color-gray-6, #a6a6a6);
max-width: 100%;
}
/* ========== 底部提示 ========== */
.list-footer {
text-align: center;
padding: 32rpx 0 64rpx;
}
.footer-text {
font-size: 20rpx;
color: var(--color-gray-5, #c5c5c5);
}