Browse Source

feat(android): 开屏动画——纯代码绘制(SplashAnimView),不用视频/图片资源

- 新增 SplashAnimView:logo 矢量轮廓(自 logo-mark.png 提取 4 笔 143 点)
  描边生长 → 品牌渐变(左下粉→右上青,采样 5 档)对角扫入 → 定格,2.1s
- 遮罩经 addContentView 代码挂载(BridgeActivity 不充气 activity_main.xml),
  仅真冷启动播放,4s 兜底防卡死,播完 280ms 淡出
- OS 启动页 windowSplashScreenAnimatedIcon 换专用大图(logo 占画布 67%)
- 经历视频方案(TextureView 避 SurfaceView 打洞)后按用户裁决改纯代码动画,
  过程与坑见 docs/00-tracking/2026-11-23 两篇开屏留痕

Co-Authored-By: Claude Code <noreply@anthropic.com>
Huccct 8 hours ago
parent
commit
b62dfd4123

+ 57 - 0
android/app/src/main/java/cn/fmode/app/MainActivity.java

@@ -1,7 +1,13 @@
 package cn.fmode.app;
 
 import android.content.Intent;
+import android.graphics.Color;
 import android.os.Bundle;
+import android.os.Handler;
+import android.os.Looper;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.FrameLayout;
 
 import com.getcapacitor.BridgeActivity;
 
@@ -23,6 +29,57 @@ public class MainActivity extends BridgeActivity {
         NativeSharePlugin.receiveIntent(this, getIntent());
 
         super.onCreate(savedInstanceState);
+        /*
+         * 开屏动画只在「真正冷启动」时播:进程被杀后从最近任务恢复
+         * (savedInstanceState != null)属于回到原页面,不该再看一遍动画。
+         */
+        if (savedInstanceState == null) {
+            setupSplashAnimation();
+        }
+    }
+
+    // ---------- 开屏动画(2026-11-23 二版:纯代码绘制) ----------
+
+    /*
+     * 遮罩式开屏:WebView 在底下正常加载,SplashAnimView 盖在上面把
+     * 2.1s 的代码绘制动画完整播完(描边生长 → 渐变扫入 → 定格),
+     * 播完淡出移除 —— 保证「动画走完才看到页面」。
+     *
+     * 🔴 已踩的坑(详见 docs/00-tracking/2026-11-23-修改留痕-开屏动画视频接入.md):
+     *  ① BridgeActivity 充气的是它自己的 capacitor_bridge_layout_main,
+     *     res/layout/activity_main.xml 根本不会进视图树 —— 遮罩必须
+     *     用 addContentView 代码挂上去,不能写在 XML 里等 findViewById。
+     *  ② 不能用 VideoView(SurfaceView 子类):它的 surface 在窗口下层,
+     *     会在遮罩上「打洞」透出底下的 WebView。
+     *  ③ 2026-11-23 用户裁决:不用视频也不用图片,改纯代码动画
+     *     (SplashAnimView 直接从 logo 矢量轮廓绘制)。
+     */
+    private FrameLayout splashOverlay;
+    private final Handler splashHandler = new Handler(Looper.getMainLooper());
+
+    private void setupSplashAnimation() {
+        splashOverlay = new FrameLayout(this);
+        splashOverlay.setBackgroundColor(Color.WHITE);
+        SplashAnimView anim = new SplashAnimView(this);
+        anim.setOnEndListener(this::dismissSplash);
+        splashOverlay.addView(anim, new FrameLayout.LayoutParams(
+                ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
+        addContentView(splashOverlay, new ViewGroup.LayoutParams(
+                ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
+
+        // 兜底:4 秒内无论如何撤掉遮罩(动画本体 2.1s + 淡出 0.3s),绝不卡启动
+        splashHandler.postDelayed(this::dismissSplash, 4000);
+    }
+
+    private void dismissSplash() {
+        if (splashOverlay == null) return;
+        splashHandler.removeCallbacksAndMessages(null);
+        final View overlay = splashOverlay;
+        splashOverlay = null;
+        overlay.animate().alpha(0f).setDuration(280).withEndAction(() -> {
+            ViewGroup parent = (ViewGroup) overlay.getParent();
+            if (parent != null) parent.removeView(overlay);
+        }).start();
     }
 
     @Override

+ 168 - 0
android/app/src/main/java/cn/fmode/app/SplashAnimView.java

@@ -0,0 +1,168 @@
+package cn.fmode.app;
+
+import android.animation.Animator;
+import android.animation.AnimatorListenerAdapter;
+import android.animation.ValueAnimator;
+import android.content.Context;
+import android.graphics.Canvas;
+import android.graphics.DashPathEffect;
+import android.graphics.LinearGradient;
+import android.graphics.Matrix;
+import android.graphics.Paint;
+import android.graphics.Path;
+import android.graphics.PathMeasure;
+import android.graphics.RectF;
+import android.graphics.Shader;
+import android.util.AttributeSet;
+import android.view.View;
+import android.view.animation.LinearInterpolator;
+
+/**
+ * 开屏动画视图(2026-11-23 定稿):**纯代码绘制,不用视频、不用图片资源**。
+ *
+ * 轮廓与配色取自 resources/logo-mark.png(一次性用 OpenCV 提取归一化,
+ * 提取方法见 docs/00-tracking/2026-11-23-修改留痕-开屏动画视频接入.md)。
+ *
+ * 时序(总长 2.1s):
+ *   0.00–0.80s  三笔轮廓「生长」出来(PathMeasure dash 描边,先快后稳)
+ *   0.63–1.50s  品牌渐变(左下粉 → 右上青)沿对角线扫入填充,描边淡出
+ *   1.50–2.10s  定格保持,随后回调 MainActivity 淡出遮罩
+ */
+public class SplashAnimView extends View {
+
+    /** 动画播完回调(遮罩由 MainActivity 负责淡出移除) */
+    public interface OnEndListener { void onEnd(); }
+
+    private static final long DURATION_MS = 2100;
+    // 阶段边界(0..1)
+    private static final float DRAW_END = 0.38f;      // 描边生长完成
+    private static final float FILL_START = 0.30f;    // 填充开始出现
+    private static final float FILL_FULL = 0.55f;     // 填充不再透明
+    private static final float SWEEP_END = 0.72f;     // 渐变扫到位 & 描边完全淡出
+
+    /*
+     * 轮廓点:从 logo-mark.png(512×512 带透明通道)提取的 4 个外轮廓,
+     * 已归一化到 0..1(x,y 交替)。形状依次为:
+     *   0 顶部大翼(含左侧下探的一笔)、1 左下翼、2 右下翼、3 底部小点
+     */
+    private static final float[] CONTOUR_0 = { 0.9766f, 0.0957f, 0.9668f, 0.0938f, 0.9473f, 0.1172f, 0.9062f, 0.1367f, 0.3281f, 0.1426f, 0.2637f, 0.1621f, 0.1895f, 0.2012f, 0.1289f, 0.2520f, 0.0703f, 0.3262f, 0.0254f, 0.4395f, 0.0195f, 0.5703f, 0.0586f, 0.6953f, 0.0684f, 0.6953f, 0.0742f, 0.6113f, 0.0996f, 0.5488f, 0.1660f, 0.4746f, 0.2246f, 0.4414f, 0.2656f, 0.4297f, 0.6641f, 0.4297f, 0.7578f, 0.4102f, 0.8125f, 0.3848f, 0.8652f, 0.3457f, 0.9316f, 0.2656f, 0.9707f, 0.1621f };
+    private static final float[] CONTOUR_1 = { 0.4316f, 0.4395f, 0.2949f, 0.4395f, 0.2852f, 0.4453f, 0.2598f, 0.4453f, 0.2500f, 0.4531f, 0.2363f, 0.4531f, 0.2168f, 0.4648f, 0.2070f, 0.4648f, 0.1699f, 0.4902f, 0.1348f, 0.5254f, 0.1094f, 0.5605f, 0.0977f, 0.5977f, 0.0898f, 0.6074f, 0.0898f, 0.6250f, 0.0840f, 0.6309f, 0.0840f, 0.7109f, 0.0898f, 0.7188f, 0.0898f, 0.7363f, 0.1152f, 0.7695f, 0.1758f, 0.8262f, 0.2207f, 0.8555f, 0.2520f, 0.8672f, 0.2598f, 0.8750f, 0.2695f, 0.8750f, 0.2734f, 0.8809f, 0.3105f, 0.8867f, 0.3164f, 0.8926f, 0.3398f, 0.8926f, 0.3516f, 0.9004f, 0.3652f, 0.8926f, 0.3789f, 0.8926f, 0.3848f, 0.8867f, 0.3984f, 0.8867f, 0.4062f, 0.8770f, 0.3633f, 0.8379f, 0.3379f, 0.8047f, 0.3125f, 0.7500f, 0.2988f, 0.6699f, 0.3125f, 0.5918f, 0.3184f, 0.5879f, 0.3184f, 0.5781f, 0.3438f, 0.5293f, 0.3906f, 0.4805f, 0.4141f, 0.4609f, 0.4316f, 0.4531f, 0.4355f, 0.4473f };
+    private static final float[] CONTOUR_2 = { 0.7891f, 0.4355f, 0.5273f, 0.4336f, 0.5215f, 0.4395f, 0.4961f, 0.4395f, 0.4883f, 0.4453f, 0.4766f, 0.4453f, 0.4688f, 0.4531f, 0.4453f, 0.4590f, 0.4297f, 0.4727f, 0.4062f, 0.4844f, 0.3672f, 0.5234f, 0.3555f, 0.5449f, 0.3477f, 0.5508f, 0.3359f, 0.5742f, 0.3359f, 0.5840f, 0.3281f, 0.5918f, 0.3281f, 0.6035f, 0.3223f, 0.6094f, 0.3223f, 0.6309f, 0.3164f, 0.6406f, 0.3164f, 0.7051f, 0.3223f, 0.7129f, 0.3223f, 0.7324f, 0.3281f, 0.7402f, 0.3301f, 0.7559f, 0.3418f, 0.7676f, 0.3438f, 0.7383f, 0.3516f, 0.7285f, 0.3516f, 0.7129f, 0.3711f, 0.6758f, 0.4121f, 0.6348f, 0.4336f, 0.6230f, 0.4707f, 0.6152f, 0.4785f, 0.6094f, 0.6582f, 0.6094f, 0.6660f, 0.6035f, 0.6836f, 0.6035f, 0.6875f, 0.5977f, 0.6992f, 0.5957f, 0.7012f, 0.5898f, 0.7109f, 0.5898f, 0.7578f, 0.5488f, 0.7695f, 0.5312f, 0.7695f, 0.5215f, 0.7773f, 0.5156f, 0.7773f, 0.5078f, 0.7832f, 0.5020f, 0.7832f, 0.4863f, 0.7891f, 0.4805f };
+    private static final float[] CONTOUR_3 = { 0.3965f, 0.9004f, 0.3965f, 0.9043f, 0.3984f, 0.9043f, 0.4004f, 0.9062f, 0.4590f, 0.9062f, 0.4609f, 0.9043f, 0.4609f, 0.9004f, 0.4570f, 0.8965f, 0.4551f, 0.8965f, 0.4531f, 0.8945f, 0.4531f, 0.8926f, 0.4512f, 0.8906f, 0.4434f, 0.8906f, 0.4414f, 0.8887f, 0.4414f, 0.8867f, 0.4395f, 0.8848f, 0.4277f, 0.8848f, 0.4258f, 0.8867f, 0.4258f, 0.8887f, 0.4238f, 0.8906f, 0.4160f, 0.8906f, 0.4102f, 0.8965f, 0.4023f, 0.8965f, 0.3984f, 0.9004f };
+    private static final float[][] CONTOURS = { CONTOUR_0, CONTOUR_1, CONTOUR_2, CONTOUR_3 };
+
+    /** 品牌渐变(沿标志主轴采样):左下粉 → 右上青 */
+    private static final int[] GRADIENT_COLORS = { 0xFFDC55A9, 0xFF916BB8, 0xFF5583C7, 0xFF34AEE2, 0xFF55DFFC };
+    private static final float[] GRADIENT_POS = { 0f, 0.25f, 0.5f, 0.75f, 1f };
+    private static final int STROKE_COLOR = 0xFF34AEE2;
+
+    private final Path[] paths = new Path[CONTOURS.length];
+    private final float[] lengths = new float[CONTOURS.length];
+    private final Paint strokePaint = new Paint(Paint.ANTI_ALIAS_FLAG);
+    private final Paint fillPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
+    private final RectF bounds = new RectF();
+    private final Matrix gradMatrix = new Matrix();
+    private LinearGradient gradient;
+    private float progress;
+    private ValueAnimator animator;
+    private OnEndListener endListener;
+
+    public SplashAnimView(Context context) { this(context, null); }
+
+    public SplashAnimView(Context context, AttributeSet attrs) {
+        super(context, attrs);
+        strokePaint.setStyle(Paint.Style.STROKE);
+        strokePaint.setStrokeCap(Paint.Cap.ROUND);
+        strokePaint.setStrokeJoin(Paint.Join.ROUND);
+        strokePaint.setColor(STROKE_COLOR);
+        fillPaint.setStyle(Paint.Style.FILL);
+    }
+
+    public void setOnEndListener(OnEndListener listener) { this.endListener = listener; }
+
+    @Override
+    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
+        // 标志占短边 56%,中心略偏上(与 splash 设计一致:纵向 44% 处)
+        float s = Math.min(w, h) * 0.56f;
+        float dx = (w - s) / 2f;
+        float dy = h * 0.44f - s / 2f;
+        bounds.set(dx, dy, dx + s, dy + s);
+        for (int i = 0; i < CONTOURS.length; i++) {
+            float[] pts = CONTOURS[i];
+            Path p = new Path();
+            p.moveTo(dx + pts[0] * s, dy + pts[1] * s);
+            for (int j = 2; j + 1 < pts.length; j += 2) {
+                p.lineTo(dx + pts[j] * s, dy + pts[j + 1] * s);
+            }
+            p.close();
+            paths[i] = p;
+            lengths[i] = new PathMeasure(p, false).getLength();
+        }
+        strokePaint.setStrokeWidth(s * 0.012f);
+        gradient = new LinearGradient(bounds.left, bounds.bottom, bounds.right, bounds.top,
+                GRADIENT_COLORS, GRADIENT_POS, Shader.TileMode.CLAMP);
+        fillPaint.setShader(gradient);
+    }
+
+    @Override
+    protected void onAttachedToWindow() {
+        super.onAttachedToWindow();
+        animator = ValueAnimator.ofFloat(0f, 1f);
+        animator.setDuration(DURATION_MS);
+        animator.setInterpolator(new LinearInterpolator());
+        animator.addUpdateListener(a -> {
+            progress = (float) a.getAnimatedValue();
+            invalidate();
+        });
+        animator.addListener(new AnimatorListenerAdapter() {
+            @Override
+            public void onAnimationEnd(Animator animation) {
+                if (endListener != null) post(() -> endListener.onEnd());
+            }
+        });
+        animator.start();
+    }
+
+    @Override
+    protected void onDetachedFromWindow() {
+        if (animator != null) animator.cancel();
+        super.onDetachedFromWindow();
+    }
+
+    @Override
+    protected void onDraw(Canvas canvas) {
+        float t = progress;
+        // ① 描边生长(ease-out:起笔快、收笔稳)
+        float drawT = easeOut(clamp(t / DRAW_END));
+        // ② 填充:透明度过渡 + 渐变沿对角线扫入
+        float fillT = clamp((t - FILL_START) / (FILL_FULL - FILL_START));
+        float sweepT = clamp((t - FILL_START) / (SWEEP_END - FILL_START));
+        // ③ 描边在填充成型后淡出
+        float strokeAlpha = 1f - clamp((t - FILL_FULL) / (SWEEP_END - FILL_FULL));
+
+        if (fillT > 0f && gradient != null) {
+            gradMatrix.setTranslate(
+                    -bounds.width() * (1f - sweepT) * 0.6f,
+                    bounds.height() * (1f - sweepT) * 0.6f);
+            gradient.setLocalMatrix(gradMatrix);
+            fillPaint.setAlpha((int) (255 * fillT));
+            for (Path p : paths) {
+                if (p != null) canvas.drawPath(p, fillPaint);
+            }
+        }
+        if (strokeAlpha > 0f) {
+            strokePaint.setAlpha((int) (255 * strokeAlpha));
+            for (int i = 0; i < paths.length; i++) {
+                if (paths[i] == null) continue;
+                float len = lengths[i];
+                strokePaint.setPathEffect(new DashPathEffect(new float[]{ len, len }, len * (1f - drawT)));
+                canvas.drawPath(paths[i], strokePaint);
+            }
+            strokePaint.setPathEffect(null);
+        }
+    }
+
+    private static float clamp(float v) { return v < 0f ? 0f : Math.min(v, 1f); }
+
+    private static float easeOut(float x) { return 1f - (1f - x) * (1f - x); }
+}

BIN
docs/02-design/brand/开屏动画参考帧/frame-0-首帧.png


BIN
docs/02-design/brand/开屏动画参考帧/frame-1-渐变流动.png


BIN
docs/02-design/brand/开屏动画参考帧/frame-2-高光扫过.png


BIN
docs/02-design/brand/开屏动画参考帧/frame-3-末帧.png


+ 168 - 0
docs/02-design/brand/开机动画-AI生成提示词.md

@@ -0,0 +1,168 @@
+# 飞马SI / Fmode 开屏动画 — AI 生成提示词(v2 · 2026-11-23 完整版)
+
+> 用途:用 AI 视频工具(即梦 / 可灵 / Runway / Pika / Veo)生成 App 启动动画。
+> 品牌依据:`未来飞马 Fmode logo设计2.pdf`(F 字母 + 独角兽翅膀头,蓝→紫→品红渐变)。
+> 已有素材:`resources/logo-mark.png`(纯图形透明底)、`resources/splash.png`(2732 静止启动页)。
+>
+> **v2 与 v1 的差异**:新增中文版提示词(即梦/可灵直接可用);
+> 新增**首尾帧图生视频**路径(最稳,末帧与真实启动页零偏差);
+> 时间轴收紧到 2.4s,去掉容易被模型演砸的粒子阶段。
+
+---
+
+## 一、先看这条限制
+
+**Android 12+ 的原生 SplashScreen API 只支持静态图 + 图标缩放动画,不支持视频。**
+
+视频真正落地有两条路径:
+
+| 路径 | 做法 | 代价 |
+|---|---|---|
+| **A. Lottie(推荐)** | 按本文第六节参数出 Lottie JSON,`lottie-android` 播放 | 需要矢量重做,AI 视频转不了 Lottie |
+| **B. 视频播一段** | `MainActivity` 上叠全屏 `VideoView` 播 webm,播完移除 | 首帧白闪风险;APK 体积 +1–3MB |
+
+**建议分工**:AI 视频用于**品牌宣传 / 应用商店素材**;
+App 内启动动画用 **Lottie** 按同样节奏重做。
+
+---
+
+## 二、品牌参数(所有提示词共用)
+
+| 项 | 值 |
+|---|---|
+| 品牌蓝 | `#20B0E0` |
+| 品牌紫 | `#8050B8` |
+| 品牌品红 | `#C83090` |
+| 背景 | `#FFFFFF`(纯白,与启动页一致) |
+| 图形 | F 字母造型 + 独角兽翅膀头,**两笔弧形缎带拼接**,中间留白色负空间 |
+| 禁用 | 任何真实动物、任何文字、任何额外图标、镜头运动 |
+
+---
+
+## 三、路径 A(最稳):首尾帧图生视频
+
+即梦 / 可灵 / Runway Gen-3 都支持「首帧 + 尾帧」模式。
+**末帧直接上传 `resources/splash.png`** —— 动画结束帧与真实启动页像素级一致,切换无感。
+
+| 参数 | 值 |
+|---|---|
+| 首帧 | 纯白图(或 logo 缩小到 60% 居中的图) |
+| 尾帧 | `resources/splash.png` |
+| 时长 | 2.4 秒 |
+| 比例 | 9:16 |
+
+**配套运动提示词(中文)**:
+
+```
+纯白背景上,一个由两条弧形缎带构成的抽象 F 字母标志,从画面中心轻柔地放大显现。
+缎带带有明亮的蓝紫品红三色渐变(青蓝 #20B0E0 过渡到紫罗兰 #8050B8 再到品红 #C83090)。
+图形先以淡淡的轮廓浮现,随后渐变色彩沿着缎带从左侧流向右侧,逐渐充盈整个图形。
+一道柔和的高光从左向右扫过缎带表面一次,然后完全静止。
+镜头固定不动,无推拉摇移,无旋转。画面极简、干净、高端,类似苹果发布会的品牌动画。
+```
+
+**英文版(Runway / Pika / Veo 用)**:
+
+```
+On a pure white background, an abstract logo formed by two interlocking ribbon curves
+(an "F" letterform whose upper stroke sweeps into a wing tip) gently scales up and fades in
+at the center of the frame. The ribbons carry a bright diagonal gradient flowing from
+cyan #20B0E0 through violet #8050B8 to magenta #C83090. The gradient light travels along
+the ribbons from left to right, filling the shape with saturated color. A single soft
+specular highlight sweeps across the surface once, then all motion stops completely.
+Static camera, no zoom, no rotation, no parallax. Minimalist, premium brand animation,
+Apple-keynote restraint, crisp vector edges.
+```
+
+---
+
+## 四、路径 B:纯文生视频(无参考图时使用)
+
+### 4.1 中文版(即梦 / 可灵)
+
+```
+极简品牌标志揭示动画,纯白背景,竖屏 9:16,时长 2.4 秒。
+
+主体是一个抽象的字母 F 造型标志:上半部分是一笔上扬的弧形缎带,
+末端收尖如同翅膀;内部负空间里还有一条较短的呼应弧线。
+两笔缎带共同组成 F 字母与独角兽翅膀头的意象。
+
+0.0–0.5 秒:图形以极淡的轮廓从纯白中浮现,轻微放大。
+0.5–1.6 秒:青蓝 #20B0E0、紫罗兰 #8050B8、品红 #C83090 的三色渐变光
+沿缎带从左向右流动,轮廓逐渐变成饱满的渐变实心。
+1.6–2.0 秒:一道柔和高光从左到右扫过表面一次,像光掠过抛光金属箔。
+2.0–2.4 秒:完全静止,图形定格在画面正中,边缘锐利。
+
+镜头完全固定:无推拉、无旋转、无视差。只有图形本身在动。
+风格:高端消费级 App 品牌动画,干净、自信、克制。
+画质:4K,矢量般锐利边缘,无胶片颗粒,无散景。
+```
+
+### 4.2 英文版(Runway / Pika / Veo / Sora)
+
+```
+A minimalist brand logo reveal on a pure white background, 9:16 vertical, 2.4 seconds.
+
+The subject is an abstract "F" letterform built from two interlocking ribbon curves:
+the upper ribbon sweeps upward and tapers into a single wing tip, and a shorter inner
+ribbon echoes the same curve inside the negative space.
+
+0.0s–0.5s: the shape fades in from white as a faint outline, gently scaling up.
+0.5s–1.6s: a luminous gradient — cyan #20B0E0 to violet #8050B8 to magenta #C83090 —
+flows along the ribbons from left to right, filling the outline into saturated flat color.
+1.6s–2.0s: one soft specular highlight sweeps across the surface, like light over polished foil.
+2.0s–2.4s: all motion stops. Final frame: the logo perfectly centered, crisp, on pure white.
+
+Camera: completely static — no zoom, no rotation, no parallax. Only the logo moves.
+Style: premium consumer app branding, clean, confident, Apple-keynote restraint.
+Render: 4K, sharp vector-like edges, no film grain, no bokeh.
+```
+
+### 4.3 负面提示词
+
+```
+文字, 字母, 水印, 多个标志, 真实马, 真实独角兽, 动物, 毛发, 眼睛, 卡通吉祥物,
+镜头运动, 推拉升降, 旋转, 抖动, 胶片颗粒, 噪点, 暗角, 镜头光晕, 背景杂物,
+3D 塑料质感, 浮雕, 阴影过重, 比例变形
+
+text, letters, watermark, multiple logos, real horse, real unicorn, animal, fur, eyes,
+cartoon mascot, camera movement, zoom, rotation, shake, film grain, noise, vignette,
+lens flare, busy background, 3D plastic, emboss, heavy shadows, distorted proportions
+```
+
+---
+
+## 五、生成参数与验收
+
+| 参数 | 值 |
+|---|---|
+| 比例 | 9:16 竖屏 |
+| 时长 | **2.4 秒**(App 启动可接受的极限) |
+| 帧率 | 30 fps |
+| 分辨率 | 1080×1920 起 |
+| 首帧 | 纯白 / 极淡轮廓 —— 与系统启动页衔接不闪跳 |
+| 末帧 | 与 `resources/splash.png` 一致 —— 播完直接切首页 |
+
+**验收清单**:
+
+- [ ] 末帧与 `resources/splash.png` 并排对比:位置、比例、颜色一致
+- [ ] 首帧接近纯白,与系统静态启动页无跳变
+- [ ] 无文字、无水印、无多余元素
+- [ ] 慢放检查:无镜头推拉/旋转/抖动
+- [ ] 背景全程纯白,无渐变污染
+
+---
+
+## 六、App 内落地:Lottie 参数(交给设计师)
+
+| 层 | 内容 | 时长 | 缓动 |
+|---|---|---|---|
+| 1. 背景 | 纯白 `#FFFFFF` | 恒定 | — |
+| 2. 路径描边 | 两条弧形,`stroke-dasharray` 0 → 全长 | 0.9s,延迟 0.15s | `ease-in-out` |
+| 3. 渐变填充 | `fill-opacity` 0 → 1(蓝紫品红对角渐变) | 0.5s | `ease-out` |
+| 4. 高光扫过 | 白色 30% 高光带横扫一次 | 0.4s,延迟 1.3s | `linear` |
+| 5. 定格 | 静止 0.3s 后切首页 | 0.3s | — |
+| **总计** | | **2.0s** | |
+
+> 给设计师的话术:「两个矢量形状,先从左到右一笔一笔画出来,画完变成
+> 蓝紫品红渐变实心,然后一道高光扫过去,定格。全程 2 秒。」