Initial commit
This commit is contained in:
49
miniprogram/pages/coupon/coupon-center/index.html
Normal file
49
miniprogram/pages/coupon/coupon-center/index.html
Normal file
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="light-content">
|
||||
<title>领券中心</title>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="coupon-center-container">
|
||||
<!-- 页面标题 -->
|
||||
<header class="page-header">
|
||||
<div class="header-content">
|
||||
<div class="header-back" onclick="goBack()">
|
||||
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15 18L9 12L15 6" stroke="#333333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="header-title">领券中心</div>
|
||||
<div class="header-placeholder">
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- 优惠券列表 -->
|
||||
<div class="coupon-list-container" id="couponListContainer">
|
||||
<!-- 加载状态 -->
|
||||
<div class="loading-state" id="loadingState" style="display: none;">
|
||||
<div class="loading-spinner"></div>
|
||||
<div class="loading-text">加载中...</div>
|
||||
</div>
|
||||
|
||||
<!-- 优惠券列表将通过JavaScript动态生成 -->
|
||||
<div id="couponList"></div>
|
||||
|
||||
<!-- 空状态 -->
|
||||
<div class="empty-state" id="emptyState" style="display: none;">
|
||||
<div class="empty-icon">🎫</div>
|
||||
<div class="empty-text">暂无可领取的优惠券</div>
|
||||
<div class="empty-desc">请稍后再来看看吧</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="index-browser.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user