-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (71 loc) · 3.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>loja</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/funcoes.js"></script>
<body>
<div class="container">
<h1> <i id="sacola" class="bi bi-bag-check"></i> LOJA DA UNIDADE</h1>
<table class="table table-hover">
<thead>
<th>Imagem</th>
<th>Produto</th>
<th>Preço Unid</th>
<th>Qtd</th>
<th>Total</th>
</thead>
<tbody>
<tr>
<td><img src="img/produto_1.webp" alt="produto 1" width="200"></td>
<td>
<div>Celular</div>
<div><span class="item">Código:</span> 1234</div>
<div>Cor: Preto</div>
</td>
<td id="valor_1"> R$800.00</td>
<td><span class="badge bg-danger " onclick="quantidade(1,'-')" ><i class="bi bi-dash"></i></span>
<span id="qtd_1">0</span>
<span class="badge bg-success" onclick="quantidade(1,'+')"><i class="bi bi-plus-lg"></i></span>
</td>
<td id="total_1">0</td>
<tr>
<tr>
<td><img src="img/produto_2.webp" alt="produto 2" width="200"></td>
<td>
<div>Notebook</div>
<div><span class="item">Código:</span> 5678</div>
<div>Cor: Preto</div>
</td>
<td id="valor_2">R$3000.00</td>
<td><span class="badge bg-danger" onclick="quantidade(2,'-')"><i class="bi bi-dash"></i></span>
<span id="qtd_2">0</span>
<span class="badge bg-success" onclick="quantidade(2,'+')"><i class="bi bi-plus-lg"></i></span>
<td id="total_2">0</td>
<tr>
<tr>
<td><img src="img/produto_3.webp" alt="produto 3" width="200"></td>
<td>
<div>TV</div>
<div><span class="item">Código:</span> 91011</div>
<div>Cor: Preto</div>
</td>
<td id="valor_3">R$600.00</td>
<td><span class="badge bg-danger" onclick="quantidade(3,'-')"><i class="bi bi-dash"></i></span>
<span id="qtd_3">0</span>
<span class="badge bg-success" onclick="quantidade(3,'+')"><i class="bi bi-plus-lg"></i></span>
<td id="total_3">0</td>
<tr>
</tbody>
</table><br>
<footer class="text-center">
<i class="bi bi-cart-check"></i><span > Subtotal: <span id="subtotal">R$ 0 </span></span>
</footer>
</div>
</body>
</head>
</html>