import vueSeamlessScroll from "vue-seamless-scroll";
<vue-seamless-scroll
:data="problemList"
:class-option="verticalOption"
class="seamless-warp"
>
<div v-for="(item, index) in problemList" :key="index" class="list-item">
<div class="item-body">
111
</div>
</div>
</vue-seamless-scroll>
import vueSeamlessScroll from "vue-seamless-scroll";
components: {
vueSeamlessScroll,
},
computed: {
// 垂直滚动配置
verticalOption() {
return {
step: 0.3,
limitMoveNum: 3,
hoverStop: true,
direction: 1,
openWatch: true,
singleHeight: 0,
singleWidth: 0,
waitTime: 1000,
};
},
}
5665

被折叠的 条评论
为什么被折叠?



