feat: P1 合盘/星座/问答与测测完整设计包及模拟器取证工具
落地 synastry/star/ask API 与 H5 页面,补齐 cece-frontend-re complete-design 证据文档,并加入 Android 模拟器截图抓取脚本。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,15 +1,25 @@
|
||||
<template>
|
||||
<div class="app-shell">
|
||||
<div class="app-shell" :class="{ 'is-home': isHome }">
|
||||
<AppHeader v-if="!isHome" />
|
||||
<router-view />
|
||||
<TabBar v-if="showTab" />
|
||||
<TabBar />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import AppHeader from './components/AppHeader.vue'
|
||||
import TabBar from './components/TabBar.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const showTab = computed(() => route.meta.tab !== false)
|
||||
/** 首页自带测测式顶栏,避免与 sticky Logo 叠两层品牌 */
|
||||
const isHome = computed(() => route.path === '/')
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.app-shell.is-home{
|
||||
/* 首页自带完整暖色底,避免再叠一层全局洗色 */
|
||||
background:transparent;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user