1111
This commit is contained in:
@@ -15,17 +15,20 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="header-title">
|
<div class="header-title main">
|
||||||
<div class="return" @click="handleClickReturn"><SvgIcon name="return" size="34" /></div>
|
<div class="return" @click="handleClickReturn"><SvgIcon name="return" size="34" /></div>
|
||||||
<span class="title">{{ title }}</span>
|
<span class="title">{{ title }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="header-title placeholder"></div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.header-title {
|
.header-title {
|
||||||
position: sticky;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: var(--header-title-height, 9.9rem);
|
height: var(--header-title-height, 9.9rem);
|
||||||
|
}
|
||||||
|
.header-title.main {
|
||||||
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: var(--header-title-z-index, 999);
|
z-index: var(--header-title-z-index, 999);
|
||||||
background-color: var(--header-title-background, #000000);
|
background-color: var(--header-title-background, #000000);
|
||||||
|
|||||||
Reference in New Issue
Block a user