|
@@ -5,7 +5,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="md-swaper" @click="clearSearch" v-else>
|
|
<div class="md-swaper" @click="clearSearch" v-else>
|
|
|
<div class="hder">
|
|
<div class="hder">
|
|
|
-
|
|
|
|
|
|
|
+ <div class="logo">
|
|
|
|
|
+ <a href="#/index" class="logo-link">
|
|
|
|
|
+ <img src="./asset/css/i/nut.png" alt>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ <span class="version">v{{version}}</span>
|
|
|
|
|
+ </div>
|
|
|
<div class="h-nav">
|
|
<div class="h-nav">
|
|
|
<search/>
|
|
<search/>
|
|
|
<ul class="list">
|
|
<ul class="list">
|
|
@@ -37,10 +42,10 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="demo-wrapper">
|
|
<div class="demo-wrapper">
|
|
|
- <router-view class="demo-nav fixed-box"></router-view>
|
|
|
|
|
|
|
+ <router-view class="demo-nav"></router-view>
|
|
|
|
|
|
|
|
<keep-alive include="index">
|
|
<keep-alive include="index">
|
|
|
- <router-view class="doc-cont fl-right" :class="showPhone?'':'docpad'" name="main"></router-view>
|
|
|
|
|
|
|
+ <router-view class="doc-cont" :class="showPhone?'':'docpad'" name="main"></router-view>
|
|
|
</keep-alive>
|
|
</keep-alive>
|
|
|
<div v-if="showPhone" class="showPhone">
|
|
<div v-if="showPhone" class="showPhone">
|
|
|
<div class="ph">
|
|
<div class="ph">
|
|
@@ -76,6 +81,7 @@
|
|
|
import "./asset/css/common.scss";
|
|
import "./asset/css/common.scss";
|
|
|
import "./asset/css/style-blue.scss";
|
|
import "./asset/css/style-blue.scss";
|
|
|
import { packages } from "../../src/config.json";
|
|
import { packages } from "../../src/config.json";
|
|
|
|
|
+import { version } from "../../package.json";
|
|
|
import search from "./search.vue";
|
|
import search from "./search.vue";
|
|
|
import leftNav from './info.vue'
|
|
import leftNav from './info.vue'
|
|
|
export default {
|
|
export default {
|
|
@@ -89,7 +95,8 @@ export default {
|
|
|
showPhone: false,
|
|
showPhone: false,
|
|
|
searchCurName: "",
|
|
searchCurName: "",
|
|
|
searchIndex: 0,
|
|
searchIndex: 0,
|
|
|
- codeurl: ""
|
|
|
|
|
|
|
+ codeurl: "",
|
|
|
|
|
+ version
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
@@ -196,14 +203,6 @@ export default {
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
-.fixed-box{
|
|
|
|
|
- position: fixed;
|
|
|
|
|
- z-index: 99999;
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- height: 100%;
|
|
|
|
|
- overflow-y: scroll;
|
|
|
|
|
- top:0;
|
|
|
|
|
-}
|
|
|
|
|
.fade-enter-active,
|
|
.fade-enter-active,
|
|
|
.fade-leave-active {
|
|
.fade-leave-active {
|
|
|
transition: opacity 0.5s;
|
|
transition: opacity 0.5s;
|
|
@@ -234,7 +233,27 @@ export default {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
margin-bottom: 50px;
|
|
margin-bottom: 50px;
|
|
|
z-index: 42;
|
|
z-index: 42;
|
|
|
-
|
|
|
|
|
|
|
+ .logo {
|
|
|
|
|
+ width: 295px;
|
|
|
|
|
+ height: 65px;
|
|
|
|
|
+ border-right: 1px solid #d8d8d8;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ .logo-link {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ }
|
|
|
|
|
+ img {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 120px;
|
|
|
|
|
+ height: 46px;
|
|
|
|
|
+ flex-grow: 0;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ margin: 0 10px 0 30px;
|
|
|
|
|
+ }
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ }
|
|
|
.version {
|
|
.version {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
margin-top: 7px;
|
|
margin-top: 7px;
|
|
@@ -246,7 +265,6 @@ export default {
|
|
|
padding-left: 42px;
|
|
padding-left: 42px;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- margin-left: 300px;
|
|
|
|
|
select {
|
|
select {
|
|
|
width: 74px;
|
|
width: 74px;
|
|
|
height: 28px;
|
|
height: 28px;
|
|
@@ -414,9 +432,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .fl-right{
|
|
|
|
|
- margin-left: 310px;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
.foot {
|
|
.foot {
|
|
|
height: 120px;
|
|
height: 120px;
|
|
@@ -429,8 +444,6 @@ export default {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
bottom: 0;
|
|
bottom: 0;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- padding-left: 300px;
|
|
|
|
|
- box-sizing: border-box;
|
|
|
|
|
a {
|
|
a {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
text-decoration: none;
|
|
text-decoration: none;
|