摘要:
在 utils 中自行新建文件 tool.js ,放入下放js代码 /** * function: 60秒内(刚刚),60秒至60分钟(**分钟前),1小时至24小时(**小时前),1天至15天(**天前),其他为正常日期显示 * @number 時間戳 */ function formatMsgT 阅读全文
posted @ 2020-12-03 15:54
鹏仔先生
阅读(40)
评论(0)
推荐(0)
摘要:
<button class="operation-list" type="button" open-type="share">分享</button> 做小程序时,给文章底部添加分享、收藏等功能,分享用的官方自带方法(onShareAppMessage),必须使用button标签,并添加open-ty 阅读全文
posted @ 2020-12-03 15:50
鹏仔先生
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号