171 lines
7.1 KiB
HTML
171 lines
7.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>选择商品</title>
|
|
<link rel="stylesheet" href="css/common.css">
|
|
<style>
|
|
.page-title {
|
|
font-size: 17px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
text-align: center;
|
|
padding: 24px 0 20px;
|
|
}
|
|
.product-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
padding: 0 16px;
|
|
}
|
|
.product-card {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
border: 1px solid #E5E5E5;
|
|
padding: 12px;
|
|
padding-bottom: 16px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
.product-card .checkbox {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.product-card .checkbox svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.product-image {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
.product-image img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
.product-name {
|
|
font-size: 14px;
|
|
color: #333;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.user-avatar {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 100px;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
background: #F5F5F5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.user-avatar svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: #C0C0C0;
|
|
}
|
|
.bottom-section {
|
|
position: fixed;
|
|
bottom: 34px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100%;
|
|
max-width: 375px;
|
|
padding: 0 16px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="status-bar">
|
|
<span class="time">9:41</span>
|
|
<div class="icons">
|
|
<svg width="18" height="12" viewBox="0 0 18 12" fill="none"><path d="M1 4C1 2.89543 1.89543 2 3 2H4C5.10457 2 6 2.89543 6 4V8C6 9.10457 5.10457 10 4 10H3C1.89543 10 1 9.10457 1 8V4Z" stroke="#000" stroke-width="1.5"/><path d="M7 3C7 2.44772 7.44772 2 8 2H9C9.55228 2 10 2.44772 10 3V9C10 9.55228 9.55228 10 9 10H8C7.44772 10 7 9.55228 7 9V3Z" stroke="#000" stroke-width="1.5"/><path d="M13 1C13 0.447715 13.4477 0 14 0H15C15.5523 0 16 0.447715 16 1V11C16 11.5523 15.5523 12 15 12H14C13.4477 12 13 11.5523 13 11V1Z" stroke="#000" stroke-width="1.5"/></svg>
|
|
<svg width="16" height="12" viewBox="0 0 16 12" fill="none"><path d="M8 2.5C4.5 2.5 1.5 5 0 8C1.5 5.5 4.5 4 8 4C11.5 4 14.5 5.5 16 8C14.5 5 11.5 2.5 8 2.5Z" fill="#000"/></svg>
|
|
<svg width="25" height="12" viewBox="0 0 25 12" fill="none"><rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="#000"/><rect x="2" y="2" width="18" height="8" rx="1" fill="#000"/><path d="M23 4V8C24.1046 8 25 7.10457 25 6V6C25 4.89543 24.1046 4 23 4Z" fill="#000"/></svg>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="nav-bar">
|
|
<div class="back-btn">
|
|
<svg viewBox="0 0 10 18"><path d="M9 1L1 9L9 17" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>
|
|
</div>
|
|
<div class="nav-icons">
|
|
<div class="nav-icon">
|
|
<svg width="20" height="4" viewBox="0 0 20 4" fill="none"><circle cx="2" cy="2" r="2" fill="#000"/><circle cx="10" cy="2" r="2" fill="#000"/><circle cx="18" cy="2" r="2" fill="#000"/></svg>
|
|
</div>
|
|
<div class="nav-icon">
|
|
<svg width="20" height="20" viewBox="0 0 20 20" fill="none"><circle cx="10" cy="10" r="9" stroke="#000" stroke-width="1.5"/><circle cx="10" cy="10" r="3" stroke="#000" stroke-width="1.5"/></svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="page-title">选择商品</div>
|
|
|
|
<div class="product-grid">
|
|
<div class="product-card">
|
|
<div class="checkbox">
|
|
<svg viewBox="0 0 20 20" fill="none"><circle cx="10" cy="10" r="9" stroke="#E5E5E5" stroke-width="1.5"/></svg>
|
|
</div>
|
|
<div class="product-image">
|
|
<img src="https://img.alicdn.com/imgextra/i4/2206686532579/O1CN01JfaIrY1TfMPJC3nDO_!!2206686532579.jpg" alt="感冒灵颗粒">
|
|
</div>
|
|
<div class="product-name">感冒灵颗粒</div>
|
|
</div>
|
|
<div class="product-card">
|
|
<div class="checkbox">
|
|
<svg viewBox="0 0 20 20" fill="none"><circle cx="10" cy="10" r="9" stroke="#E5E5E5" stroke-width="1.5"/></svg>
|
|
</div>
|
|
<div class="product-image">
|
|
<img src="https://img.alicdn.com/imgextra/i2/2838892713/O1CN01Qj0nPb1Vubp6RQRPN_!!2838892713.jpg" alt="电子血压仪">
|
|
</div>
|
|
<div class="product-name">电子血压仪</div>
|
|
</div>
|
|
<div class="product-card">
|
|
<div class="checkbox">
|
|
<svg viewBox="0 0 20 20" fill="none"><circle cx="10" cy="10" r="9" stroke="#E5E5E5" stroke-width="1.5"/></svg>
|
|
</div>
|
|
<div class="product-image">
|
|
<img src="https://img.alicdn.com/imgextra/i3/2200724907121/O1CN01Dz2yfS1DOGrNQZ4aF_!!2200724907121.jpg" alt="小林退热贴">
|
|
</div>
|
|
<div class="product-name">小林退热贴</div>
|
|
</div>
|
|
<div class="product-card">
|
|
<div class="checkbox">
|
|
<svg viewBox="0 0 20 20" fill="none"><circle cx="10" cy="10" r="9" stroke="#E5E5E5" stroke-width="1.5"/></svg>
|
|
</div>
|
|
<div class="product-image">
|
|
<img src="https://img.alicdn.com/imgextra/i1/2201191528517/O1CN012gMFjB1aUxmMqhQE1_!!2201191528517.jpg" alt="芬必得布洛芬释...">
|
|
</div>
|
|
<div class="product-name">芬必得布洛芬释...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="user-avatar">
|
|
<svg viewBox="0 0 24 24" fill="none"><circle cx="12" cy="8" r="4" stroke="currentColor" stroke-width="2"/><path d="M4 20C4 16.6863 7.58172 14 12 14C16.4183 14 20 16.6863 20 20" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>
|
|
</div>
|
|
|
|
<div class="bottom-section">
|
|
<button class="green-btn">去生成内容</button>
|
|
</div>
|
|
|
|
<div class="bottom-indicator"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|