Timers and other features for Heroes of the Storm
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

44 lignes
973 B

  1. <template>
  2. <div class="map-selector">
  3. <h1 class="map-selector__title">Battleground Selector</h1>
  4. <ul class="map-selector__map-list">
  5. <template v-for="(battleground, battlegroundId) in maps">
  6. <router-link :to="`/battleground/${battlegroundId}`">
  7. <li class="map-selector__map-list-item"><a>{{ battleground.name }}</a></li>
  8. </router-link>
  9. </template>
  10. </ul>
  11. </div>
  12. </template>
  13. <script type="text/javascript">
  14. import MAPS from '../gameInfos/battlegrounds'
  15. export default {
  16. name: 'BattlegroundSelector',
  17. data () {
  18. return {
  19. maps: MAPS
  20. }
  21. }
  22. }
  23. </script>
  24. <style lang="sass">
  25. .map-selector
  26. &__map-list
  27. list-style-type: none
  28. padding-left: 0
  29. &-item
  30. font-size: 1.4rem
  31. padding: 10px 0 10px 10px
  32. border-top: solid #5659aa 1px
  33. border-left: none
  34. </style>
  35. <style lang="sass" scoped>
  36. a
  37. text-decoration: none
  38. color: inherit
  39. </style>