摘要:
用js 写的倒计时逻辑。 countDown(time) { let sTime = { min1: '',//十位分钟 min2: '',//个位分钟 second: '',//十位秒 second2: '',//个位秒 }; var cut_time = time; let timer = se 阅读全文
posted @ 2021-08-18 18:15
吃好每一口饭
阅读(298)
评论(0)
推荐(0)
摘要:
getRequestParams() { const url = window.location.search; // 获取url中"?"符后的字串 const theRequest = {}; if (url.indexOf('?') !== -1) { const str = url.subst 阅读全文
posted @ 2021-08-18 18:07
吃好每一口饭
阅读(171)
评论(0)
推荐(0)
摘要:
browserutil.client.agent.indexOf('xxxx') ,'xxxx'为该浏览器的标志值 browserutil.client.agent.indexOf('firefox') > 0 || // 火狐浏览器 android browserutil.client.agent 阅读全文
posted @ 2021-08-18 18:01
吃好每一口饭
阅读(214)
评论(0)
推荐(0)
摘要:
/** * 邮箱 * @param {*} s */ export function isEmail(s) { return /^([a-zA-Z0-9._-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test( s ); } /** * 手 阅读全文
posted @ 2021-08-18 17:41
吃好每一口饭
阅读(286)
评论(0)
推荐(0)
摘要:
用于前端国家选择列表的数据来源。 js 文件地址 https://blog-static.cnblogs.com/files/erinmin/countriesList.js 阅读全文
posted @ 2021-08-18 17:35
吃好每一口饭
阅读(764)
评论(0)
推荐(0)

浙公网安备 33010602011771号