This commit is contained in:
zhangyh
2025-10-14 16:44:31 +08:00
7 changed files with 26 additions and 7 deletions

View File

@@ -17,18 +17,21 @@
</script>
<template>
<div class="header-title" :class="{ 'light': light }">
<div class="header-title main" :class="{ 'light': light }">
<div class="return" @click="handleClickReturn"><SvgIcon name="return" size="34" /></div>
<span class="title">{{ title }}</span>
<div class="setting" v-if="hasSetting"><SvgIcon name="setting" size="34" /></div>
</div>
<div class="header-title placeholder"></div>
</template>
<style scoped lang="less">
.header-title {
position: sticky;
width: 100%;
height: var(--header-title-height, 9.9rem);
}
.header-title.main {
position: fixed;
top: 0;
z-index: var(--header-title-z-index, 999);
background-color: var(--header-title-background, #000000);