docs: update site #117

pull/165/head
tangjinzhou 6 years ago
parent c9431d12bf
commit d3db0558c1

@ -68,7 +68,7 @@ export default {
</a>
</div>
<div>
<a rel='noopener noreferrer' target='_blank' href='https://vuecomponent.github.io/issue-helper/?lang=zh'>
<a rel='noopener noreferrer' target='_blank' href={`https://vuecomponent.github.io/issue-helper/${isCN ? '?lang=zh' : ''}`}>
<span>{isCN ? '报告 Bug' : 'Bug Report'}</span>
</a>
</div>

@ -122,7 +122,7 @@ export default {
return docsMenu
},
resetDocumentTitle (component, name, isCN) {
let titleStr = 'Vue Antd'
let titleStr = 'Ant Design Vue'
if (component) {
const { subtitle, title } = component
const componentName = isCN ? subtitle + ' ' + title : title
@ -236,8 +236,8 @@ export default {
<div v-show={!showSideBars} class='open-drawer' onClick={() => { this.showSideBars = true }}>
<a-icon type='bars'/>
</div>
<a-col style='float: right;' xxl={20} xl={19} lg={19} md={18} sm={24} xs={24}>
<div class='content main-container'>
<a-col class='main-container' xxl={20} xl={19} lg={19} md={18} sm={24} xs={24}>
<div class='content'>
<div class='toc-affix' style='width: 120px;'>
{this.getSubMenu(isCN)}
</div>

@ -8,6 +8,8 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta name="description" content="An enterprise-class UI components based on Ant Design and Vue">
<title>Ant Design Vue</title>
<link rel="icon" type="image/x-icon" href="https://raw.githubusercontent.com/vueComponent/ant-design-vue/master/logo.png">
<style id="nprogress-style">
#nprogress {

@ -94,17 +94,14 @@
font-size: 12px;
}
}
.site-sidebar{
z-index: 1;
}
@media only screen and (max-width: 767.99px) {
.site-sidebar{
position: fixed;
z-index: 1;
overflow-y: scroll;
}
.main-wrapper {
z-index: 11;
margin-top: 0px;
}
.site-sidebar{
width: 100%;
top: 0;
left: 0;
@ -114,8 +111,14 @@
z-index: 1;
position: relative;
min-height: 100%;
border-right: 1px solid #e8e8e8;
}
}
.main-wrapper {
z-index: 11;
margin-top: 0px;
}
.drawer-mask{
background: #000;
opacity: 0;

Loading…
Cancel
Save