Commit a76be23f by liudx

修改首页白边

parent f574b783
......@@ -11,6 +11,7 @@
<style lang="less">
#app {
height: 100%;
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
......@@ -26,12 +27,7 @@
font-style: normal;
}
html,
body,
#app {
// height: 100%;
// min-height:1020px;
}
::-webkit-scrollbar {
width: 10px;
}
......
......@@ -242,7 +242,6 @@
:description="'暂无数据'"
/>
</div>
<br />
<a-pagination
v-if="(!search_word)"
......@@ -687,6 +686,9 @@ export default {
};
</script>
<style lang="less" scoped>
.home{
height: auto !important;
}
.header_con {
position: absolute;
top: 0;
......
<template>
<div class="home">
<div class="home" :style="[(current=='专利'||current=='企业')?'height:auto':'height:100%']">
<!-- 标题栏 -->
<HeaderCon></HeaderCon>
......@@ -88,7 +88,7 @@ export default {
},
methods: {
changepage(name) {
// console.log(name)
switch (name) {
case "企业":
this.$router.push({
......@@ -130,7 +130,6 @@ export default {
watch: {
$route() {
let path = this.$route.path;
console.log(path);
switch (path) {
case "/company":
localStorage.setItem("current", "企业");
......@@ -177,8 +176,7 @@ export default {
</script>
<style lang="less" scoped>
.home {
height: calc(100%);
min-height: 960px;
height: 100%;
width: calc(100%);
position: relative;
......
......@@ -190,8 +190,9 @@ export default {
height: 60px;
}
.login {
height: 100%;
background-color: #fafbfe;
min-height: 900px;
// min-height: 900px;
background-image: url("../../static/login/img-bg.png");
background-size: 100% 100%;
header {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment