uni-app项目展示屏幕文字滚动效果

github地址,喜欢的可以star下哦

插件预览图

使用教程

1.插件代码拷贝

  • 下载后把components目录下screenTextScroll.vue文件拷贝到自己项目目录下

2.插件全局配置

  • 在项目里main.js中配置如下代码
import screenTextScroll from './components/screenTextScroll.vue'

Vue.component('textscroll',screenTextScroll)

3.插件使用

  • vue页面使用






兼容性

uni-app项目中使用都兼容

你可能感兴趣的:(混合app,混合编程,javascript)