diff --git a/src/pages/index/index.ux b/src/pages/index/index.ux index 24e5f77..8020d8b 100644 --- a/src/pages/index/index.ux +++ b/src/pages/index/index.ux @@ -23,7 +23,9 @@ {{bubbleText}} - +
+ +
{{peakLabel}} 余额 {{balance}} 今日 {{todayTokens}} tokens · 预估 ¥{{todayCost}} @@ -269,32 +271,24 @@ export default { } /* 吉祥物:比之前大一点 + 敲击 Q 弹 */ -.mascot { +.mascot-wrap { width: 360px; height: 318px; - transform-origin: center bottom; - transition: transform 0.14s cubic-bezier(0.33, 1.12, 0.68, 1); + flex-direction: column; + justify-content: flex-end; + align-items: center; } -.step0 { - transform: scaleY(1); +.mascot { + width: 360px; + transition: height 0.14s cubic-bezier(0.33, 1.12, 0.68, 1); } -.step1 { - transform: scaleY(0.92); -} - -.step2 { - transform: scaleY(0.82); -} - -.step3 { - transform: scaleY(0.95); -} - -.step4 { - transform: scaleY(1.05); -} +.mh0 { height: 318px; } +.mh1 { height: 292px; } +.mh2 { height: 262px; } +.mh3 { height: 302px; } +.mh4 { height: 322px; } .peak { font-size: 22px;