微信小程序 滚动消息通知
来源:互联网 发布:入驻淘宝费用是多少 编辑:程序博客网 时间:2024/06/06 09:29
<!--index.wxml--><swiper class="swiper_container" vertical="true" autoplay="true" circular="true" interval="1000"> <block wx:for="{{msgList}}"> <navigator url="/pages/index/index?title={{item.url}}" open-type="navigate"> <swiper-item> <view class="swiper_item">{{item.title}}</view> </swiper-item> </navigator> </block></swiper>
//index.js//获取应用实例var app = getApp()Page({ data: { }, onLoad(e) { console.log(e.title) this.setData({ msgList: [ { url: "url", title: "多地首套房贷利率上浮 热点城市渐迎零折扣时代" }, { url: "url", title: "交了20多年的国内漫游费将取消 你能省多少话费?" }, { url: "url", title: "北大教工合唱团出国演出遇尴尬:被要求给他人伴唱" }] }); }})
/**index.wxss**/.swiper_container { background-color: red; height: 50rpx; width: 80vw;}.swiper_item { font-size: 30rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
阅读全文
0 0
- 微信小程序 滚动消息通知
- 【小程序】微信小程序-滚动消息通知
- 微信小程序-滚动消息通知效果
- 微信小程序Form通知
- 微信小程序滚动区域
- 微信小程序上下滚动
- Android 如何让程序定时进行消息通知到通知栏
- <marquee>通知滚动
- 纵向滚动通知
- 滚动通知(中奖公告)
- 滚动的通知窗口
- 触发器能向程序提供消息或其它方法可以让触发器通知程序
- 触发器能向程序提供消息或其它方法可以让触发器通知程序
- 触发器能向程序提供消息或其它方法可以让触发器通知程序
- 关于通知消息
- iphone 消息通知
- App消息通知机制
- anroid Notification消息通知
- 理解C语言二维数组名
- MFC DestroyWindow
- PHP在使用json_encode格式转换问题
- (一) u-boot 基本介绍
- 唠一唠Linux系统入门的方法和经验
- 微信小程序 滚动消息通知
- Oracle函数
- atitit 体系搭建的方法 解决方案 attilax总结.docx
- javaseday06(构造函数,this,static,main)
- C语言模式实现C++继承和多态
- atitit 总裁 执行长 分部负责人 ceo 总经理 执行委员会主席 日常工作职责.docx
- vue和php协作,开发环境不一致的问题?
- RSA客户端(android/ios)与服务端的通信实现
- Atitit 人员招募之道 attilax著