feat(ops): ECR-007 行为分析与 ECR-008 内容运营后台
落地埋点 ingest/数据看板、首页宫格 CMS 与测评上下架;含账号引导、问答流式与免责声明去重,以及 review P1 审计同事务修复。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<script setup lang="ts">
|
||||
const base = import.meta.env.BASE_URL || '/'
|
||||
const src = `${base}logo.png`
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
size?: 'nav' | 'login'
|
||||
}>(),
|
||||
{ size: 'nav' },
|
||||
)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<!-- Logo 原稿为橙字透底,浅色面板上易发虚;深色底托保证可读 -->
|
||||
<span class="brand-mark" :class="size">
|
||||
<img class="brand-logo" :src="src" alt="愈心谷" decoding="async" />
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.brand-mark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #1a1514;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 6px 16px rgba(26, 21, 20, 0.18);
|
||||
}
|
||||
.brand-mark.nav {
|
||||
padding: 8px 12px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.brand-mark.login {
|
||||
padding: 14px 18px;
|
||||
margin: 0 auto 0.85rem;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.brand-logo {
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
user-select: none;
|
||||
-webkit-user-drag: none;
|
||||
background: transparent;
|
||||
}
|
||||
.nav .brand-logo {
|
||||
width: 132px;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
max-height: 32px;
|
||||
}
|
||||
.login .brand-logo {
|
||||
width: min(200px, 68vw);
|
||||
height: auto;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user