add history ui, fix icon

This commit is contained in:
Amir
2022-05-25 10:45:42 +08:00
parent 5b8df70914
commit 29b7f6cbac
4 changed files with 65 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
Kembali <i class="bi bi-backspace-fill"></i>
</button>
<div class="wrapper wrapper-content animated fadeInRight">
<h1>Cart <i class="bi bi-cart-fill"></i></h1>
<h1>Cart <i class="bi bi-cart3"></i></h1>
<div class="row">
<div class="col-lg-9 col-sm-12" style="overflow-x: auto">
<div class="ibox">
+59
View File
@@ -0,0 +1,59 @@
<template>
<Navbar />
<div class="container" style="height: 70vh">
<button
class="btn btn-secondary float-start"
style="margin: 5px"
onclick="history.back()"
>
Kembali <i class="bi bi-backspace-fill"></i>
</button>
<h1>Rekod Bidaan <i class="bi bi-receipt"></i></h1>
<div class="card">
<div class="card-body">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<Footer />
</template>
<script>
import Navbar from "./Navbar.vue";
import Footer from "./Footer.vue";
export default {
components: {
Navbar,
Footer,
},
};
</script>
+4 -1
View File
@@ -24,6 +24,9 @@
<!-- <li class="nav-item">
<router-link class="nav-link" to="/cart">Cart</router-link>
</li> -->
<li class="nav-item">
<router-link class="nav-link" to="/history">Rekod Bidaan</router-link>
</li>
<li class="nav-item">
<router-link class="nav-link" to="/pay">Bayar</router-link>
</li>
@@ -34,7 +37,7 @@
</ul>
<router-link class="btn btn-primary me-5" to="/cart"
>Cart <i class="bi bi-cart-fill"></i
>Cart <i class="bi bi-cart3"></i
><span class="span_cart">{{
this.allCarts.length
}}</span></router-link
+1 -1
View File
@@ -23,7 +23,7 @@
Kembali <i class="bi bi-backspace-fill"></i>
</button>
<div class="wrapper wrapper-content animated fadeInRight">
<h1>Bayar <i class="bi bi-credit-card-2-back-fill"></i></h1>
<h1>Bayar <i class="bi bi-credit-card-2-front"></i></h1>
<div class="row">
<div class="col-lg-9 col-sm-12" style="overflow-x: auto">
<div class="ibox">