Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <b-modal ref="myModalRef" hide-footer title="Оформить заказ">
- <div class="d-block">
- <table class="table">
- <tr v-for="(item, index) in cart">
- <td>{{ item.name }}</td>
- <td>{{ item.price }} <i class="fas fa-ruble-sign"></i></td>
- <td>
- <button class="btn-close" @click="removeFromCart(index)"> х </button>
- </td>
- </tr>
- </table>
- <div class="text-center">Выбрано на сумму: {{ total }} <i class="fas fa-ruble-sign"></i> </div>
- <form action="send.php" method="POST">
- <input type="text" placeholder="Введите номер телефона" class="form-control text-center mt-2" name="phone">
- <input type="text" placeholder="Введите адрес" class="form-control text-center mt-2" name="address">
- <b-btn type="submit" class="btn-ok btn-primary mt-2 " block variant="outline-danger">Заказать</b-btn>
- </form>
- </div>
- </b-modal>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement