|
@@ -1,17 +1,17 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="guide-card wide">
|
|
<div class="guide-card wide">
|
|
|
<div class="guide-illustration" style="background: linear-gradient(135deg, #e87722 0%, #f9ca24 100%);">
|
|
<div class="guide-illustration" style="background: linear-gradient(135deg, #e87722 0%, #f9ca24 100%);">
|
|
|
- <div class="illus-bubble bubble-1">👤</div>
|
|
|
|
|
- <div class="illus-bubble bubble-2">🎫</div>
|
|
|
|
|
- <div class="illus-center">🏠</div>
|
|
|
|
|
|
|
+ <div class="illus-bubble bubble-1">💰</div>
|
|
|
|
|
+ <div class="illus-bubble bubble-2">📊</div>
|
|
|
|
|
+ <div class="illus-center">👤</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="guide-body">
|
|
<div class="guide-body">
|
|
|
<div class="guide-badge">Step 6</div>
|
|
<div class="guide-badge">Step 6</div>
|
|
|
- <h2 class="guide-title">个人中心 + 礼品券兑换引导</h2>
|
|
|
|
|
- <p class="guide-desc">点击顶部头像进入个人中心,查看三大核心功能:</p>
|
|
|
|
|
|
|
+ <h2 class="guide-title">个人中心 — 我的积分</h2>
|
|
|
|
|
+ <p class="guide-desc">点击顶部头像进入个人中心,查看积分明细:</p>
|
|
|
|
|
|
|
|
- <!-- 三个 Tab 说明 -->
|
|
|
|
|
|
|
+ <!-- 子功能说明 -->
|
|
|
<div class="tab-list">
|
|
<div class="tab-list">
|
|
|
<div class="tab-item" v-for="tab in tabs" :key="tab.id">
|
|
<div class="tab-item" v-for="tab in tabs" :key="tab.id">
|
|
|
<div class="tab-num">{{ tab.num }}</div>
|
|
<div class="tab-num">{{ tab.num }}</div>
|
|
@@ -22,17 +22,6 @@
|
|
|
<span class="tab-icon">{{ tab.icon }}</span>
|
|
<span class="tab-icon">{{ tab.icon }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
- <!-- 兑换流程 -->
|
|
|
|
|
- <div class="redeem-flow">
|
|
|
|
|
- <span class="flow-tip">🎫 礼品券兑换路径:</span>
|
|
|
|
|
- <div class="flow-steps">
|
|
|
|
|
- <span v-for="(step, i) in flowSteps" :key="i" class="flow-step-wrap">
|
|
|
|
|
- <span class="flow-step">{{ step }}</span>
|
|
|
|
|
- <span v-if="i < flowSteps.length - 1" class="flow-arrow">→</span>
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="guide-footer">
|
|
<div class="guide-footer">
|
|
@@ -43,7 +32,7 @@
|
|
|
{{ isLast ? '完成新手教程 ✓' : '下一步' }}
|
|
{{ isLast ? '完成新手教程 ✓' : '下一步' }}
|
|
|
</button>
|
|
</button>
|
|
|
<button class="btn-prev" v-if="!isFirst" @click="$emit('prev')">
|
|
<button class="btn-prev" v-if="!isFirst" @click="$emit('prev')">
|
|
|
- 上一步
|
|
|
|
|
|
|
+ ← 上一步
|
|
|
</button>
|
|
</button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -59,11 +48,10 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
tabs: [
|
|
tabs: [
|
|
|
- { id: 1, num: '①', icon: '💰', title: '我的积分', desc: '查看积分收支明细' },
|
|
|
|
|
- { id: 2, num: '②', icon: '📦', title: '我的兑换', desc: '历史兑换记录' },
|
|
|
|
|
- { id: 3, num: '③', icon: '🎫', title: '我的礼品券', desc: '未使用 / 已使用 / 已过期' },
|
|
|
|
|
|
|
+ { id: 1, num: '1', icon: '📋', title: '积分列表', desc: '查看积分收支明细与类型' },
|
|
|
|
|
+ { id: 2, num: '2', icon: '📖', title: '积分规则', desc: '了解积分获取与扣减规则' },
|
|
|
|
|
+ { id: 3, num: '3', icon: '⚡', title: '活跃度判定', desc: '查看活跃度评估标准' },
|
|
|
],
|
|
],
|
|
|
- flowSteps: ['选择商品', '确认订单', '礼品券抵扣', '兑换成功'],
|
|
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -133,7 +121,7 @@ export default {
|
|
|
color: #86909c;
|
|
color: #86909c;
|
|
|
margin: 0 0 14px;
|
|
margin: 0 0 14px;
|
|
|
}
|
|
}
|
|
|
-.tab-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
|
|
|
|
|
|
|
+.tab-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
|
|
|
.tab-item {
|
|
.tab-item {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -160,25 +148,6 @@ export default {
|
|
|
.tab-title { font-size: 13px; font-weight: 600; color: #1d2129; }
|
|
.tab-title { font-size: 13px; font-weight: 600; color: #1d2129; }
|
|
|
.tab-desc { font-size: 12px; color: #86909c; margin-top: 2px; }
|
|
.tab-desc { font-size: 12px; color: #86909c; margin-top: 2px; }
|
|
|
.tab-icon { font-size: 20px; }
|
|
.tab-icon { font-size: 20px; }
|
|
|
-.redeem-flow {
|
|
|
|
|
- padding: 10px 12px;
|
|
|
|
|
- background: linear-gradient(135deg, #fff9f0, #fff4e0);
|
|
|
|
|
- border-radius: 10px;
|
|
|
|
|
- border-left: 3px solid #e87722;
|
|
|
|
|
-}
|
|
|
|
|
-.flow-tip { font-size: 12px; color: #e87722; font-weight: 600; display: block; margin-bottom: 6px; }
|
|
|
|
|
-.flow-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
|
|
|
|
|
-.flow-step-wrap { display: flex; align-items: center; gap: 4px; }
|
|
|
|
|
-.flow-step {
|
|
|
|
|
- padding: 3px 8px;
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- border: 1px solid #e87722;
|
|
|
|
|
- border-radius: 6px;
|
|
|
|
|
- font-size: 11px;
|
|
|
|
|
- color: #e87722;
|
|
|
|
|
- font-weight: 500;
|
|
|
|
|
-}
|
|
|
|
|
-.flow-arrow { font-size: 12px; color: #e87722; }
|
|
|
|
|
.guide-footer {
|
|
.guide-footer {
|
|
|
padding: 14px 28px 22px;
|
|
padding: 14px 28px 22px;
|
|
|
display: flex;
|
|
display: flex;
|