|
|
|
|
|
|
|
|
if (this.contentHeightList) { |
|
|
if (this.contentHeightList) { |
|
|
this.contentHeightList.forEach( (el,inx) => { |
|
|
this.contentHeightList.forEach( (el,inx) => { |
|
|
if(scrollTop >= el && scrollTop <= this.contentHeightList[inx + 1]){ |
|
|
if(scrollTop >= el && scrollTop <= this.contentHeightList[inx + 1]){ |
|
|
console.log(el,inx); |
|
|
|
|
|
this.moveIndex = inx; |
|
|
this.moveIndex = inx; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
margin-bottom: 10px; |
|
|
margin-bottom: 10px; |
|
|
|
|
|
|
|
|
@include font(16px, $color-white); |
|
|
@include font(16px, $color-white); |
|
|
@include size(90px, 50px); |
|
|
|
|
|
|
|
|
@include size(108px, 60px); |
|
|
background-image: linear-gradient(135deg, #0184d067 0%, #0841d041 100%); |
|
|
background-image: linear-gradient(135deg, #0184d067 0%, #0841d041 100%); |
|
|
@include flex(row, center, center, null); |
|
|
@include flex(row, center, center, null); |
|
|
} |
|
|
} |