样式优化

This commit is contained in:
kron
2025-05-30 17:34:59 +08:00
parent b7d64396ef
commit 0ee2eb7f51
2 changed files with 20 additions and 3 deletions

View File

@@ -44,9 +44,11 @@ setTimeout(() => {
<image src="../static/finish-tip.png" mode="widthFix" />
<image src="../static/finish-frame.png" mode="widthFix" />
<text
>完成{{ total }}获得{{
>完成<text class="gold-text">{{ total }}</text
>获得<text class="gold-text">{{
scores.reduce((last, next) => last + next, 0)
}}点经验</text
}}</text
>点经验</text
>
</view>
<view
@@ -163,4 +165,9 @@ setTimeout(() => {
display: flex;
justify-content: space-around;
}
.gold-text {
color: #fed847;
font-size: 20px;
margin: 0 2px;
}
</style>