AndroidCode / code /10160 /10160_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
13.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1440, initial-scale=1.0">
<title>Product Details - UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; color: #333; }
#render-target {
position: relative;
width: 1440px;
height: 3120px;
overflow: hidden;
background: #FFFFFF;
border-radius: 0;
}
/* Status bar */
.status-bar {
height: 120px;
background: #E0E0E0;
display: flex;
align-items: center;
padding: 0 36px;
color: #fff;
font-weight: 600;
letter-spacing: 1px;
font-size: 38px;
}
.status-icons {
margin-left: auto;
display: flex;
gap: 28px;
align-items: center;
}
.header {
height: 180px;
background: #fff;
display: flex;
align-items: center;
padding: 0 36px;
border-bottom: 1px solid #EEE;
}
.header .title-space {
flex: 1;
}
.icon-btn {
width: 84px;
height: 84px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 18px;
}
.back-btn { margin-right: 18px; }
/* Price carousel stub and total section */
.combo-area {
background: #F2F6F9;
padding: 36px;
border-bottom: 16px solid #F0F0F0;
}
.card-row {
display: flex;
gap: 36px;
padding: 12px 0 24px;
}
.price-card {
flex: 1;
min-width: 0;
background: #fff;
border: 1px solid #E5E5E5;
border-radius: 12px;
height: 220px;
padding: 24px;
position: relative;
}
.price-chip {
display: inline-block;
background: #FFEB3B;
padding: 12px 18px;
border-radius: 8px;
font-weight: 800;
font-size: 40px;
}
.strike {
color: #9E9E9E; text-decoration: line-through; margin-left: 18px; font-size: 34px;
}
.offer { color: #D32F2F; font-size: 34px; margin-left: 10px; }
.progress {
height: 12px;
background: #E6ECF2;
border-radius: 8px;
overflow: hidden;
margin: 24px 6px 36px;
}
.progress span { display: block; height: 100%; width: 40%; background: #1E88E5; }
.total-select {
background: #E9EFF3;
border: 1px solid #E0E6EA;
border-radius: 16px;
padding: 42px 36px;
display: flex;
align-items: center;
gap: 36px;
}
.total-text {
font-size: 56px;
font-weight: 800;
color: #455A64;
}
.select-btn {
margin-left: auto;
background: #0B71B9;
color: #fff;
font-weight: 800;
letter-spacing: 1px;
font-size: 48px;
padding: 46px 72px;
border-radius: 22px;
border: none;
box-shadow: inset 0 -4px 0 rgba(0,0,0,0.08);
cursor: default;
}
/* Tabs */
.tabs {
display: flex;
gap: 48px;
align-items: flex-end;
padding: 30px 36px 0;
border-bottom: 2px solid #EAEAEA;
position: relative;
}
.tab {
padding: 24px 12px;
font-size: 54px;
font-weight: 800;
color: #757575;
}
.tab.active { color: #0B71B9; position: relative; }
.tab-underline {
position: absolute;
left: 36px;
bottom: -2px;
height: 8px;
width: 480px;
background: #0B71B9;
border-radius: 8px;
}
/* Content */
.content {
padding: 48px 36px 0;
}
.section-title {
font-size: 52px;
font-weight: 800;
margin: 24px 0;
color: #37474F;
}
.paragraph {
font-size: 46px;
line-height: 1.45;
color: #616161;
margin: 12px 0 36px;
max-width: 1300px;
}
.divRow {
display: flex;
align-items: center;
gap: 36px;
margin: 36px 0;
}
.hr {
flex: 1;
height: 2px;
background: #E5E5E5;
}
.adv-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 36px 24px;
margin: 36px 0 48px;
align-items: start;
}
.adv {
display: grid;
grid-template-columns: 120px 1fr;
gap: 24px;
}
.adv .adv-title {
font-size: 48px;
font-weight: 800;
color: #424242;
margin-bottom: 6px;
}
.adv .adv-desc {
font-size: 40px;
color: #616161;
}
.divider-big { height: 24px; background: #F0F0F0; margin: 18px -36px; }
/* Similar products */
.similar-title {
font-size: 54px;
font-weight: 900;
color: #37474F;
margin: 54px 0 24px;
}
.product-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 36px;
}
.product-card {
border: 1px solid #E5E5E5;
border-radius: 16px;
background: #fff;
padding: 18px;
position: relative;
}
.badge {
position: absolute;
top: 18px;
left: 18px;
background: #0B71B9;
color: #fff;
font-weight: 800;
font-size: 32px;
padding: 10px 20px;
border-radius: 10px;
}
.img-ph {
width: 100%;
height: 520px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 40px;
border-radius: 12px;
}
.card-footer {
margin-top: 18px;
display: flex;
justify-content: space-between;
align-items: center;
}
.rating {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 18px;
border: 2px solid #E0E0E0;
border-radius: 12px;
font-weight: 700;
color: #1976D2;
background: #fff;
font-size: 34px;
}
.fav-icon {
width: 88px;
height: 88px;
border: 2px solid #E0E0E0;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
/* Sticky Add To Cart */
.cta-bar {
position: absolute;
left: 24px;
right: 24px;
bottom: 96px;
background: #FFFFFF;
border-radius: 22px;
box-shadow: 0 14px 30px rgba(0,0,0,0.08), 0 3px 8px rgba(0,0,0,0.06);
display: flex;
align-items: center;
padding: 18px;
gap: 18px;
}
.cta-fav {
width: 240px;
height: 140px;
border: 4px solid #E8EEF5;
border-radius: 20px;
display: flex; align-items: center; justify-content: center;
color: #0B71B9;
background: #fff;
}
.cta-main {
flex: 1;
height: 140px;
background: #FFEB3B;
border-radius: 20px;
display: flex; align-items: center; justify-content: center;
color: #1A1A1A;
font-size: 56px;
font-weight: 900;
letter-spacing: 2px;
gap: 20px;
border: 2px solid #F4D700;
}
/* Small helper SVG color */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>1:24</div>
<div class="status-icons">
<!-- simple circles to imply status icons -->
<svg width="24" height="24"><circle cx="12" cy="12" r="6" fill="#fff" opacity="0.8"/></svg>
<svg width="24" height="24"><circle cx="12" cy="12" r="6" fill="#fff" opacity="0.8"/></svg>
<svg width="24" height="24"><circle cx="12" cy="12" r="6" fill="#fff" opacity="0.8"/></svg>
<svg width="34" height="24">
<rect x="2" y="6" width="24" height="12" rx="2" fill="#fff"/>
<rect x="28" y="9" width="4" height="6" fill="#fff" opacity="0.6"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-btn icon-btn">
<!-- Back arrow -->
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M14 6l-6 6 6 6" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title-space"></div>
<div class="icon-btn">
<!-- Search -->
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6.5" stroke="#000" stroke-width="2" fill="none"/>
<path d="M16 16l5 5" stroke="#000" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="icon-btn">
<!-- Heart -->
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M12 20s-7-4.4-7-9.5S9 3 12 7c3-4 7-1.5 7 3.5S12 20 12 20z" stroke="#000" stroke-width="2" fill="none" stroke-linejoin="round"/>
</svg>
</div>
<div class="icon-btn">
<!-- Cart -->
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="9" cy="20" r="1.5" fill="#000"/>
<circle cx="17" cy="20" r="1.5" fill="#000"/>
<path d="M3 4h2l2 12h10l2-8H7" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Combo area with cards and select button -->
<div class="combo-area">
<div class="card-row">
<div class="price-card">
<div class="price-chip">₹899</div>
<span class="strike">₹1,199</span>
<span class="offer">(+1 Offer)</span>
</div>
<div class="price-card"></div>
<div class="price-card">
<div class="price-chip">₹199</div>
<span class="strike">₹399</span>
<span class="offer">(+1 Offer)</span>
</div>
</div>
<div class="progress"><span></span></div>
<div class="total-select">
<div class="total-text">Total Price: ₹1,796</div>
<button class="select-btn">SELECT PRODUCTS</button>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">PRODUCT DETAILS</div>
<div class="tab">TECHNICAL INFORMATION</div>
<div class="tab-underline"></div>
</div>
<!-- Content -->
<div class="content">
<div class="section-title">Made For</div>
<div class="paragraph">
This is a lightweight men's running shoes with cushioning for running up to 10km per week.
</div>
<div class="divRow">
<div class="section-title" style="margin:0">Advantages</div>
<div class="hr"></div>
</div>
<div class="adv-row">
<div class="adv">
<!-- simple feather-like icon -->
<svg width="120" height="120" viewBox="0 0 24 24">
<path d="M3 15c6-7 12-7 16-4l-8 8-8 1 0-5z" stroke="#000" fill="none" stroke-width="1.5"/>
<path d="M9 14l2 2" stroke="#000" stroke-width="1.5"/>
</svg>
<div>
<div class="adv-title">lightweight</div>
<div class="adv-desc">Very lightweight shoes: 180g in size 9.</div>
</div>
</div>
<div class="adv">
<!-- pillow icon -->
<svg width="120" height="120" viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="12" rx="4" stroke="#0B71B9" fill="none" stroke-width="1.8"/>
<path d="M12 6v12" stroke="#0B71B9" stroke-width="1.8"/>
</svg>
<div>
<div class="adv-title">fitting comfort</div>
<div class="adv-desc">The shoe has first-level comfort for running beginners.</div>
</div>
</div>
</div>
<div class="divider-big"></div>
<div class="similar-title">SIMILAR PRODUCTS</div>
<div class="product-grid">
<div class="product-card">
<div class="badge">BESTSELLER</div>
<div class="img-ph">[IMG: Black running shoe]</div>
<div class="card-footer">
<div class="rating">
<!-- star -->
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M12 3l2.8 5.6L21 10l-4.5 4.2L17 21l-5-2.6L7 21l.5-6.8L3 10l6.2-1.4L12 3z" fill="#FFC107"/>
</svg>
4.5
</div>
<div class="fav-icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 20s-7-4.4-7-9.5S9 3 12 7c3-4 7-1.5 7 3.5S12 20 12 20z" stroke="#0B71B9" stroke-width="2" fill="none" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
<div class="product-card">
<div class="img-ph">[IMG: Navy running shoes pair]</div>
<div class="card-footer">
<div class="rating">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M12 3l2.8 5.6L21 10l-4.5 4.2L17 21l-5-2.6L7 21l.5-6.8L3 10l6.2-1.4L12 3z" fill="#FFC107"/>
</svg>
4.5
</div>
<div class="fav-icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 20s-7-4.4-7-9.5S9 3 12 7c3-4 7-1.5 7 3.5S12 20 12 20z" stroke="#0B71B9" stroke-width="2" fill="none" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
</div>
</div>
<!-- Sticky Add To Cart -->
<div class="cta-bar">
<div class="cta-fav">
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M12 21s-7-4.4-7-9.5S9 4 12 8c3-4 7-1.5 7 3.5S12 21 12 21z" stroke="#0B71B9" stroke-width="2" fill="none" stroke-linejoin="round"/>
<path d="M7 7l3 3" stroke="#0B71B9" stroke-width="2"/>
</svg>
</div>
<div class="cta-main">
<span>ADD TO CART</span>
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="9" cy="20" r="1.5" fill="#1A1A1A"/>
<circle cx="17" cy="20" r="1.5" fill="#1A1A1A"/>
<path d="M3 4h2l2 12h10l2-8H7" stroke="#1A1A1A" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
</body>
</html>