Timers and other features for Heroes of the Storm
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

41 linhas
943 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" scoped>
  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. a
  35. text-decoration: none
  36. color: inherit
  37. </style>