篮球页面,调整为主场在右客场在左

main
jcgitadmin 2024-11-16 11:27:10 +08:00
parent f8f07f1500
commit 34c4f70887
3 changed files with 22 additions and 5 deletions

View File

@ -19,6 +19,7 @@
</div>
<div v-else class="row items-center">
<user-avatar size="md" class="q-mr-sm bg-white team-logo" square ratio="10/13" fit="contain" :src="props.item.match.away_team_logo_url"></user-avatar>
<!-- <span class="text-grey">[]</span> -->
{{ props.item.match.away_team_name }}
</div>
</div>
@ -43,6 +44,7 @@
</div>
<div v-else class="row items-center justify-end">
{{ props.item.match.home_team_name }}
<!-- <span class="text-grey">[]</span> -->
<user-avatar size="md" class="q-ml-sm bg-white team-logo" square ratio="10/13" fit="contain" :src="props.item.match.home_team_logo_url"></user-avatar>
</div>
</div>

View File

@ -20,9 +20,16 @@
{{ selling.issue_num_week }}{{ selling.play_num_view||selling.play_num }}
</td>
<td v-if="j == 0 && k == 0" :rowspan="sellingRowspan(selling)">
<template v-if="props.lottery.type == 'jclq'">
{{ selling.vs_a }}<span v-if="0"></span><br />
<span class="text-grey">{{ selling.vs_m }}</span><br />
{{ selling.vs_b }}
</template>
<template v-else>
{{ selling.vs_b }}<span v-if="0"></span><br />
<span class="text-grey">{{ selling.vs_m }}</span><br />
{{ selling.vs_a }}
</template>
</td>
<td v-if="k == 0" :style="
j !== 0 ? 'border-left:1px solid rgba(0, 0, 0, 0.12);' : ''

View File

@ -5,7 +5,12 @@
<slot name="actions"></slot>
</div>
<div class="col">
<div class="row q-py-xs">
<div v-if="props.lotteryType == 'jclq'" class="row q-py-xs">
<div class="col"><span class="text-grey">[]</span>{{ props.item.jc_away_team_name }}</div>
<span class="text-grey">VS</span>
<div class="col text-right">{{ props.item.jc_home_team_name }}<span class="text-grey">[]</span></div>
</div>
<div v-else class="row q-py-xs">
<div class="col">{{ props.item.jc_home_team_name }}</div>
<span class="text-grey">VS</span>
<div class="col text-right">{{ props.item.jc_away_team_name }}</div>
@ -28,6 +33,9 @@ import { PLAY_TYPES } from 'src/utils/const'
const props = defineProps({
item:{
type: Object,
},
lotteryType: {
type: String
}
});
const cartStore = useCartStore()