111 lines
4.0 KiB
Vue
111 lines
4.0 KiB
Vue
<template>
|
||
<ParentLayout>
|
||
<div slot="sidebar-top">
|
||
<div style="text-align: center; margin-top: 10px;">
|
||
<!-- <div>
|
||
<span style="font-size: 13px;">扫第一个二维码完成打赏,扫第二个进微信群聊</span>
|
||
<p style="margin-top: 10px;">
|
||
<img src="/dz.png" style="width: 120px; margin-right: 20px;"></img>
|
||
<img src="/dz2.jpeg" style="width: 120px;"></img>
|
||
</p>
|
||
</div> -->
|
||
<div class="side-nav-item" :style="activeLinkStyle('/overview/') + 'margin-left: 0;'">
|
||
<a href="/overview/" class="nav-link">简介</a>
|
||
</div>
|
||
<div class="side-nav-item" :style="activeLinkStyle('/install/')">
|
||
<a href="/install/install-dashboard.html" class="nav-link router-link-exact-active router-link-active">安装</a>
|
||
</div>
|
||
<div class="side-nav-item" :style="activeLinkStyle('/learning/')">
|
||
<a href="/learning/" class="nav-link router-link-exact-active router-link-active">学习</a>
|
||
</div>
|
||
<div class="side-nav-item" :style="activeLinkStyle('/guide/')">
|
||
<a href="/guide/" class="nav-link">使用</a>
|
||
</div>
|
||
<div class="side-nav-item" :style="activeLinkStyle('/support/')">
|
||
<a href="/support/" class="nav-link">支持</a>
|
||
</div>
|
||
<!-- <div class="side-nav-item" :style="activeLinkStyle('/noactive/')">
|
||
<a href="https://blog.kuboard.cn/compaign/" target="_blank" class="nav-link">博客</a>
|
||
</div> -->
|
||
</div>
|
||
<StarGazer/>
|
||
</div>
|
||
<div slot="page-top" class="theme-default-content content__default page-top">
|
||
<div class="tip custom-block" style="padding: 10px 20px;">
|
||
<div style="display: inline-block; vertical-align: top;">
|
||
<li><span style="color: red; font-weight: 500;">免费</span> Kubernetes 教程,绝不降低品质</li>
|
||
<!-- <li><span style="color: red; font-weight: 500;">在线答疑</span> 扫第一个二维码完成打赏,扫第二个进微信群聊</li> -->
|
||
<li><Qq></Qq> <span style="color: red; font-weight: 500;">在线答疑</span>,也可以扫描左侧导航<span style="color: red; font-weight: 500;">下方</span>的二维码加群</li>
|
||
|
||
<!-- <li>根据答疑反馈,<span style="color: red; font-weight: 500;">不断完善</span> 教程</li> -->
|
||
</div>
|
||
<!-- <div style="display: inline-block; margin-left: 10px;">
|
||
<img src="/images/dz.png" style="width: 100px; margin-right: 100px;"></img>
|
||
<img src="/images/dz2.jpeg" style="width: 100px;"></img>
|
||
</div> -->
|
||
</div>
|
||
</div>
|
||
<div slot="page-bottom" class="bottom-description">Copyright © 2019-present 邵欢庆 <a href="http://www.eigpay.com" target="_blank">仁聚汇通</a> | 京ICP备19008693号-2
|
||
<script>
|
||
(function(){
|
||
var bp = document.createElement('script');
|
||
var curProtocol = window.location.protocol.split(':')[0];
|
||
if (curProtocol === 'https') {
|
||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||
}
|
||
else {
|
||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||
}
|
||
var s = document.getElementsByTagName('script')[0];
|
||
s.parentNode.insertBefore(bp, s);
|
||
})();
|
||
</script>
|
||
</div>
|
||
</ParentLayout>
|
||
</template>
|
||
|
||
<script>
|
||
import ParentLayout from '@parent-theme/layouts/Layout.vue'
|
||
|
||
export default {
|
||
mounted () {
|
||
},
|
||
components: {
|
||
ParentLayout
|
||
},
|
||
methods: {
|
||
activeLinkStyle(href) {
|
||
if (this.$page.path.indexOf(href) === 0) {
|
||
return 'border-bottom: 2px solid #0b85ff;'
|
||
} else {
|
||
return ''
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style scoped>
|
||
.page-top {
|
||
margin-bottom: -80px !important;
|
||
}
|
||
.bottom-description {
|
||
text-align: center;
|
||
font-size: 0.8rem;
|
||
color: #909399;
|
||
margin-top: 2rem;
|
||
}
|
||
.side-nav-item {
|
||
margin-bottom: -2px;
|
||
margin-left: 10px;
|
||
display: inline-block;
|
||
line-height: 1.4rem;
|
||
white-space: nowrap;
|
||
font-size: 1rem;
|
||
cursor: pointer;
|
||
}
|
||
.side-nav-item a {
|
||
color: #2c3e50;
|
||
}
|
||
</style>
|