|
3 | 3 | <div class="hero"> |
4 | 4 | <ModuleTransition> |
5 | 5 | <img |
6 | | - v-if="data.isShowHeroImage !== false && recoShowMoudle" |
| 6 | + v-if="data.isShowHeroImage !== false && recoShowModule" |
7 | 7 | :style="heroImageStyle" |
8 | 8 | :src="data.heroImage ? $withBase(data.heroImage) : require('../images/icon_vuepress_reco.png')" |
9 | 9 | alt="hero"> |
10 | 10 | </ModuleTransition> |
11 | 11 | <ModuleTransition delay="0.08"> |
12 | | - <h1 v-if="data.isShowTitleInHome !== false && recoShowMoudle">{{ data.heroText || $title || '午后南杂' }}</h1> |
| 12 | + <h1 v-if="data.isShowTitleInHome !== false && recoShowModule">{{ data.heroText || $title || '午后南杂' }}</h1> |
13 | 13 | </ModuleTransition> |
14 | 14 | <ModuleTransition delay="0.16"> |
15 | | - <p v-if="recoShowMoudle" class="description">{{ $description || 'Welcome to your vuePress-theme-reco site' }}</p> |
| 15 | + <p v-if="recoShowModule" class="description">{{ $description || 'Welcome to your vuePress-theme-reco site' }}</p> |
16 | 16 | </ModuleTransition> |
17 | 17 | <ModuleTransition delay="0.24"> |
18 | | - <p class="huawei" v-if="$themeConfig.huawei === true && recoShowMoudle"> |
| 18 | + <p class="huawei" v-if="$themeConfig.huawei === true && recoShowModule"> |
19 | 19 | <i class="iconfont reco-huawei" style="color: #fc2d38"></i> |
20 | 20 | 华为,为中华而为之! |
21 | 21 | </p> |
22 | 22 | </ModuleTransition> |
23 | 23 | <ModuleTransition delay="0.32"> |
24 | | - <p class="action" v-if="data.actionText && data.actionLink && recoShowMoudle"> |
| 24 | + <p class="action" v-if="data.actionText && data.actionLink && recoShowModule"> |
25 | 25 | <NavLink class="action-button" :item="actionLink"/> |
26 | 26 | </p> |
27 | 27 | </ModuleTransition> |
28 | 28 | </div> |
29 | 29 |
|
30 | 30 | <ModuleTransition delay="0.4"> |
31 | | - <div class="features" v-if="data.features && data.features.length && recoShowMoudle"> |
| 31 | + <div class="features" v-if="data.features && data.features.length && recoShowModule"> |
32 | 32 | <div v-for="(feature, index) in data.features" :key="index" class="feature"> |
33 | 33 | <h2>{{ feature.title }}</h2> |
34 | 34 | <p>{{ feature.details }}</p> |
35 | 35 | </div> |
36 | 36 | </div> |
37 | 37 | </ModuleTransition> |
38 | 38 | <ModuleTransition delay="0.48"> |
39 | | - <Content class="home-center" v-if="recoShowMoudle" custom/> |
| 39 | + <Content class="home-center" v-if="recoShowModule" custom/> |
40 | 40 | </ModuleTransition> |
41 | 41 | </div> |
42 | 42 | </template> |
|
0 commit comments