add footer
This commit is contained in:
1 parent
117abbda2a
commit
c35a8d6ad9
5 files changed
+56
-5
No files matched your search
@@ -0,0 +1,43 @@
|
|||||||
|
<template>
|
||||||
|
<el-container id="footer" class="footer pt-7">
|
||||||
|
<el-row class="w-full">
|
||||||
|
<el-col class="container" :span="18" :offset="3">
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="12" :offset="6" class="p-t text-center">
|
||||||
|
<p>
|
||||||
|
<span
|
||||||
|
><a href="https://academy.zhishuyun.com">{{ $t('common.entity.website') }}</a> ©
|
||||||
|
{{ new Date().getFullYear() }} {{ $t('common.entity.copyright') }}
|
||||||
|
</span>
|
||||||
|
<span class="ml-2">
|
||||||
|
<a href="https://beian.miit.gov.cn/">京ICP备18021371号-2 </a>
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'BottomFooter',
|
||||||
|
data() {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
computed: {},
|
||||||
|
methods: {}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
$height: 80px;
|
||||||
|
.footer {
|
||||||
|
height: $height;
|
||||||
|
background-image: radial-gradient(circle at 15% -3%, #365280, #080e17 116%);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
|
website: '知数云',
|
||||||
|
copyright: '版权所有',
|
||||||
platform: '平台',
|
platform: '平台',
|
||||||
title: '标题',
|
title: '标题',
|
||||||
icon: '图标',
|
icon: '图标',
|
||||||
|
|||||||
@@ -3,24 +3,28 @@
|
|||||||
<el-header>
|
<el-header>
|
||||||
<top-header />
|
<top-header />
|
||||||
</el-header>
|
</el-header>
|
||||||
<el-container>
|
|
||||||
<el-main> <router-view /> </el-main>
|
<el-main> <router-view /> </el-main>
|
||||||
</el-container>
|
<el-footer>
|
||||||
|
<bottom-footer />
|
||||||
|
</el-footer>
|
||||||
</el-container>
|
</el-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { TopHeader } from '@/components/common/index';
|
import { TopHeader } from '@/components/common/index';
|
||||||
|
import BottomFooter from '@/components/common/BottomFooter.vue';
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TopHeader
|
TopHeader,
|
||||||
|
BottomFooter
|
||||||
},
|
},
|
||||||
name: 'LayoutCourse'
|
name: 'LayoutCourse'
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.el-header {
|
.el-header,
|
||||||
|
.el-footer {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -163,9 +163,10 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.episodes {
|
.episodes {
|
||||||
|
padding: 50px;
|
||||||
.episode {
|
.episode {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-top: 2rem;
|
margin-bottom: 2rem;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
border-radius: 0.934rem !important;
|
border-radius: 0.934rem !important;
|
||||||
.left {
|
.left {
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.courses {
|
.courses {
|
||||||
|
padding: 50px;
|
||||||
.course {
|
.course {
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
height: 360px;
|
height: 360px;
|
||||||
|
|||||||
Reference in new issue
Block a user