feat: 更新图标和样式,添加底部弹层滑动效果

This commit is contained in:
2025-12-03 16:41:28 +08:00
parent 4d521a3fb6
commit 48c7b292d0
6 changed files with 112 additions and 23 deletions

View File

@@ -2,57 +2,66 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
android:viewportWidth="100"
android:viewportHeight="100">
<!-- 票据纸张:略带旋转感的卡片 -->
<!-- Receipt card (slightly rotated), synced with public/echo-icon.svg -->
<group
android:pivotX="54"
android:pivotY="54"
android:pivotX="50"
android:pivotY="50"
android:rotation="-6">
<!-- Paper shape -->
<path
android:fillColor="#FFFFFFFF"
android:pathData="M32,24h44c4,0 7,3 7,7v40l-7,-4l-8,5l-8,-5l-8,5l-8,-5l-8,5v-41c0,-4 3,-7 6,-7z" />
android:pathData="M32,22H68C73,22 76,25 76,30V78L68,73L60,78L52,73L44,78L36,73L28,78V30C28,25 31,22 36,22z" />
<!-- 标题条 -->
<!-- Title bar -->
<path
android:fillColor="#4DFF8A65"
android:pathData="M36,32h20a2,2 0 0 1 2,2v2a2,2 0 0 1 -2,2h-20a2,2 0 0 1 -2,-2v-2a2,2 0 0 1 2,-2z" />
<!-- 金额条 -->
<!-- Amount bar -->
<path
android:fillColor="#80FFCC70"
android:pathData="M36,42h34a2,2 0 0 1 2,2v2a2,2 0 0 1 -2,2h-34a2,2 0 0 1 -2,-2v-2a2,2 0 0 1 2,-2z" />
<!-- 中部圆形加号 -->
<!-- Center plus circle -->
<path
android:fillColor="#00000000"
android:strokeColor="#FF6B6B"
android:strokeWidth="3"
android:pathData="M54,60a9,9 0 1,0 0.01,0" />
android:pathData="M52,51a9,9 0 1,0 0,18a9,9 0 1,0 0,-18" />
<path
android:fillColor="#00000000"
android:strokeColor="#FF6B6B"
android:strokeWidth="3"
android:strokeLineCap="round"
android:pathData="M54,55v10M49,60h10" />
android:pathData="M52,56v8M48,60h8" />
</group>
<!-- 右上角轻微信号波纹 -->
<!-- Top-right signal waves (same shape as echo-icon.svg, slightly inward) -->
<path
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:strokeWidth="5"
android:strokeLineCap="round"
android:strokeAlpha="0.7"
android:pathData="M76,30 Q84,38 82,48" />
<path
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:strokeWidth="4"
android:strokeLineCap="round"
android:strokeAlpha="0.7"
android:pathData="M76,26a16,16 0 0,1 10,14" />
android:strokeAlpha="0.3"
android:pathData="M80,24 Q88,36 86,52" />
<!-- Left-side sparkle -->
<path
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:strokeWidth="3"
android:strokeLineCap="round"
android:strokeAlpha="0.3"
android:pathData="M80,20a24,24 0 0,1 14,20" />
android:strokeWidth="2"
android:strokeAlpha="0.8"
android:pathData="M25,35 L27,35 M26,34 L26,36" />
</vector>