Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <div v-for="({numeroSala, horarioSala, horarioReservado}, i) in agendas" class="card white br6">
  2. <div class="card-content black-text">
  3. <span class="card-title center">
  4. {{(numeroSala.length && numeroSala[0]) || ('Sala 0' + (i + 1))}}
  5. </span>
  6.  
  7. <p class="center-align">
  8. <button data-target="modal1"
  9. v-for="(horario, indice) in todosHorarios"
  10. :disabled="horarioSala.includes(horario)"
  11. class="btn blue-ya white-text modal-trigger
  12. btnHorario waves-teal waves-effect waves-light "
  13. :class="{btnOrange: horarioSala.includes(horarioReservado)}"
  14. @click="retornaHora(horario); retornaSala('Sala 0' + (i + 1))">{{horario + ':00'}}</button>
  15. </p>
  16. </div>
  17. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement