上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 34 下一页
摘要: 1, 阅读全文
posted @ 2020-08-19 17:28 琥珀君 阅读(162) 评论(0) 推荐(0)
摘要: JS中find(), findIndex(), filter(), forEach(), some(), every(), map()方法 1. find()与findIndex() find()方法,用于找出第一个符合条件的数组成员。它的参数是一个回调函数,所有数组成员依次执行该回调函数,直到找出 阅读全文
posted @ 2020-08-19 17:07 琥珀君 阅读(236) 评论(0) 推荐(0)
摘要: 1, listCamera(videoDevice) { return new Promise((resolve, reject) => { navigator.mediaDevices.enumerateDevices() .then((devices) => { let index = 1; d 阅读全文
posted @ 2020-08-19 16:49 琥珀君 阅读(167) 评论(0) 推荐(0)
摘要: 1, document.querySelector('#openCamera').addEventListener('click', function () { const videoSelect = document.querySelector('#videoDevice'); webAR.lis 阅读全文
posted @ 2020-08-19 15:39 琥珀君 阅读(2452) 评论(0) 推荐(0)
摘要: 1, 阅读全文
posted @ 2020-08-19 14:51 琥珀君 阅读(585) 评论(0) 推荐(0)
摘要: 1, <script> (function(){ const now = (new Date()).getTime(); const e = document.createElement('script'); e.setAttribute('src', `asset/js/app.js?t=${no 阅读全文
posted @ 2020-08-18 18:05 琥珀君 阅读(381) 评论(0) 推荐(0)
摘要: 1, <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>WebAR Demo</title> <meta name="viewport" content="width=device-width, initial 阅读全文
posted @ 2020-08-18 15:56 琥珀君 阅读(134) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-08-17 15:14 琥珀君 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-08-17 12:06 琥珀君 阅读(0) 评论(0) 推荐(0)
摘要: 1, MeterialUv.prototype.upAdoEssLoop = function(e, a, b, s) { if (e) { upAdoEssLoop.upAdoEssFlag ? (e.emissiveIntensity += s) : (e.emissiveIntensity - 阅读全文
posted @ 2020-08-15 19:34 琥珀君 阅读(138) 评论(0) 推荐(0)
摘要: 1, switch(true){ case TXrotY < 10 : console.log("Y10"); break; case TXrotY < 20 : console.log("Y20"); break; default : break; } 阅读全文
posted @ 2020-08-15 19:31 琥珀君 阅读(179) 评论(0) 推荐(0)
摘要: 1, CameraColorShift.prototype.OnColorShift = function(a) { switch (a) { case 0: targetColor = this.colorTable_1; break; case 1: targetColor = this.col 阅读全文
posted @ 2020-08-13 21:51 琥珀君 阅读(148) 评论(0) 推荐(0)
摘要: 1, $.get("https://xxx/gjbz_share.json", function(e) { t._path = e[t.name] }) 阅读全文
posted @ 2020-08-11 16:33 琥珀君 阅读(220) 评论(0) 推荐(0)
摘要: 1, css样式 /* 导航主按钮 模板2 */ .iconElement { width: 50%; /* 高度等于 这个元素的宽度 * li元素的宽度 */ height: 2vw; text-align: center; display: inline-block; position: abs 阅读全文
posted @ 2020-08-10 10:24 琥珀君 阅读(200) 评论(0) 推荐(0)
摘要: 1, <div class="leftButton" id="leftBtn" ondragstart="return!1" oncontextmenu="return!1" onselectstart="return!1"></div> 阅读全文
posted @ 2020-08-07 15:37 琥珀君 阅读(145) 评论(0) 推荐(0)
摘要: 1, html 文件 <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-sc 阅读全文
posted @ 2020-08-06 22:55 琥珀君 阅读(803) 评论(0) 推荐(0)
摘要: 1, 有bind(this)就能获取 this.bl_First 的值,否则就不能获取值 阅读全文
posted @ 2020-08-05 17:25 琥珀君 阅读(481) 评论(0) 推荐(0)
摘要: 1, * { /* IOS平台下点击按钮,会出现一个半透明的灰色背景,alpha值为0即为禁用 */ -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-touch-callout: none; -webkit-user-sele 阅读全文
posted @ 2020-08-05 16:37 琥珀君 阅读(246) 评论(0) 推荐(0)
摘要: 1, // 自执行区域 (function () { })(); 2, function(a, r, u) { console.log("自执行方法"); a.alert("haodi"); }(window, document, Math), 阅读全文
posted @ 2020-08-05 15:51 琥珀君 阅读(142) 评论(0) 推荐(0)
摘要: 1, 阅读全文
posted @ 2020-08-05 15:10 琥珀君 阅读(139) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 34 下一页