上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 34 下一页
摘要: 1,html代码 <!doctype html> <html> <head> <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scal 阅读全文
posted @ 2020-10-29 16:28 琥珀君 阅读(108) 评论(0) 推荐(0)
摘要: 1,定义layer背景样式 /* 设置layer背景透明 */ .shadows{background-color: transparent !important;box-shadow: 0 0 0 rgba(0,0,0,0) !important;} 2,layer中使用 function sen 阅读全文
posted @ 2020-10-28 22:51 琥珀君 阅读(2474) 评论(0) 推荐(0)
摘要: 1, <!-- 当浏览器不知js时的提示 --> <noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR 阅读全文
posted @ 2020-10-14 16:32 琥珀君 阅读(110) 评论(0) 推荐(0)
摘要: 1, <meta name="renderer" content="webkit" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 阅读全文
posted @ 2020-09-29 16:58 琥珀君 阅读(101) 评论(0) 推荐(0)
摘要: 1,在 网址安全狗 -- 防护日志 -- 将拦截内容 添加到白名单 。 2, 阅读全文
posted @ 2020-09-22 22:44 琥珀君 阅读(218) 评论(0) 推荐(0)
摘要: 1, // 提示弹窗 wx.showToast({ title: '验证码', icon: 'success', duration: 2000 }); 阅读全文
posted @ 2020-09-20 11:53 琥珀君 阅读(104) 评论(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 琥珀君 阅读(137) 评论(0) 推荐(0)
摘要: 1,用return的方式 阅读全文
posted @ 2020-09-18 15:40 琥珀君 阅读(114) 评论(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 琥珀君 阅读(157) 评论(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 琥珀君 阅读(448) 评论(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 琥珀君 阅读(159) 评论(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 琥珀君 阅读(846) 评论(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 琥珀君 阅读(411) 评论(0) 推荐(0)
摘要: 1, this.domElement.addEventListener( 'contextmenu', function ( event ) { event.preventDefault(); }, false ); 阅读全文
posted @ 2020-09-12 10:42 琥珀君 阅读(722) 评论(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 琥珀君 阅读(127) 评论(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 琥珀君 阅读(505) 评论(0) 推荐(0)
摘要: 1, 解决方案: 直接在CSS 文件中添加下面的代码,就可以实现了在手机端禁止粘贴复制的功能: *{ -webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-selec 阅读全文
posted @ 2020-09-05 17:50 琥珀君 阅读(723) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-08-27 12:31 琥珀君 阅读(0) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 34 下一页