weex自动来回滚动公告组件

【weex自动来回滚动公告组件】项目中最近又个业务,要写一个自动滚动的组件,本想找一个现成的组件,但是找不到,然后就开始造轮子了

.notice { width: 750px; height: 67px; background-color: rgba(254, 236, 191, 1); flex-direction: row; align-items: center; justify-content: space-between; } .notice-mask { position: absolute; top: 0; left: 70px; width: 560px; height: 67px; }.notice-left { width: 550px; height: 67px; flex-direction: row; align-items: center; }.notice-text { color: #2E2E2E; font-size: 24px; color: rgba(234, 138, 48, 1); }.notice-right-text { color: #f78c3d; font-size: 24px; padding-right: 20px; color: rgba(68, 104, 136, 1); }.notice-icon { width: 30px; height: 30px; margin-left: 20px; margin-right: 10px; }

    推荐阅读