File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed
Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 4545 <div class =" ListBottom" v-if =" AticleBottom" >你滑到我底线啦</div >
4646 <Pagination v-on:PaginationToParent =" ValueByPagition" ref =" Pagi" ></Pagination >
4747 </div >
48- <div class =" BlogIndexContentRight" >
48+ <div class =" BlogIndexContentRight blogindex-page " >
4949 <div class =" Module HotArticleModule" >
5050 <transition name =" Fade" >
5151 <img src =" ../../static/img/HotArticleList.jpg" v-if =" DefaultGraph.HotArticlePart" >
Original file line number Diff line number Diff line change 129129 </div >
130130 </div >
131131 <div
132- class =" BlogIndexContentRight"
132+ class =" BlogIndexContentRight messageboard-page "
133133 style =" border : 1px solid #e9e9e9 ; border-radius : 3px "
134134 >
135135 <div
@@ -763,6 +763,12 @@ export default {
763763 opacity : 0.8 ;
764764 }
765765 }
766+
767+ .messageboard-page {
768+ position : sticky ;
769+ position : -webkit-sticky ;
770+ top : 60px ;
771+ }
766772}
767773
768774/* 移动端*/
Original file line number Diff line number Diff line change 1818 width : 25% ;
1919 margin-left : 0.5rem ;
2020 border-radius : 2px ;
21+ position :sticky ;
22+ position : -webkit-sticky ;
23+ top :72px ;
2124 }
2225 .BigBlock {
2326 padding : 1rem 1rem 2rem 1rem ;
Original file line number Diff line number Diff line change 2828 width : 25% ;
2929 }
3030
31+ .blogindex-page {
32+ position : sticky ;
33+ position : -webkit-sticky ;
34+ top : -200px ;
35+ }
36+
3137 .ArticleItem {
3238 margin-top : 1rem ;
3339 background-color : @fore_color ;
You can’t perform that action at this time.
0 commit comments