![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
夏天有风~
这个作者很懒,什么都没留下…
展开
-
微信小程序——自定义底部菜单
开发微信小程序时通常需要自定义底部菜单内容,来实现不同的主要页面之间的切换。想要实现此功能只需要在 app.json 中配置即可。 具体代码如下: "pages": [ ... ], "window": { ... }, "tabBar": { "list": [ { "pagePath": "pages/index/index", // 此菜单切换的页...原创 2019-04-20 21:39:44 · 1406 阅读 · 0 评论 -
微信小程序——轮播图
开发微信小程序时有时需要实现图片轮播图的功能,这时就需要用到微信自定义的 wxml 语法中的 标签,还需要在 .js 文件中设置。 .wxml 文件中编写代码如下: <!-- 轮播图 --> <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" d...原创 2019-04-20 23:56:40 · 232 阅读 · 0 评论