docs: update site #117

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

@ -68,7 +68,7 @@ export default {
</a> </a>
</div> </div>
<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> <span>{isCN ? '报告 Bug' : 'Bug Report'}</span>
</a> </a>
</div> </div>

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

@ -8,6 +8,8 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0"> <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"> <link rel="icon" type="image/x-icon" href="https://raw.githubusercontent.com/vueComponent/ant-design-vue/master/logo.png">
<style id="nprogress-style"> <style id="nprogress-style">
#nprogress { #nprogress {

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

Loading…
Cancel
Save