|
1 | 1 | <script setup lang="ts"> |
2 | | -import { useI18n } from '#imports' |
| 2 | +import { useI18n, useWithBase } from '#imports' |
3 | 3 | import { endedApplyEarly, endedApplyHandson, endedApplyNormal, ticketUrl } from '~/utils/constants' |
4 | 4 |
|
5 | 5 | const { t } = useI18n() |
| 6 | +const withBase = useWithBase() |
6 | 7 |
|
7 | 8 | const ticketCards = { |
8 | 9 | ippan: { |
@@ -57,7 +58,7 @@ const ticketCards = { |
57 | 58 | <div class="ticket-cards-container"> |
58 | 59 | <VFTicketCard |
59 | 60 | :title="ticketCards.ippan.title" |
60 | | - :img-src="ticketCards.ippan.imgSrc" |
| 61 | + :img-src="withBase(ticketCards.ippan.imgSrc)" |
61 | 62 | :img-alt="ticketCards.ippan.imgAlt" |
62 | 63 | :is-close="endedApplyNormal" |
63 | 64 | > |
@@ -100,7 +101,9 @@ const ticketCards = { |
100 | 101 | </div> |
101 | 102 | <div v-else class="early-purchase"> |
102 | 103 | <span class="cost"> |
103 | | - <template v-if="!endedApplyNormal">{{ $t('ticket.card.ippanParty.regular') }}</template> |
| 104 | + <template v-if="!endedApplyNormal">{{ |
| 105 | + $t('ticket.card.ippanParty.regular') |
| 106 | + }}</template> |
104 | 107 | <s v-else>{{ $t('ticket.card.ippanParty.regular') }}</s> |
105 | 108 | </span> |
106 | 109 | <span class="cost-details"> |
@@ -143,7 +146,9 @@ const ticketCards = { |
143 | 146 | > |
144 | 147 | <div class="ticket-details individual-sponsor-details"> |
145 | 148 | <div class="cost"> |
146 | | - <template v-if="!endedApplyNormal">{{ $t('ticket.card.individualSponsor.cost') }}</template> |
| 149 | + <template v-if="!endedApplyNormal">{{ |
| 150 | + $t('ticket.card.individualSponsor.cost') |
| 151 | + }}</template> |
147 | 152 | <s v-else>{{ $t('ticket.card.individualSponsor.cost') }}</s> |
148 | 153 | </div> |
149 | 154 | <div class="cost-details"> |
|
0 commit comments