small css changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import goStore, { buy, endTurn, useEffect } from '@/netcode';
|
||||
import goStore, { buy, useEffect } from '@/netcode';
|
||||
import { CardEffects } from '@/netcode/Effect'
|
||||
import { CardType } from '@/netcode/Card'
|
||||
|
||||
@@ -9,7 +9,6 @@ const isTurn = computed(() => goStore.self && goStore.game?.started && (goStore.
|
||||
|
||||
<template>
|
||||
<div @contextmenu.prevent="false">
|
||||
<button v-if="isTurn" @click="endTurn">END TURN</button>
|
||||
<div v-if="!goStore.self"><b>SPECTATOR MODE</b></div>
|
||||
<div>
|
||||
market_amount = {{ goStore.game?.market_stack?.length }}
|
||||
@@ -31,8 +30,7 @@ const isTurn = computed(() => goStore.self && goStore.game?.started && (goStore.
|
||||
</button>
|
||||
</template>
|
||||
</CardSlot>
|
||||
<div class="separator"></div>
|
||||
<CardPreview :data="c" v-for=" c in goStore.game?.market " @click="c && buy(c)">
|
||||
<CardPreview :data="c" v-for="c in goStore.game?.market" @click="c && buy(c)">
|
||||
<template v-if="isTurn && c">
|
||||
<button @click="buy(c)"
|
||||
:disabled="goStore.self === undefined || c.cost === undefined || (goStore.self?.turn.gold_reserve ?? 0) < c.cost">BUY</button>
|
||||
|
||||
Reference in New Issue
Block a user