06 2020 档案

uniapp转时间戳
摘要:timeStamp: function(value) { var date = new Date(value*1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000 var year = date.getFullYear(); var month = ("0" + (date 阅读全文

posted @ 2020-06-19 15:56 Just丶随心 阅读(3909) 评论(0) 推荐(0) 编辑

uniapp跨域
摘要:用HbuilderX内置浏览器直接预览 https://ask.dcloud.net.cn/article/35267 阅读全文

posted @ 2020-06-16 09:25 Just丶随心 阅读(328) 评论(0) 推荐(0) 编辑

uniapp图片文件转base64
摘要:fileUpload() { let _this = this; uni.chooseImage({ count: 1, success: res => { this.urlTobase64(res.tempFilePaths[0]); } }) }, // 获取图片信息 urlTobase64(u 阅读全文

posted @ 2020-06-10 14:08 Just丶随心 编辑

< 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

导航

统计

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