主要改动: - 移除调试导出功能(exportToDocuments 及相关 UI) - EditorView 添加封面帧预览和关键帧时间选择 - 新增 Analytics.swift 基础埋点模块(使用 os.Logger) - 创建 Live Photo 风格应用图标(SVG → PNG) - 优化 LivePhotoCore:简化代码结构,修复宽高比问题 - 添加单元测试资源文件 metadata.mov - 更新 TASK.md 进度追踪 M1 MVP 闭环已完成: ✅ 5个核心页面(Home/Editor/Processing/Result/WallpaperGuide) ✅ 时长裁剪 + 封面帧选择 ✅ 完整生成管线 + 相册保存 + 系统验证 ✅ 壁纸设置引导(iOS 16/17+ 差异化文案) ✅ 基础埋点事件追踪 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<!-- 主渐变背景 -->
|
|
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#667eea"/>
|
|
<stop offset="50%" style="stop-color:#764ba2"/>
|
|
<stop offset="100%" style="stop-color:#f093fb"/>
|
|
</linearGradient>
|
|
|
|
<!-- Live Photo 光环渐变 -->
|
|
<linearGradient id="ringGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#ffffff;stop-opacity:0.9"/>
|
|
<stop offset="100%" style="stop-color:#ffffff;stop-opacity:0.6"/>
|
|
</linearGradient>
|
|
|
|
<!-- 内圈渐变 -->
|
|
<radialGradient id="innerGlow" cx="50%" cy="50%" r="50%">
|
|
<stop offset="0%" style="stop-color:#ffffff;stop-opacity:0.3"/>
|
|
<stop offset="100%" style="stop-color:#ffffff;stop-opacity:0"/>
|
|
</radialGradient>
|
|
</defs>
|
|
|
|
<!-- 背景 -->
|
|
<rect width="1024" height="1024" rx="224" fill="url(#bgGradient)"/>
|
|
|
|
<!-- 装饰光晕 -->
|
|
<circle cx="512" cy="512" r="380" fill="url(#innerGlow)"/>
|
|
|
|
<!-- Live Photo 外圈 - 虚线环 -->
|
|
<circle cx="512" cy="512" r="320" fill="none" stroke="url(#ringGradient)" stroke-width="24" stroke-dasharray="40 20" stroke-linecap="round"/>
|
|
|
|
<!-- Live Photo 中圈 -->
|
|
<circle cx="512" cy="512" r="240" fill="none" stroke="rgba(255,255,255,0.7)" stroke-width="16"/>
|
|
|
|
<!-- 中心实心圆 -->
|
|
<circle cx="512" cy="512" r="140" fill="rgba(255,255,255,0.95)"/>
|
|
|
|
<!-- 播放三角形 (代表视频/动态) -->
|
|
<path d="M480 420 L480 604 L620 512 Z" fill="url(#bgGradient)"/>
|
|
|
|
<!-- 顶部小点装饰 (Live Photo 特征) -->
|
|
<circle cx="512" cy="152" r="24" fill="rgba(255,255,255,0.8)"/>
|
|
<circle cx="512" cy="872" r="24" fill="rgba(255,255,255,0.8)"/>
|
|
<circle cx="152" cy="512" r="24" fill="rgba(255,255,255,0.8)"/>
|
|
<circle cx="872" cy="512" r="24" fill="rgba(255,255,255,0.8)"/>
|
|
|
|
<!-- 对角小点 -->
|
|
<circle cx="258" cy="258" r="18" fill="rgba(255,255,255,0.6)"/>
|
|
<circle cx="766" cy="258" r="18" fill="rgba(255,255,255,0.6)"/>
|
|
<circle cx="258" cy="766" r="18" fill="rgba(255,255,255,0.6)"/>
|
|
<circle cx="766" cy="766" r="18" fill="rgba(255,255,255,0.6)"/>
|
|
</svg>
|