Authored by 陈轩

save

... ... @@ -29,6 +29,11 @@
this.list = res.data;
});
}
// ,
// ready() {
// var a =document.querySelector('.sidebar')
// alert(a.getBoundingClientRect().width)
// }
};
</script>
... ... @@ -37,19 +42,27 @@
html {
font-size: 60px !important;
overflow-x: hidden;
}
.sidebar {
#sidebar {
position: fixed;
width: 100%;
background: $white;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
}
.sidebar {
background: $white;
.item {
position: relative;
display: block;
padding: 0 30px;
width: 100%;
height: 126px;
line-height: 126px;
font-size: 30px;
... ...