09 2020 档案

摘要:1, <meta name="renderer" content="webkit" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 阅读全文
posted @ 2020-09-29 16:58 琥珀君 阅读(113) 评论(0) 推荐(0)
摘要:1,在 网址安全狗 -- 防护日志 -- 将拦截内容 添加到白名单 。 2, 阅读全文
posted @ 2020-09-22 22:44 琥珀君 阅读(222) 评论(0) 推荐(0)
摘要:1, // 提示弹窗 wx.showToast({ title: '验证码', icon: 'success', duration: 2000 }); 阅读全文
posted @ 2020-09-20 11:53 琥珀君 阅读(107) 评论(0) 推荐(0)
摘要:1, 命令行操作数据库: 登录 C:\Users\Administrator>d: D:\>cd D:\wamp\mysql\bin D:\wamp\mysql\bin>mysql mysql -hlocalhost -uroot -p 设置 set names gbk; show database 阅读全文
posted @ 2020-09-19 15:14 琥珀君 阅读(142) 评论(0) 推荐(0)
摘要:1,用return的方式 阅读全文
posted @ 2020-09-18 15:40 琥珀君 阅读(117) 评论(0) 推荐(0)
摘要:1, .card-slogen { font-size: .24rem; color: #777; display: block; margin-left: .2rem; /* 隐藏超长字体 */ overflow: hidden; white-space: nowrap; text-overflo 阅读全文
posted @ 2020-09-17 14:42 琥珀君 阅读(162) 评论(0) 推荐(0)
摘要:1, <script> // 动态加载JS文件 function loadJS( url, callback ){ var script = document.createElement('script'),fn = callback || function(){}; script.type = ' 阅读全文
posted @ 2020-09-17 11:50 琥珀君 阅读(455) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-14 17:22 琥珀君 阅读(0) 评论(0) 推荐(0)
摘要:1, .container { box-sizing: border-box; max-width: 1024px; padding: 20px; text-align: center; } 阅读全文
posted @ 2020-09-13 12:47 琥珀君 阅读(166) 评论(0) 推荐(0)
摘要:1, <!DOCTYPE html> <html> <head> <style> div.container { width:30em; border:1em solid; } div.box { box-sizing:border-box; -moz-box-sizing:border-box; 阅读全文
posted @ 2020-09-13 12:42 琥珀君 阅读(856) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-13 11:01 琥珀君 阅读(0) 评论(0) 推荐(0)
摘要:1,只能同域加载 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, 阅读全文
posted @ 2020-09-12 12:51 琥珀君 阅读(415) 评论(0) 推荐(0)
摘要:1, this.domElement.addEventListener( 'contextmenu', function ( event ) { event.preventDefault(); }, false ); 阅读全文
posted @ 2020-09-12 10:42 琥珀君 阅读(726) 评论(0) 推荐(0)
摘要:1, //随机生成8位数字 function nonceStr() { static $seed = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); $str = ''; for ($i = 0; $i < 6; $i++) { $rand = rand(0, count( 阅读全文
posted @ 2020-09-05 18:24 琥珀君 阅读(131) 评论(0) 推荐(0)
摘要:1, // 数据库操作 /* mysql -hlocalhost -uroot -p set names gbk; show databases; CREATE DATABASE IF NOT EXISTS `oupai` CHARSET utf8; USE oupai; show tables; 阅读全文
posted @ 2020-09-05 18:18 琥珀君 阅读(520) 评论(0) 推荐(0)
摘要:1, 解决方案: 直接在CSS 文件中添加下面的代码,就可以实现了在手机端禁止粘贴复制的功能: *{ -webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-selec 阅读全文
posted @ 2020-09-05 17:50 琥珀君 阅读(746) 评论(0) 推荐(0)