- 博客(4)
- 收藏
- 关注
原创 uni小程序预览pdf、word文档
toReport(path) { path = path || http.......slfjlf.pdf let first = path.lastIndexOf(".");//取到文件名开始到最后一个点的长度 let suffixName = path.substring(first, path.length );//截取获得后缀名 uni.showLoading({ title:'加载中,请稍后~' }) const fs = uni.getF
2021-01-25 16:16:00 1619 2
原创 js指定时间加n个月函数
function setTime(date, month) { var strDate; var oldDate = strToDate(date); var newDate = strToDate(new Date()); newDate.setMonth(newDate.getMonth() + month); var yy1 = ...
2019-03-15 10:06:25 685
原创 js倒计时
resetTime(time) { this.timer = setInterval(() => { let now_time = new Date() let end_time = new Date(time) let t = end_time.getTime() - now_time.getTime() let ...
2019-01-31 16:25:19 64
转载 0.5px
0.5px.scale_border {positon : relative;}.scale_border::after {content : “”;width : 200%;height : 200%;position : absolute;top : 0;left : 0;border : 1px solid #dedede;-webkit-transform : sc...
2019-01-31 16:16:24 168
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人