Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. <b-modal ref="myModalRef" hide-footer title="Оформить заказ">
  2. <div class="d-block">
  3. <table class="table">
  4. <tr v-for="(item, index) in cart">
  5. <td>{{ item.name }}</td>
  6. <td>{{ item.price }} <i class="fas fa-ruble-sign"></i></td>
  7. <td>
  8. <button class="btn-close" @click="removeFromCart(index)"> х </button>
  9. </td>
  10. </tr>
  11. </table>
  12. <div class="text-center">Выбрано на сумму: {{ total }} <i class="fas fa-ruble-sign"></i> </div>
  13. <form action="send.php" method="POST">
  14. <input type="text" placeholder="Введите номер телефона" class="form-control text-center mt-2" name="phone">
  15. <input type="text" placeholder="Введите адрес" class="form-control text-center mt-2" name="address">
  16. <b-btn type="submit" class="btn-ok btn-primary mt-2 " block variant="outline-danger">Заказать</b-btn>
  17. </form>
  18. </div>
  19. </b-modal>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement