This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product-info.html
232 lines (206 loc) · 11.2 KB
/
product-info.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<!-- saved from url=(0049)https://getbootstrap.com/docs/4.3/examples/album/ -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<title>eMercado - Todo lo que busques está aquí</title>
<link rel="canonical" href="https://getbootstrap.com/docs/4.3/examples/album/">
<link href="https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
</head>
<body onscroll="scrollNav()">
<nav id="nav-1" class="navbar navbar-expand-lg shadow-lg bg-light">
<a class="navbar-brand text-danger" href="#"><span><img src="/img/logo.png" style=" max-width: 40px" alt=""></span> E-MERCADO</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="text-dark "> <i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="py-2 d-md-inline-block mx-2" href="home.html">Inicio</a>
</li>
<li class="nav-item ">
<a class="py-2 d-md-inline-block mx-2" href="categories.html">Categorías</a>
</li>
<li class="nav-item active">
<a class="py-2 d-md-inline-block mx-2" href="products.html">Productos</a>
</li>
<li class="nav-item">
<a class="py-2 d-md-inline-block mx-2" href="sell.html">Vender</a>
</li>
</ul>
<div class="nav-item dropdown mr-5">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenu2">
<button onclick="accountLogin()" class="dropdown-item" type="button"><img src="./img/gg.png" class=" mx-2" alt="google">Iniciar Sesion</button>
<button class="dropdown-item" type="button"><a class="text-reset text-decoration-none" href="cart.html"><span class="text-info mx-2"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-bag-plus-fill" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M5.5 3.5a2.5 2.5 0 0 1 5 0V4h-5v-.5zm6 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0zM8.5 8a.5.5 0 0 0-1 0v1.5H6a.5.5 0 0 0 0 1h1.5V12a.5.5 0 0 0 1 0v-1.5H10a.5.5 0 0 0 0-1H8.5V8z"/>
</svg></span>Mi carrito</a></button>
<button class="dropdown-item" type="button"><a class="text-reset text-decoration-none" href="my-profile.html"><span class="text-info mx-2"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-person-square" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
<path fill-rule="evenodd" d="M2 15v-1c0-1 1-4 6-4s6 3 6 4v1H2zm6-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
</svg></span>Mi perfil</a></button>
<button class="dropdown-item" type="button" onclick="cerrar()"><span class="text-info mx-2"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-box-arrow-in-left" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M10 3.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 1 1 0v2A1.5 1.5 0 0 1 9.5 14h-8A1.5 1.5 0 0 1 0 12.5v-9A1.5 1.5 0 0 1 1.5 2h8A1.5 1.5 0 0 1 11 3.5v2a.5.5 0 0 1-1 0v-2z"/>
<path fill-rule="evenodd" d="M4.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H14.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z"/>
</svg></span>Cerrar Sesion</button>
</div>
</div>
</div>
</nav>
<main>
<section>
<div class="container text-center">
<h3 class="display-2 my-5 fon" id="titulo-producto"> <!--ELEMENTO DOM--></h2>
<div class="row">
<div class="col-12 w-100 " id="img-galery">
<!-- ELEMENTOS DINAMICOS GENERADOS EN JS -->
</div>
</div>
<div class="row text-center mt-4 align-items-center">
<div class="col-12 border-left text-left mt-2 ">
<p class="text-left " id="descripcion-producto"> <!--ELEMENTO DOM--> </p>
</div>
<div class="col-4 mt-4 border-right">
<p id="categoria-producto"> <!--ELEMENTO DOM--></p>
</div>
<div class="col-4 mt-4 price-item ">
<p class="display-4 font-weight-bolder" id="precio-producto"> <span></span></p>
</div>
<div class="col-4 mt-4 border-left">
<p id="vendidos"> <!--ELEMENTO DOM--></p>
</div>
</div>
</div>
<!-- Guia de navegacion -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item" aria-current="page"><a href="home.html">Home</a></li>
<li class="breadcrumb-item" aria-current="page"><a href="products.html">Productos</a></li>
<li class="breadcrumb-item active" aria-current="page">Chevrolet Onix Joy</li>
</ol>
</nav>
<!--Fin Guia de navegacion -->
<div class="container text-center">
<div class="col-12 my-3 shadow-lg py-2">
<div class="border-bottom">
<h4 class="my-3">Productos Relacionados</h4>
<button class="btn" id="btn-arrow" type="button" data-toggle="collapse" data-target="#related-products" aria-expanded="false" aria-controls="related-products"><i class="fas fa-angle-down flecha-abajo" id="flechita-abajo" ></i></button>
</div>
<div id="related-products" class="collapse row mt-2">
<!-- Contenido del modal, generado en js -->
</div>
</div>
</div>
</section>
<section>
<div class="container border-top mt-5">
<h3 class="mt-2 mb-5">Comentarios</h3>
<div id="comentario" class="col-12">
<!-- Donde se renderizan los comentarios predeterminados -->
</div>
<div id="comentario-nuevo" class="col-12">
<!-- Donde se renderizan los nuevos comentarios -->
</div>
</div>
<div class="container p-3 mt-2 w-50 text-center">
<button type="button" id="show-contact-modal" class="btn btn-outline-primary btn-sm" data-toggle="modal" data-target="#contacto" style="width: 50%;" data-toggle="tooltip" data-placement="right" title="Deja un comentario">Compartir mi experiencia</button>
</div>
</section>
</main>
<div class="bg-secondary mx-auto rounded-top text-center px-2 py-1" style="width: 10rem;" type="button" data-target="#informacion" data-toggle="collapse">
<p class="text-white my-0">Mas información</p>
</div>
<div class="bg-light border collapse mb-0 p-5 col-12 " id="informacion" >
<div class="row justify-content-around">
<div class="col-3">
<p class="mb-3 font-weight-bold">Acerca de</p>
<p class="text-secondary mb-0"><a href="">E-Mercado</a></p>
<p class="text-secondary mb-0"><a href="">Developers</a></p>
<p class="text-secondary mb-0"><a href="">Condiciones</a></p>
</div>
<div class="col-3">
<p class="mb-3 font-weight-bold">Redes</p>
<p class="text-secondary mb-0"><i class="fab fa-facebook-square mr-1"></i><a href="">Facebook</a></p>
<p class="text-secondary mb-0"><i class="fab fa-instagram-square mr-1"></i><a href="">Instagram</a></p>
<p class="text-secondary mb-0"><i class="fab fa-linkedin mr-1"></i><a href="">LinkedIn</a></p>
</div>
<div class="col-3">
<p class="mb-3 font-weight-bold">Ayuda</p>
<p class="text-secondary mb-0"><a href="">Como comprar</a></p>
<p class="text-secondary mb-0"><a href="">Como vender</a></p>
<p class="text-secondary mb-0"><a href="">Politica de devoluciones</a></p>
</div>
</div>
</div>
<footer class="text-muted bg-light">
<div class="container">
<p class="float-right">
<a href="#">Volver arriba</a>
</p>
<p>Este sitio forma parte de Desarrollo Web - JAP - 2020</p>
<p>Clickea <a target="_blank" href="Letra.pdf">aquí</a> para descargar la letra del obligatorio.</p>
</div>
</footer>
<!-- MODAL -->
<div class="modal fade" id="contacto" tabindex="-1" role="dialog" aria-labelledby="#show-contact-modal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modale-title" id="exampleTitle">¡Gracias por tu aporte!</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body bg-light">
<form>
<div class="form-group">
<textarea class="form-control" id="inputComent" rows="3" placeholder="Deja tu mensaje"></textarea>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01">Valoración</label>
</div>
<select class="custom-select" id="inputPuntaje">
<option selected value="5">Excelente</option>
<option value="4">Muy bueno</option>
<option value="3">Regular</option>
<option value="2">Malo</option>
<option value="1">Muy malo</option>
</select>
</div>
<div class="form-group row">
<div class="col-sm-10">
<button type="button" data-dismiss="modal" id="enviarComentario" class="btn btn-primary">Enviar</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Spinner -->
<div id="spinner-wrapper">
<div class="lds-ring">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/6.2.4/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.2.4/firebase-auth.js"></script>
<!-- firebaseUI -->
<script src="https://cdn.firebase.com/libs/firebaseui/4.0.0/firebaseui.js"></script>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/init.js"></script>
<script src="js/product-info.js"></script>
</body>
</html>