1v1排位数据交互完善
This commit is contained in:
@@ -30,6 +30,10 @@ const props = defineProps({
|
||||
type: Array,
|
||||
default: () => [],
|
||||
},
|
||||
showE: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
|
||||
const showRoundTips = ref(false);
|
||||
@@ -71,10 +75,14 @@ function calcRealY(num) {
|
||||
<BowPower v-if="power > 0" :power="power" />
|
||||
</view>
|
||||
<view class="target">
|
||||
<view v-if="scores.length && showRoundTips" class="e-value fade-in"
|
||||
<view
|
||||
v-if="scores.length && showRoundTips && showE"
|
||||
class="e-value fade-in"
|
||||
>经验 +1</view
|
||||
>
|
||||
<view v-if="scores.length && showRoundTips" class="round-tip fade-in"
|
||||
<view
|
||||
v-if="scores.length && showRoundTips && scores[scores.length - 1].ring"
|
||||
class="round-tip fade-in"
|
||||
>{{ scores[scores.length - 1].ring }}<text>环</text></view
|
||||
>
|
||||
<image
|
||||
@@ -152,7 +160,6 @@ function calcRealY(num) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.header > image:first-child {
|
||||
width: 40px;
|
||||
|
||||
Reference in New Issue
Block a user