摘要:
// 数字格式化 如: 123,456.78 ; function formatter_k(num) { const str = num.toString(); // 转字符串 const val = str.replace(/\d+/, (n) => { return n.replace(/(\d 阅读全文
摘要:
//使用递归的方式实现数组、对象的深拷贝 function deepClone1(obj) { //判断拷贝的要进行深拷贝的是数组还是对象,是数组的话进行数组拷贝,对象的话进行对象拷贝 var objClone = Array.isArray(obj) ? [] : {}; //进行深拷贝的不能为空 阅读全文
摘要:
第1种方式:复制文本的功能_原生js方法直接用 navigator.clipboard.writeText('123456') 第2种方式:使用插件 【 clipboard.js 】 <template> <div id="index-page"> <div class="text" @click= 阅读全文
摘要:
{ "en": { "a0": "Monthly Champions", "a1": "Wealth", "a2": "Charm", "a3": "Billionaire", "a4": "Room", "a5": "Hall of Fame", "a6": "Last Month", " 阅读全文
摘要:
//https://docs.google.com/spreadsheets/d/1mvs4JNnz7p1sBNLh6KhyiLifUQczqjOKg1XxPRgadSs/edit?usp=sharing var common = { en: { //可复用文案 "common_0": "Fight 阅读全文
摘要:
background: #847a50; background: linear-gradient(90deg, #94672a00 0%, #847a50 50%, #94672a00 100%); background: -moz-linear-gradient(left, #94672a00, 阅读全文
摘要:
数组的操作 序号 操作 备注 1 获取数组最大(最小)值 2 获取数组最大值 3 获取数组最大值 获取数组最大(最小)值 Math.max(...arr1) 和 Math.min(...arr1) 方法 let arr1 = [8, 4, 7, '52', 6, 9, 3, '2'] let max 阅读全文
摘要:
下面链接有详细说明 https://www.cnblogs.com/liuxianan/p/chrome-plugin-develop.html http://blog.haoji.me/chrome-plugin-develop.html 引用操作图示: 阅读全文
摘要:
1、路径: C:\Users\Administrator\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets 里边的文件就是壁纸,但是后缀名不是jpg,要先修改 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文