vue-slide-for-more
Version:
A vuejs(vue2) component for loading more data when the content was slide to the bottom on mobile, provided refresh function, supported SSR
2 lines (1 loc) • 648 B
CSS
.transition{transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.slide-for-more-base-wrap{position:relative;background:#f5f5f5;overflow:auto }.slide-for-more-base-wrap .slide-for-more-top-tip-wrap{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:100%;color:#ccc;overflow:hidden}.slide-for-more-base-wrap .slide-for-more-content{position:relative;z-index:2;background:#fafafa;box-shadow:0 .02rem .05rem rgba(0,0,0,0.05)}.slide-for-more-base-wrap .slide-for-more-tip-wrap{display:flex;align-items:center;justify-content:center;position:absolute;left:0;bottom:0;width:100%;color:#ccc;overflow:hidden}