咏竹莉
where there is a will,there is a way
posts - 132,comments - 1,views - 66816
01 2022 档案
小程序跳转报错:switchTab:fail can not switch to no-tabBar page
摘要:使用小程序跳转页面的时候报错: 原因: 注意switchTab只能跳转到带有tab的页面,不能跳转到不带tab的页面 跳转不带tab的页面还是用redirectTo或者navigateTo 我这里因为之前是有tab底部导航的,但是现在没有,所以跳转报错 wx.navigateTo({ url: '/ 阅读全文
posted @ 2022-01-27 16:01 咏竹莉 阅读(1496) 评论(0) 推荐(0) 编辑
微信小程序中使用iconfont
摘要:https://www.cnblogs.com/wisewrong/p/8926849.html 阅读全文
posted @ 2022-01-27 10:18 咏竹莉 阅读(29) 评论(0) 推荐(0) 编辑
HTTP请求中的 header query 和body
摘要:HTTP 请求中 header query 和 body的区别 header 显而易见是请求头 query 是指请求的参数,一般是指URL 中 ?后面的参数 如: http://10.6.6.6:8080/api/v1/namespaces?pretty=true中 pretty=true就是que 阅读全文
posted @ 2022-01-14 11:04 咏竹莉 阅读(1152) 评论(0) 推荐(1) 编辑
时间戳转日期、日期转时间戳
摘要:function formatNumber(n) { n = n.toString() return n[1] ? n : '0' + n } /** * 时间戳转化为年 月 日 时 分 秒 * number: 传入时间戳 * format:返回格式,支持自定义,但参数必须与formateArr里保 阅读全文
posted @ 2022-01-13 14:57 咏竹莉 阅读(411) 评论(0) 推荐(0) 编辑
微信小程序中使用echarts微信版
摘要:1. 首先下载echarts微信版 地址: https://github.com/ecomfe/echarts-for-weixin/tree/master/ec-canvas 下载后文件夹,放到项目根目录结构如图: 2、在使用的.xml中写入: <view class="onOffChart"> 阅读全文
posted @ 2022-01-13 14:53 咏竹莉 阅读(236) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示