|
|
@@ -1,15 +1,15 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="battleground" v-if="battleground"> |
|
|
<div class="battleground" v-if="battleground"> |
|
|
<div>Welcome to {{ battleground.name }}</div> |
|
|
<div>Welcome to {{ battleground.name }}</div> |
|
|
<router-link to="alteracPass">Go to Alterac Pass</router-link> |
|
|
|
|
|
<router-link to="battlefieldOfEternity">Go to Battlefield Of Eternity</router-link> |
|
|
|
|
|
|
|
|
<Timer initialTime="90"></Timer> |
|
|
<router-link to="/battlegrounds">Back to selector</router-link> |
|
|
<router-link to="/battlegrounds">Back to selector</router-link> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import BATTLEGROUNDS from '../gameInfos/maps' |
|
|
import BATTLEGROUNDS from '../gameInfos/maps' |
|
|
|
|
|
|
|
|
|
|
|
import Timer from '@/components/Battleground/Timer' |
|
|
export default { |
|
|
export default { |
|
|
name: 'Battleground', |
|
|
name: 'Battleground', |
|
|
data () { |
|
|
data () { |
|
|
@@ -25,6 +25,9 @@ |
|
|
$route (to) { |
|
|
$route (to) { |
|
|
this.battlegroundId = to.params.battlegroundId |
|
|
this.battlegroundId = to.params.battlegroundId |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
components: { |
|
|
|
|
|
Timer |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|