feat(ECR-012–016): 合规、题库、时辰刷新、头像、MBTI OEJTS 与埋点
落地输入合规、探索题库、报告日/时辰刷新、账号头像、OEJTS 量表,并补齐 H5 埋点与 Admin 漏斗;同步 ESS 工件、切至自建 Git、清理 GitHub Actions。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,23 +5,38 @@
|
||||
<div class="yxg-card">
|
||||
<p v-if="shareLine" class="share">{{ shareLine }}</p>
|
||||
<button type="button" class="yxg-btn yxg-btn-ghost" @click="$emit('share')">生成分享卡</button>
|
||||
<router-link class="yxg-link-plain link" to="/relation">用结果去做关系理解 →</router-link>
|
||||
<router-link class="yxg-link-plain link" to="/ask">去问答聊聊 →</router-link>
|
||||
<button type="button" class="yxg-btn retake" @click="$emit('retake')">重新测试</button>
|
||||
<router-link class="yxg-link-plain link" to="/relation" @click="onCtaRelation">
|
||||
用结果去做关系理解 →
|
||||
</router-link>
|
||||
<router-link class="yxg-link-plain link" to="/ask" @click="onCtaAsk">
|
||||
去问答聊聊 →
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import ReportRich from '../ReportRich.vue'
|
||||
import { AnalyticsEvent, track } from '../../lib/analytics'
|
||||
|
||||
defineProps<{
|
||||
const props = defineProps<{
|
||||
slug: string
|
||||
resultLabel: string
|
||||
shareLine: string
|
||||
resultSummaryObj: Record<string, unknown>
|
||||
resultDetailObj: Record<string, unknown>
|
||||
}>()
|
||||
|
||||
defineEmits<{ share: [] }>()
|
||||
defineEmits<{ share: []; retake: [] }>()
|
||||
|
||||
function onCtaRelation() {
|
||||
track(AnalyticsEvent.ScaleCtaRelation, { slug: props.slug })
|
||||
}
|
||||
|
||||
function onCtaAsk() {
|
||||
track(AnalyticsEvent.ScaleCtaAsk, { slug: props.slug })
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@@ -37,6 +52,11 @@ defineEmits<{ share: [] }>()
|
||||
margin: 0 0 10px;
|
||||
color: var(--yxg-gold);
|
||||
}
|
||||
.retake {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.link {
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
|
||||
Reference in New Issue
Block a user