fix: 抽离底部组件

This commit is contained in:
MTrun
2021-12-17 14:19:55 +08:00
parent 557ddd6ee5
commit 4273682d51
4 changed files with 31 additions and 9 deletions
+3 -9
View File
@@ -105,10 +105,7 @@
</div>
<div class="go-login-box-footer">
<n-a>{{ $t('global.doc_addr') }}: </n-a>
<n-a italic href="http://www.mtruning.club/">
http://www.mtruning.club/
</n-a>
<Footer />
</div>
</div>
</template>
@@ -126,6 +123,7 @@ import { useDesignStore } from '@/store/modules/designStore/designStore'
import { ThemeSelect } from '@/components/ThemeSelect'
import { LangSelect } from '@/components/LangSelect'
import { Header } from '@/layout/components/Header'
import { Footer } from '@/layout/components/Footer'
import { PageEnum } from '@/enums/pageEnum'
import {
PersonOutline as PersonOutlineIcon,
@@ -292,12 +290,8 @@ $carousel-image-height: 60vh;
&-footer {
z-index: 2;
position: fixed;
bottom: 0;
width: 100%;
height: $footer-height;
text-align: center;
line-height: $footer-height;
color: $--color-text-2;
bottom: 0;
}
&-bg {