fix(vuepress-theme-reco): style in timeline page

This commit is contained in:
reco_luan 2020-04-05 00:02:12 +08:00
parent dc22819216
commit f5e7dfe484
7 changed files with 177 additions and 188 deletions

View File

@ -133,7 +133,6 @@ export default {
mounted () {
this.recoShow = true
this._setPage(this._getStoragePage())
console.log(this)
},
methods: {
//

View File

@ -1,11 +1,11 @@
<template>
<div class="theme-container" v-if="!noFoundPageByTencent">
<div class="content">
<section class="theme-container" v-if="!noFoundPageByTencent">
<article class="content">
<h1>404</h1>
<blockquote>{{ getMsg() }}</blockquote>
<router-link to="/">Take me home.</router-link>
</div>
</div>
</article>
</section>
</template>
<script>

View File

@ -1,7 +1,5 @@
<template>
<div class="categories-wrapper">
<!-- 公共布局 -->
<Common :sidebar="false" :isComment="false">
<Common class="categories-wrapper" :sidebar="false" :isComment="false">
<!-- 分类集合 -->
<ModuleTransition>
<ul v-show="recoShowModule" class="category-wrapper">
@ -37,7 +35,6 @@
@getCurrentPage="getCurrentPage"></pagation>
</ModuleTransition>
</Common>
</div>
</template>
<script>

View File

@ -1,11 +1,9 @@
<template>
<div>
<Common>
<component v-if="$frontmatter.home" :is="homeCom"/>
<Page v-else :sidebar-items="sidebarItems"/>
<Footer v-if="$frontmatter.home" class="footer" />
</Common>
</div>
</template>
<script>

View File

@ -1,7 +1,6 @@
<template>
<div class="tag-wrapper">
<!-- 公共布局 -->
<Common :sidebar="false" :isComment="false">
<Common class="tag-wrapper" :sidebar="false" :isComment="false">
<!-- 标签集合 -->
<ModuleTransition>
<TagList
@ -30,7 +29,6 @@
@getCurrentPage="getCurrentPage"></pagation>
</ModuleTransition>
</Common>
</div>
</template>
<script>

View File

@ -1,6 +1,5 @@
<template>
<div class="tags-wrapper">
<Common :sidebar="false" :isComment="false">
<Common class="tags-wrapper" :sidebar="false" :isComment="false">
<!-- 标签集合 -->
<ModuleTransition>
<TagList
@ -29,7 +28,6 @@
@getCurrentPage="getCurrentPage"></pagation>
</ModuleTransition>
</Common>
</div>
</template>
<script>

View File

@ -1,7 +1,6 @@
<template>
<div>
<Common :sidebar="false" :isComment="false">
<ul class="timeline-wrapper">
<Common class="timeline-wrapper" :sidebar="false" :isComment="false">
<ul class="timeline-content">
<ModuleTransition >
<li v-show="recoShowModule" class="desc">Yesterday Once More!</li>
</ModuleTransition>
@ -21,8 +20,6 @@
</ModuleTransition>
</ul>
</Common>
</div>
</template>
<script>
@ -61,9 +58,11 @@ export default {
@require '../styles/wrapper.styl'
.timeline-wrapper
box-sizing border-box
max-width: 740px;
margin: 8rem auto 4rem;
margin: 0 auto;
padding: 4.6rem 2.5rem 0;
.timeline-content
box-sizing border-box
position relative
list-style none
&::after {