细节完善
This commit is contained in:
@@ -62,7 +62,7 @@ const getRing = (arrow) => {
|
||||
};
|
||||
|
||||
const arrows = computed(() => {
|
||||
const data = new Array(props.total).fill({});
|
||||
const data = new Array(props.total).fill({ ring: 0 });
|
||||
(props.result.details || []).forEach((arrow, index) => {
|
||||
data[index] = arrow;
|
||||
});
|
||||
@@ -78,8 +78,8 @@ const validArrows = computed(() => arrows.value.filter((a) => !!a.ring).length);
|
||||
<image :src="tipSrc" mode="widthFix" />
|
||||
<image src="../static/finish-frame.png" mode="widthFix" />
|
||||
<text
|
||||
>完成<text class="gold-text">{{ validArrows.length }}</text
|
||||
>箭,获得<text class="gold-text">{{ validArrows.length }}</text
|
||||
>完成<text class="gold-text">{{ validArrows }}</text
|
||||
>箭,获得<text class="gold-text">{{ validArrows }}</text
|
||||
>点经验</text
|
||||
>
|
||||
</view>
|
||||
@@ -165,7 +165,7 @@ const validArrows = computed(() => arrows.value.filter((a) => !!a.ring).length);
|
||||
</ScreenHint>
|
||||
<BowData
|
||||
:total="arrows.length"
|
||||
:arrows="arrows"
|
||||
:arrows="result.details"
|
||||
:show="showBowData"
|
||||
:onClose="() => (showBowData = false)"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user