Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Liqiankun/wepy-notice-bar
WeApp component supports WEPY 微信小程序滚动通知栏
https://github.com/Liqiankun/wepy-notice-bar
notice-bar weapp wepy wepy-notice-bar wepy-noticebar
Last synced: about 2 months ago
JSON representation
WeApp component supports WEPY 微信小程序滚动通知栏
- Host: GitHub
- URL: https://github.com/Liqiankun/wepy-notice-bar
- Owner: Liqiankun
- Created: 2018-08-02T07:40:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-05T08:50:33.000Z (about 4 years ago)
- Last Synced: 2024-10-28T22:15:09.195Z (2 months ago)
- Topics: notice-bar, weapp, wepy, wepy-notice-bar, wepy-noticebar
- Language: JavaScript
- Homepage:
- Size: 1.2 MB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wepy - wepy-notice-bar:一个可以滚动的通知栏
README
![](https://github.com/Liqiankun/DLNoticeBar/blob/master/noticeBar.png)
[![npm package](https://nodei.co/npm/wepy-notice-bar.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/wepy-notice-bar)
## 说明
一个可以滚动的通知栏,在WEPY完美运行。支持多种样式,可以自定义滚动时间,延时,是否可关闭和图标自定义。## 运行项目
```
npm install wepy-cli -g
wepy build --watch
```
更多关于Wepy请到[Wepy官方文档](https://wepyjs.github.io/wepy-docs/2.x/#/base/getstart)## 安装
```
npm install wepy-notice-bar --save
```## 使用
```
import NoticeBar from 'wepy-notice-bar'
普通通告栏
this.$invoke('NoticeBar', 'animate')
```