落地 synastry/star/ask API 与 H5 页面,补齐 cece-frontend-re complete-design 证据文档,并加入 Android 模拟器截图抓取脚本。 Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
651 B
Vue
26 lines
651 B
Vue
<template>
|
|
<div class="app-shell" :class="{ 'is-home': isHome }">
|
|
<AppHeader v-if="!isHome" />
|
|
<router-view />
|
|
<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()
|
|
/** 首页自带测测式顶栏,避免与 sticky Logo 叠两层品牌 */
|
|
const isHome = computed(() => route.path === '/')
|
|
</script>
|
|
|
|
<style scoped>
|
|
.app-shell.is-home{
|
|
/* 首页自带完整暖色底,避免再叠一层全局洗色 */
|
|
background:transparent;
|
|
}
|
|
</style>
|