微信小程序
大亮亮_前端
运气就是机会碰巧撞到了你的努力。
想,都是问题;做,才是答案!
展开
-
微信小程序 /Date(1537326774000) 字符串(时间戳)转日期
微信小程序 /Date(1537326774000) 字符串(时间戳)转日期首先,把util.js里的内容替换成下列代码。年月日时分// util.js//时间戳转换成日期时间function date_time(val) { var date = new Date(parseInt(val.replace("/Date(", "").replace(")/"...原创 2018-09-19 17:43:17 · 20924 阅读 · 1 评论 -
微信小程序audio的简单实用
wxml<audio src="http://ws.stream.qqmusic.qq.com/M500001VfvsJ21xFqb.mp3" action="{{action}}" ></audio><button type="primary" bindtap="audioPlay" class='audio'>播放</b原创 2018-09-21 13:33:10 · 3994 阅读 · 3 评论