2021-08-15 16:52:15 +00:00
|
|
|
<template>
|
|
|
|
<div class="play">
|
2021-08-26 10:23:32 +00:00
|
|
|
<div class="play__layout">
|
|
|
|
<div class="play__layout-playground">
|
|
|
|
<Quote :text="quote" />
|
|
|
|
<Sources :sources="sources" />
|
2021-08-30 05:40:05 +00:00
|
|
|
<ConfirmButton />
|
2021-08-26 10:23:32 +00:00
|
|
|
</div>
|
|
|
|
<div class="play__layout-right-column">
|
|
|
|
<PlayerList :players="players" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-15 16:52:15 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
computed: {
|
|
|
|
gamePhase() {
|
|
|
|
return this.$store.state.game.phase
|
|
|
|
},
|
|
|
|
quote() {
|
|
|
|
return this.$store.state.round.quote
|
|
|
|
},
|
2021-08-15 20:04:24 +00:00
|
|
|
sources() {
|
|
|
|
return this.$store.state.round.sources
|
|
|
|
},
|
2021-08-26 10:23:32 +00:00
|
|
|
players() {
|
|
|
|
return this.$store.state.players.players
|
|
|
|
},
|
2021-08-15 16:52:15 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#__nuxt,
|
|
|
|
#__layout,
|
|
|
|
.layout-default,
|
|
|
|
.page-play {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.play {
|
|
|
|
position: relative;
|
2021-08-15 20:04:24 +00:00
|
|
|
width: 100%;
|
2021-08-15 16:52:15 +00:00
|
|
|
height: 100%;
|
2021-08-26 10:23:32 +00:00
|
|
|
|
|
|
|
&__layout {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&-playground {
|
|
|
|
position: relative;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-right-column {
|
|
|
|
width: 200px;
|
|
|
|
margin: 16px 16px 0 0;
|
|
|
|
}
|
|
|
|
}
|
2021-08-15 16:52:15 +00:00
|
|
|
}
|
|
|
|
</style>
|