大屏可视化项目之vue3-seamless-scroll无缝滚动组件(一)——基本使用_vue seamless scroll官网

import { defineComponent, ref } from “vue”;
import { Vue3SeamlessScroll } from “vue3-seamless-scroll”;

export default defineComponent({
name: “App”,
components: {
Vue3SeamlessScroll
},
setup() {
const list = ref([
{
title: “Vue3.0 无缝滚动组件展示数据第1条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第2条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第3条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第4条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第5条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第6条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第7条”,
date: Date.now(),
},
{
title: “Vue3.0 无缝滚动组件展示数据第8条”,
date: Date.now(),
},
{

你可能感兴趣的:(vue.js,javascript,前端)