- 清理 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>
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
/* AI 悬浮按钮 — 忠于 H5 原型:渐变流动背景 + 机器人 SVG */
|
||
/* H5: 56px → 56×2×0.875 = 98rpx */
|
||
|
||
.ai-float-btn-container {
|
||
position: fixed;
|
||
right: 28rpx;
|
||
z-index: 100;
|
||
}
|
||
|
||
.ai-float-btn {
|
||
width: 98rpx;
|
||
height: 98rpx;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
position: relative;
|
||
overflow: hidden;
|
||
/* 渐变动画背景 — 忠于 H5 原型 */
|
||
background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #667eea 100%);
|
||
background-size: 400% 400%;
|
||
animation: gradientShift 8s ease infinite;
|
||
box-shadow: 0 8rpx 40rpx rgba(102, 126, 234, 0.4);
|
||
}
|
||
|
||
.ai-float-btn:active {
|
||
transform: scale(0.95);
|
||
}
|
||
|
||
/* 高光叠加层 */
|
||
.ai-float-btn-highlight {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
background: linear-gradient(145deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
|
||
border-radius: 50%;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* 背景渐变流动动画 */
|
||
@keyframes gradientShift {
|
||
0% { background-position: 0% 50%; }
|
||
25% { background-position: 50% 100%; }
|
||
50% { background-position: 100% 50%; }
|
||
75% { background-position: 50% 0%; }
|
||
100% { background-position: 0% 50%; }
|
||
}
|
||
|
||
/* SVG 图标 H5: 30px → 52rpx */
|
||
.ai-icon-svg {
|
||
height: 60rpx;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|