摘要: function formatDate(date) { /** * 格式化日期 * @param {Date|String} date 日期或日期字符串 */ function _isString(val) { return Object.prototype.toString.call(val) ' 阅读全文
posted @ 2023-06-29 14:21 ZeroShiro 阅读(30) 评论(0) 推荐(0) 编辑
摘要: https://github.com/ZeroShiro/timeClick 阅读全文
posted @ 2022-06-24 15:57 ZeroShiro 阅读(353) 评论(0) 推荐(0) 编辑
摘要: import Axios from "axios"; import Vue from "vue"; let exprotUtils = { exportX2(url, fromData, fileName, method = "POST", HOST = "") { let hostUrl = '默 阅读全文
posted @ 2022-03-17 17:21 ZeroShiro 阅读(161) 评论(0) 推荐(0) 编辑
摘要: import E from 'wangeditor'; import Vue from 'vue'; const { $, BtnMenu, DropListMenu, PanelMenu, DropList, Panel, Tooltip } = E; export class AlertMenu 阅读全文
posted @ 2022-03-17 17:17 ZeroShiro 阅读(566) 评论(0) 推荐(0) 编辑
摘要: /** * * @param {num} 格式化数数字保留2位 * @param {max} 最大值 * @param {min} 最小值 * @param {isFen} 最大值是否是分单位 * @param {returnMax} 超过最大值返回值 * @return {*num} */ fun 阅读全文
posted @ 2021-08-16 14:24 ZeroShiro 阅读(395) 评论(0) 推荐(0) 编辑
摘要: https://github.com/ZeroShiro/mys_lazyImg 阅读全文
posted @ 2020-09-08 16:57 ZeroShiro 阅读(5152) 评论(0) 推荐(0) 编辑
摘要: let videoAd = null; let adVideoUtils = { /** * @param {String} adUnitId 小程序广告视频id * videoAdInit 初始化广告 */ videoAdInit(adUnitId) { if (videoAd) { videoA 阅读全文
posted @ 2020-08-19 17:52 ZeroShiro 阅读(2165) 评论(0) 推荐(0) 编辑
摘要: https://ext.dcloud.net.cn/plugin?id=2435 阅读全文
posted @ 2020-08-04 14:30 ZeroShiro 阅读(964) 评论(0) 推荐(0) 编辑
摘要: /* * JavaScript MD5 * https://github.com/blueimp/JavaScript-MD5 * * Copyright 2011, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT 阅读全文
posted @ 2020-07-15 15:32 ZeroShiro 阅读(299) 评论(0) 推荐(0) 编辑
摘要: H5支付文档 https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=9_20&index=1 1.发送请求所需要的参数 /* 微信后台 设置的key 怎么拿到key https://jingyan.baidu.com/article/c14654 阅读全文
posted @ 2020-07-15 15:22 ZeroShiro 阅读(860) 评论(0) 推荐(0) 编辑