UI优化
This commit is contained in:
@@ -77,13 +77,14 @@ const onSelect = (userId) => {
|
||||
<BowTarget
|
||||
:scores="scores"
|
||||
:showLatestArrow="false"
|
||||
:avatar="currentUser.avatar"
|
||||
:avatar="currentUser ? currentUser.avatar : ''"
|
||||
/>
|
||||
</view>
|
||||
<view class="score-text"
|
||||
><text :style="{ color: '#fed847' }">12</text>支箭,共<text
|
||||
:style="{ color: '#fed847' }"
|
||||
>100</text
|
||||
><text :style="{ color: '#fed847' }">{{ scores.length }}</text
|
||||
>支箭,共<text :style="{ color: '#fed847' }">{{
|
||||
scores.reduce((last, next) => last + next.ring, 0)
|
||||
}}</text
|
||||
>环</view
|
||||
>
|
||||
<view class="score-row">
|
||||
|
||||
Reference in New Issue
Block a user