SHARE
TWEET

Untitled

a guest Mar 18th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top