precios-demo / demo.html
GianJSX's picture
Upload 32 files
9f36753 verified
raw
history blame
3.59 kB
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Monitoreo de Precios</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 20px;
}
.container {
background-color: white;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 600px;
margin: auto;
}
.product-image {
display: flex;
align-items: center;
justify-content: space-between;
}
.product-image img {
width: 150px;
}
.price-current {
font-size: 1.5rem;
font-weight: bold;
margin-top: 10px;
}
.table-container {
margin-top: 20px;
}
table {
width: 100%;
border-collapse: collapse;
}
table th, table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
table th {
background-color: #f9f9f9;
}
.price-up {
color: red;
font-weight: bold;
}
.price-down {
color: green;
font-weight: bold;
}
.available {
color: green;
}
.not-available {
color: rgb(255, 0, 0);
}
.store-logo {
width: 24px;
vertical-align: middle;
margin-right: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="product-image">
<div>
<h2>Monitoreo de Precios de Azucar ledesma 1 kg</h2>
<p class="price-current">Precio actual: $970,00</p>
</div>
<img src="images/azucar-logo.png" alt="Scooter">
</div>
<div class="table-container">
<h3>Comparativa de precios</h3>
<table>
<thead>
<tr>
<th>Tienda</th>
<th>Precio</th>
<th>Cambio (%)</th>
<th>Stock</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="images/carrefour-Logo.png" alt="Carrefour" class="store-logo"> Carrefour</td>
<td>$1100</td>
<td class="price-up">+13.4%</td>
<td class="available">Disponible</td>
</tr>
<tr>
<td><img src="images/disco.png" alt="Disco" class="store-logo">Disco</td>
<td>$950</td>
<td class="price-down">-2.7%</td>
<td class="not-available">No disponible</td>
</tr>
<tr>
<td><img src="images/vea.png" alt="Vea" class="store-logo">Vea</td>
<td>$1050</td>
<td class="price-up">+8.2%</td>
<td class="available">Disponible</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>