You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
748 lines
22 KiB
748 lines
22 KiB
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=375, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<link rel="stylesheet" href="../colors_and_type.css">
|
|
<title>青核 Youthome - 青豆商城</title>
|
|
<style>
|
|
:root {
|
|
--youth-primary: #26C2BB;
|
|
--youth-primary-light: #54CAC5;
|
|
--primary-bg: #E6F7F6;
|
|
--bg-page: #F7F8FA;
|
|
--bg-card: #FFFFFF;
|
|
--text-title: #1F1F1F;
|
|
--text-body: #595959;
|
|
--text-muted: #8C8C8C;
|
|
--youth-border-light: #E8E8E8;
|
|
--youth-warning: #FAAD14;
|
|
--warning-bg: #FFF7E6;
|
|
|
|
/* =====================================================
|
|
* Traework 设计系统 - 组件规范
|
|
* 圆角 / 间距 / 阴影 / 高度
|
|
* ===================================================== */
|
|
--radius-xs: 4px;
|
|
--radius-sm: 8px; /* 按钮、输入框 */
|
|
--radius-md: 12px; /* 卡片 */
|
|
--radius-lg: 16px; /* 标签、弹窗 */
|
|
--radius-xl: 20px;
|
|
--radius-full: 9999px;
|
|
|
|
/* 组件高度 */
|
|
--height-btn: 44px;
|
|
--height-input: 44px;
|
|
--height-nav-bottom: 64px;
|
|
|
|
/* 间距(4px 基础栅格) */
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-page-x: 16px;
|
|
--space-card: 16px;
|
|
|
|
/* 柔和弥散阴影 */
|
|
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
|
|
--shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.06);
|
|
--shadow-btn: 0 2px 8px rgba(38, 194, 187, 0.25);
|
|
--shadow-btn-hover: 0 4px 16px rgba(38, 194, 187, 0.35);
|
|
--shadow-modal: 0 16px 48px rgba(0, 0, 0, 0.12);
|
|
--shadow-float: 0 4px 24px rgba(0, 0, 0, 0.08);
|
|
|
|
/* 内阴影浮雕(输入框) */
|
|
--shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
--shadow-inset-focus: inset 0 1px 3px rgba(38, 194, 187, 0.08);
|
|
|
|
/* 毛玻璃 */
|
|
--glass-bg: rgba(255, 255, 255, 0.72);
|
|
--glass-blur: blur(20px);
|
|
--glass-border: rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
|
|
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'SF Pro Display', sans-serif;
|
|
background: var(--youth-bg-page);
|
|
color: var(--youth-text-secondary);
|
|
overflow-x: hidden;}
|
|
|
|
.page-container {
|
|
width: 375px;
|
|
height: 812px;
|
|
margin: 0 auto;
|
|
background: var(--youth-bg-page);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.status-bar {
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.top-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 8px;
|
|
height: 44px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.nav-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.nav-title { font-size: 17px; font-weight: 700; color: #fff; }
|
|
.nav-btn.text-btn { width: auto; font-size: 13px; padding: 0 8px; font-weight: 500; }
|
|
|
|
/* 金色头部 */
|
|
.mall-header {
|
|
background: linear-gradient(135deg, #FAAD14 0%, #FFD666 50%, #FFE8A3 100%);
|
|
padding-bottom: 50px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mall-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -60px;
|
|
right: -40px;
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.15);
|
|
}
|
|
|
|
.mall-header::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -80px;
|
|
left: -30px;
|
|
width: 140px;
|
|
height: 140px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.beans-banner {
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 4px 20px 0;
|
|
color: #1A1A2E;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.beans-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.beans-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
border: 2px solid rgba(255,255,255,0.5);
|
|
}
|
|
|
|
.beans-info { }
|
|
|
|
.beans-label { font-size: 12px; opacity: 0.7; margin-bottom: 2px; }
|
|
|
|
.beans-amount {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.beans-right {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 6px;
|
|
}
|
|
|
|
.recharge-btn {
|
|
padding: 8px 16px;
|
|
background: #1A1A2E;
|
|
color: #FFD666;
|
|
border: none;
|
|
border-radius: 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.order-link {
|
|
font-size: 12px;
|
|
color: rgba(26,26,46,0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 滚动区域 */
|
|
.scroll-area {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.scroll-area::-webkit-scrollbar { display: none; }
|
|
|
|
/* 分类入口 */
|
|
.category-bar {
|
|
display: flex;
|
|
background: var(--youth-bg-card);
|
|
margin: -30px 16px 12px;
|
|
border-radius: 14px;
|
|
padding: 14px 0;
|
|
position: relative;
|
|
z-index: 2;
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.cat-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cat-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.cat-icon.c1 { background: linear-gradient(135deg, #FFF0F5, #FFB6C1); }
|
|
.cat-icon.c2 { background: linear-gradient(135deg, #F0F9FF, #7DD3FC); }
|
|
.cat-icon.c3 { background: linear-gradient(135deg, #F0FDF4, #86EFAC); }
|
|
.cat-icon.c4 { background: linear-gradient(135deg, #F5F3FF, #C4B5FD); }
|
|
.cat-icon.c5 { background: linear-gradient(135deg, #FFFBEB, #FCD34D); }
|
|
|
|
.cat-name {
|
|
font-size: 11px;
|
|
color: var(--youth-text-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 限时兑换 */
|
|
.section-wrap {
|
|
margin: 0 16px 16px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px 6px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.section-title .hot {
|
|
padding: 2px 6px;
|
|
background: linear-gradient(135deg, #FF6A88, #FF9A8B);
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
border-radius: 6px;
|
|
animation: flash 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes flash {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.7; }
|
|
}
|
|
|
|
.countdown {
|
|
font-size: 11px;
|
|
color: var(--youth-danger-500);
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.countdown .time-block {
|
|
display: inline-block;
|
|
padding: 1px 4px;
|
|
background: var(--youth-danger-500);
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.flash-list {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 10px 16px 16px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.flash-list::-webkit-scrollbar { display: none; }
|
|
|
|
.flash-item {
|
|
flex-shrink: 0;
|
|
width: 120px;
|
|
background: var(--youth-bg-page);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.flash-img {
|
|
width: 100%;
|
|
height: 100px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 40px;
|
|
}
|
|
|
|
.flash-img.f1 { background: linear-gradient(135deg, #FFE5F1, #FBCFE8); }
|
|
.flash-img.f2 { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
|
|
.flash-img.f3 { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
|
|
|
|
.flash-info { padding: 8px; }
|
|
|
|
.flash-name {
|
|
font-size: 12px;
|
|
color: var(--youth-text-primary);
|
|
font-weight: 500;
|
|
margin-bottom: 4px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.flash-price {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--youth-warning);
|
|
}
|
|
|
|
.flash-price small { font-size: 9px; font-weight: 600; }
|
|
|
|
.flash-origin {
|
|
font-size: 10px;
|
|
color: var(--youth-text-tertiary);
|
|
text-decoration: line-through;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.sold-tag {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
padding: 2px 6px;
|
|
background: rgba(0,0,0,0.6);
|
|
color: #fff;
|
|
font-size: 9px;
|
|
border-radius: 8px;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
/* 商品网格 */
|
|
.goods-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 10px;
|
|
padding: 10px 16px 16px;
|
|
}
|
|
|
|
.goods-item {
|
|
background: var(--youth-bg-card);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.goods-item:active { transform: scale(0.98); }
|
|
|
|
.goods-img {
|
|
width: 100%;
|
|
height: 130px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 48px;
|
|
position: relative;
|
|
}
|
|
|
|
.goods-img.g1 { background: linear-gradient(135deg, #E0F2FE, #7DD3FC); }
|
|
.goods-img.g2 { background: linear-gradient(135deg, #FCE7F3, #F9A8D4); }
|
|
.goods-img.g3 { background: linear-gradient(135deg, #D1FAE5, #6EE7B7); }
|
|
.goods-img.g4 { background: linear-gradient(135deg, #E9D5FF, #C4B5FD); }
|
|
.goods-img.g5 { background: linear-gradient(135deg, #FEF3C7, #FCD34D); }
|
|
.goods-img.g6 { background: linear-gradient(135deg, #FFEDD5, #FDBA74); }
|
|
|
|
.goods-tag {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
padding: 2px 8px;
|
|
background: linear-gradient(135deg, #FF6A88, #FF9A8B);
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.goods-info { padding: 10px 12px; }
|
|
|
|
.goods-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 6px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.goods-bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.goods-price {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--youth-warning);
|
|
}
|
|
|
|
.goods-price small { font-size: 10px; font-weight: 600; }
|
|
|
|
.exchange-btn {
|
|
padding: 4px 10px;
|
|
background: var(--youth-warning);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.exchange-btn.disabled {
|
|
background: var(--youth-bg-page);
|
|
color: var(--youth-text-tertiary);
|
|
border: 1px solid var(--youth-border-light);
|
|
}
|
|
|
|
|
|
/* SVG 图标统一尺寸 */
|
|
.icon-svg {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1em;
|
|
height: 1em;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
}
|
|
.icon-svg svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
stroke: currentColor;
|
|
}
|
|
/* 侧栏图标 */
|
|
.sidebar-icon .icon-svg { width: 22px; height: 22px; font-size: 22px; }
|
|
/* 社团logo图标 */
|
|
.club-logo .icon-svg { width: 28px; height: 28px; font-size: 28px; color: #fff; }
|
|
/* 头图大图标 */
|
|
.hero-icon .icon-svg { width: 56px; height: 56px; font-size: 56px; opacity: 0.3; }
|
|
/* meta 小图标 */
|
|
.club-meta .icon-svg { width: 12px; height: 12px; font-size: 12px; }
|
|
/* 分类选择网格图标 */
|
|
.cat-option .icon-svg { width: 26px; height: 26px; font-size: 26px; }
|
|
/* logo预览图标 */
|
|
.logo-preview .icon-svg { width: 40px; height: 40px; font-size: 40px; color: #fff; }
|
|
/* 提示图标 */
|
|
.notice-icon .icon-svg { width: 18px; height: 18px; font-size: 18px; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="page-container" data-dom-id="page-container">
|
|
<div class="mall-header">
|
|
<div class="status-bar">
|
|
<span>9:41</span>
|
|
<div style="display:flex;align-items:center;gap:6px;">
|
|
<svg width="17" height="11" viewBox="0 0 17 11" fill="#1A1A2E"><rect x="0" y="7" width="3" height="4" rx="0.5"></rect><rect x="4.5" y="5" width="3" height="6" rx="0.5"></rect><rect x="9" y="2.5" width="3" height="8.5" rx="0.5"></rect><rect x="13.5" y="0" width="3" height="11" rx="0.5"></rect></svg>
|
|
<svg width="25" height="12" viewBox="0 0 25 12"><rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="#1A1A2E" opacity="0.5"></rect><rect x="2" y="2" width="18" height="8" rx="1.5" fill="#1A1A2E"></rect><rect x="22.5" y="4" width="1.5" height="4" rx="0.5" fill="#1A1A2E" opacity="0.5"></rect></svg>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="top-nav">
|
|
<button class="nav-btn" onclick="goBack()">
|
|
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#1A1A2E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"></polyline></svg>
|
|
</button>
|
|
<div class="nav-title" style="color:#1A1A2E;">青豆商城</div>
|
|
<button class="nav-btn text-btn" style="color:#1A1A2E;" onclick="goOrder()">订单</button>
|
|
</div>
|
|
|
|
<div class="beans-banner">
|
|
<div class="beans-left">
|
|
<div class="beans-icon">🫘</div>
|
|
<div class="beans-info">
|
|
<div class="beans-label">我的青豆</div>
|
|
<div class="beans-amount">1,280</div>
|
|
</div>
|
|
</div>
|
|
<div class="beans-right">
|
|
<button class="recharge-btn" onclick="goRecharge()">+ 充值</button>
|
|
<span class="order-link" onclick="goBill()">
|
|
账单明细
|
|
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="scroll-area">
|
|
<!-- 分类入口 -->
|
|
<div class="category-bar">
|
|
<div class="cat-item" onclick="goCategory('装扮')">
|
|
<div class="cat-icon c1"></div>
|
|
<span class="cat-name">头像装扮</span>
|
|
</div>
|
|
<div class="cat-item" onclick="goCategory('特权')">
|
|
<div class="cat-icon c2"></div>
|
|
<span class="cat-name">会员特权</span>
|
|
</div>
|
|
<div class="cat-item" onclick="goCategory('实物')">
|
|
<div class="cat-icon c3"></div>
|
|
<span class="cat-name">实物周边</span>
|
|
</div>
|
|
<div class="cat-item" onclick="goCategory('活动')">
|
|
<div class="cat-icon c4"></div>
|
|
<span class="cat-name">活动门票</span>
|
|
</div>
|
|
<div class="cat-item" onclick="goCategory('优惠券')"><div class="cat-icon c5">
|
|
</div>
|
|
|
|
<span class="cat-name">优惠券</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 限时秒杀 -->
|
|
<div class="section-wrap">
|
|
<div class="section-header">
|
|
<div class="section-title">
|
|
限时秒杀
|
|
<span class="hot">HOT</span>
|
|
</div>
|
|
<div class="countdown">
|
|
距结束
|
|
<span class="time-block">02</span>:
|
|
<span class="time-block">35</span>:
|
|
<span class="time-block">48</span>
|
|
</div>
|
|
</div>
|
|
<div class="flash-list">
|
|
<div class="flash-item" onclick="goGoods('VIP体验卡')">
|
|
<div class="flash-img f1"></div>
|
|
<div class="sold-tag">已抢 85%</div>
|
|
<div class="flash-info">
|
|
<div class="flash-name">VIP 7天体验卡</div>
|
|
<div>
|
|
<span class="flash-price"><small>🫘</small>299</span>
|
|
<span class="flash-origin">500豆</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="flash-item" onclick="goGoods('头像框')">
|
|
<div class="flash-img f2">
|
|
</div>
|
|
<div class="sold-tag">已抢 60%</div>
|
|
<div class="flash-info">
|
|
<div class="flash-name">限定头像框</div>
|
|
<div>
|
|
<span class="flash-price"><small>🫘</small>188</span>
|
|
<span class="flash-origin">299豆</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="flash-item" onclick="goGoods('咖啡券')">
|
|
<div class="flash-img f3">
|
|
</div>
|
|
<div class="sold-tag">仅剩3份</div>
|
|
<div class="flash-info">
|
|
<div class="flash-name">咖啡买一送一券</div>
|
|
<div>
|
|
<span class="flash-price"><small>🫘</small>99</span>
|
|
<span class="flash-origin">199豆</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 热门兑换 -->
|
|
<div class="section-wrap">
|
|
<div class="section-header">
|
|
<div class="section-title">热门兑换</div>
|
|
<span style="font-size:12px;color:var(--youth-text-tertiary);">查看全部 ></span>
|
|
</div>
|
|
<div class="goods-grid">
|
|
<div class="goods-item" onclick="goGoods('校园周边T恤')">
|
|
<div class="goods-img g1">
|
|
<span class="goods-tag">新品</span>
|
|
👕
|
|
</div>
|
|
<div class="goods-info">
|
|
<div class="goods-name">校园限定T恤</div>
|
|
<div class="goods-bottom">
|
|
<span class="goods-price"><small>🫘</small>880</span>
|
|
<button class="exchange-btn">兑换</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="goods-item" onclick="goGoods('定制帆布袋')">
|
|
<div class="goods-img g2">
|
|
</div>
|
|
<div class="goods-info">
|
|
<div class="goods-name">定制帆布袋</div>
|
|
<div class="goods-bottom">
|
|
<span class="goods-price"><small>🫘</small>360</span>
|
|
<button class="exchange-btn">兑换</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="goods-item" onclick="goGoods('笔记本套装')">
|
|
<div class="goods-img g3">
|
|
<span class="goods-tag">热卖</span>
|
|
📓
|
|
</div>
|
|
<div class="goods-info">
|
|
<div class="goods-name">文创笔记本套装</div>
|
|
<div class="goods-bottom">
|
|
<span class="goods-price"><small>🫘</small>260</span>
|
|
<button class="exchange-btn">兑换</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="goods-item" onclick="goGoods('马克杯')">
|
|
<div class="goods-img g4">
|
|
</div>
|
|
<div class="goods-info">
|
|
<div class="goods-name">青核马克杯</div>
|
|
<div class="goods-bottom">
|
|
<span class="goods-price"><small>🫘</small>480</span>
|
|
<button class="exchange-btn">兑换</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="goods-item" onclick="goGoods('校园卡套')">
|
|
<div class="goods-img g5">
|
|
</div>
|
|
<div class="goods-info">
|
|
<div class="goods-name">校园卡套</div>
|
|
<div class="goods-bottom">
|
|
<span class="goods-price"><small>🫘</small>150</span>
|
|
<button class="exchange-btn">兑换</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="goods-item" onclick="goGoods('钥匙扣')">
|
|
<div class="goods-img g6">
|
|
</div>
|
|
<div class="goods-info">
|
|
<div class="goods-name">定制钥匙扣</div>
|
|
<div class="goods-bottom">
|
|
<span class="goods-price"><small>🫘</small>120</span>
|
|
<button class="exchange-btn disabled">已兑完</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align:center;padding:8px 20px 16px;font-size:11px;color:var(--youth-text-tertiary);line-height:1.6;">
|
|
青豆为平台虚拟积分,仅可在商城内兑换使用<br>
|
|
实物商品兑换后7个工作日内发货
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<script> icon.innerHTML = '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>';
|
|
}
|
|
}
|
|
|
|
function goBack() { window.history.back(); }
|
|
function goOrder() { alert('兑换订单'); }
|
|
function goRecharge() { alert('充值青豆'); }
|
|
function goBill() { alert('账单明细'); }
|
|
function goCategory(name) { alert(name + '分类'); }
|
|
function goGoods(name) { alert(name + '详情'); }</script>
|
|
</body>
|
|
</html>
|
|
|