File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 77 background: `url(${$frontmatter.bgImage ? $withBase($frontmatter.bgImage) : require('../images/home-bg.jpg')}) center/cover no-repeat`}" ></div >
88 <ModuleTransition >
99 <img
10- v-if =" recoShowModule && $frontmatter.isShowHeroImage === true "
11- :style =" heroImageStyle"
12- :src =" $frontmatter.heroImage ? $ withBase($frontmatter.heroImage) : require('../images/icon_vuepress_reco.png' )"
10+ v-if =" recoShowModule && $frontmatter.heroImage "
11+ :style =" heroImageStyle || {} "
12+ :src =" $withBase($frontmatter.heroImage)"
1313 alt =" hero" >
1414 </ModuleTransition >
15- <ModuleTransition >
15+ <ModuleTransition delay = " 0.04 " >
1616 <h1 v-if =" $frontmatter.isShowTitleInHome !== false" >{{ $frontmatter.heroText || $title || '午后南杂' }}</h1 >
1717 </ModuleTransition >
1818
@@ -184,7 +184,7 @@ export default {
184184 bottom 0
185185 left 0
186186 right 0
187- z-index 0
187+ z-index - 1
188188 & :after {
189189 display block
190190 content ' '
Original file line number Diff line number Diff line change 11---
22home : true
3- heroImage : /hero.png
4- heroImageStyle : {
5- maxWidth : ' 600px' ,
6- width : ' 100%' ,
7- display : block,
8- margin : ' 9rem auto 2rem' ,
9- background : ' #fff' ,
10- borderRadius : ' 1rem' ,
11- }
12- isShowTitleInHome : false
3+ # heroImage: /hero.png
4+ # heroImageStyle: {
5+ # maxWidth: '600px',
6+ # width: '100%',
7+ # display: block,
8+ # margin: '9rem auto 2rem',
9+ # background: '#fff',
10+ # borderRadius: '1rem',
11+ # }
12+ # isShowTitleInHome: false
1313actionText : Guide
1414actionLink : /views/other/guide
1515features :
You can’t perform that action at this time.
0 commit comments