页面增加隐藏的h1

This commit is contained in:
cebgcontract 2022-02-25 14:41:29 +08:00
parent 1eb80fdad9
commit c3d4c1ea9d
7 changed files with 11 additions and 7 deletions

View File

@ -21,6 +21,7 @@
<div class="market-btn" @click="comingSoon">
<img src="@/assets/202202/btn-market@2x.png" alt="marketplace"/>
</div>
<h1>{{title}}</h1>
</div>
</header>
</template>
@ -42,7 +43,7 @@ declare module 'vue/types/vue' {
name: 'DesktopHeader',
components: {
},
props: ['currentSection']
props: ['currentSection', 'title']
})
export default class extends Vue {
private dropShow = false
@ -87,6 +88,9 @@ export default class extends Vue {
</script>
<style lang="scss" scoped>
h1{
display: none;
}
.header{
display: flex;
justify-content: space-between;

View File

@ -1,6 +1,6 @@
<template>
<div class="container" :style="cstyle">
<desktop-header current-section="gameplay"></desktop-header>
<desktop-header current-section="gameplay" title="Gameplay"></desktop-header>
<video-section></video-section>
<tab-bar
:select-tab="activeTab"

View File

@ -1,6 +1,6 @@
<template>
<div class="container" :style="cstyle">
<desktop-header current-section="home"></desktop-header>
<desktop-header current-section="home" title="CEBG Index"></desktop-header>
<top-section></top-section>
<main-section></main-section>
<hero-section></hero-section>

View File

@ -1,6 +1,6 @@
<template>
<div class="container" :style="cstyle">
<desktop-header current-section="nft"></desktop-header>
<desktop-header current-section="nft" title="NFT"></desktop-header>
<top-section></top-section>
<nft-section @dialog-show="showInfo(0)" ></nft-section>
<weapon-section @dialog-show="showInfo(1)"></weapon-section>

View File

@ -1,6 +1,6 @@
<template>
<div class="container" :style="cstyle">
<desktop-header current-section="roadmap"></desktop-header>
<desktop-header current-section="roadmap" title="Roadmap"></desktop-header>
<div class="content">
<div class="title-bar">
<img src="@/assets/202202/roadmap/icon-text.png" alt="funder team"/>

View File

@ -1,6 +1,6 @@
<template>
<div class="container" :style="cstyle">
<desktop-header current-section="team"></desktop-header>
<desktop-header current-section="team" title="Team"></desktop-header>
<div class="content">
<div class="title-bar">
<img src="@/assets/202202/team/founder_team.png" alt="funder team"/>

View File

@ -1,6 +1,6 @@
<template>
<div class="container" :style="cstyle">
<desktop-header current-section="tokenomic"></desktop-header>
<desktop-header current-section="tokenomic" title="Tokenomic"></desktop-header>
<img class="top-bg" src="@/assets/202202/tokenomic/tokennomic_bg.png" alt="top bg"/>
<tab-bar
:select-tab="activeTab"