|
|
@@ -62,7 +62,7 @@ export default {
|
|
|
mounted(){
|
|
|
this.heightSlot = this.$slots.default[0].elm.offsetHeight;
|
|
|
if(this.heightSlot<400){
|
|
|
- this.siteHeight = {height:this.heightSlot + 'px'};
|
|
|
+ this.siteHeight = {height:''};
|
|
|
}else{
|
|
|
this.siteHeight = {height:'300px'};
|
|
|
}
|
|
|
@@ -74,6 +74,7 @@ export default {
|
|
|
position: relative;
|
|
|
|
|
|
background: #F2F4F5;
|
|
|
+ margin: 16px 0;
|
|
|
}
|
|
|
.hasPadding{
|
|
|
padding-bottom:30px;
|
|
|
@@ -89,7 +90,7 @@ export default {
|
|
|
height: 30px;
|
|
|
width: 100%;
|
|
|
bottom: 0;
|
|
|
- background: linear-gradient(rgba(255, 255, 255, 0.2),#fafafa);
|
|
|
+ background: linear-gradient(rgba(255, 255, 255, 0),#fafafa);
|
|
|
position: absolute;
|
|
|
z-index: 999 ;
|
|
|
text-align: center;
|