Skip to content

Commit

Permalink
✨ (/sp/contest/)企画情報表示部分の実装
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Nov 3, 2023
1 parent f60acd7 commit 768a9c6
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions pages/sp/contest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,26 +87,55 @@ useHead({
<td v-for="(e, index) in rankingData.FOOD" :key="index">
<ProjectCardCompact
:event-data="
events.find((s: EventSummary) => s.id == e) as EventSummary
events.find((s: EventSummary) => s.id === e) ??
new EventSummary()
"
/>
</td>
</tr>
<tr>
<td>展示・物販</td>
<td>表の中の1つ1つの項目</td>
<td v-for="(e, index) in rankingData.EXHIBITION" :key="index">
<ProjectCardCompact
:event-data="
events.find((s: EventSummary) => s.id === e) ??
new EventSummary()
"
/>
</td>
</tr>
<tr>
<td>パフォーマンス</td>
<td>横方向のセルの並び</td>
<td v-for="(e, index) in rankingData.PERFORMANCE" :key="index">
<ProjectCardCompact
:event-data="
events.find((s: EventSummary) => s.id === e) ??
new EventSummary()
"
/>
</td>
</tr>
<tr>
<td>オリジナルドリンク</td>
<td>表の中の1つ1つの項目</td>
<td v-for="(e, index) in rankingData.DRINK" :key="index">
<ProjectCardCompact
:event-data="
events.find((s: EventSummary) => s.id === e) ??
new EventSummary()
"
/>
</td>
</tr>
<tr>
<td>ビジュアル</td>
<td>表の中の1つ1つの項目</td>
<td v-for="(e, index) in rankingData.VISUAL" :key="index">
<ProjectCardCompact
:event-data="
events.find((s: EventSummary) => s.id === e) ??
new EventSummary()
"
/>
</td>
</tr>
</table>
</div>
Expand Down

0 comments on commit 768a9c6

Please sign in to comment.