会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
度半
博客园
首页
博问
闪存
新随笔
订阅
管理
2019年10月22日
日期转换
摘要: let pritime = "2018-04-07 14:38:16"; let minute = 1000 * 60; let hour = minute * 60; let day = hour * 24; let halfamonth = day * 15; let month = day *
阅读全文
posted @ 2019-10-22 15:31 久巷
阅读(133)
评论(0)
推荐(0)
编辑
2019年3月5日
Taro button点击切换选中状态
摘要: 1、引入组件 2、state中设置选中状态 // button按钮的默认选中,0代表选中 state = { currentIndex: 0 } 3、设置class的样式,点击更改选中 selectNew(){ this.setState({currentIndex:0}); } selectOld
阅读全文
posted @ 2019-03-05 18:30 久巷
阅读(1996)
评论(0)
推荐(0)
编辑
2019年2月18日
Taro-ui TabBar组件使用路由跳转
摘要: 1、 安装taro-ui (此处使用cnpm) cnpm install taro-ui 2、 全局引入样式 app.scss sass :@import "~taro-ui/dist/style/index.scss"; 3、 使用tabBar组件中引入AtTabBar ,详情可查询官网:http
阅读全文
posted @ 2019-02-18 11:11 久巷
阅读(5905)
评论(0)
推荐(0)
编辑