摘要: 组件的基本使用 阅读全文
posted @ 2019-05-24 12:00 素衣居士 阅读(358) 评论(1) 推荐(0) 编辑
摘要: js用XMLHttpRequest发送异步请求 发送GET请求 ~~~ var xhr = new XMLHttpRequest(); xhr.open('GET',url);//url为请求地址 xhr.responseType = 'json'; xhr.onload = function () 阅读全文
posted @ 2019-01-23 11:55 素衣居士 阅读(3968) 评论(0) 推荐(1) 编辑
摘要: 记录一下 保存图片到相册 方便下次使用好找 阅读全文
posted @ 2019-01-22 17:34 素衣居士 阅读(629) 评论(0) 推荐(0) 编辑
摘要: "游戏来源于 Mdn学习网站" ; 该例子用于对象的理解非常有效(建议看完上面网站的内容在开始练习) 阅读全文
posted @ 2019-01-21 18:01 素衣居士 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.数组的长度 ~~~ var sequence = [1, 1, 2, 3, 5, 8, 13]; sequence .length //7 ~~~ 2.字符串转换成数组 string.split() ~~~ var myData = 'Manchester,London,Liverpool'; 阅读全文
posted @ 2019-01-18 10:12 素衣居士 阅读(164) 评论(1) 推荐(1) 编辑
摘要: 1.字符串长度 ~~~ string.length var browserType = 'mozilla'; browserType.length; //7 ~~~ 2在字符串中查找子字符串 string.indexOf 找到返回字符串的下标,没找到返回 1 ~~~ browserType.inde 阅读全文
posted @ 2019-01-17 13:54 素衣居士 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 知识点 1. js 操作元素 增 (document.createElement(),document.body.appendChild()), 删(parentNode.removeChild()) ,改(guessField.disabled \= false;) 查(document.quer 阅读全文
posted @ 2019-01-16 13:39 素衣居士 阅读(981) 评论(0) 推荐(0) 编辑
摘要: phpmyadmin导入大容量.sql文件 在phpmyadmin目录文件夹下建立一个文件夹,如importSqlFile 将想要导入的sql文件放入importSqlFile文件夹中 打开config.inc.php(就在phpmyadmin目录下,如图1),找到 $cfg['UploadDir' 阅读全文
posted @ 2018-06-08 08:52 素衣居士 阅读(1428) 评论(0) 推荐(0) 编辑
摘要: layui和thinkphp5自己在百度上下载 html代码 php代码 效果图 犯了一个错误,不应该把密码查出来的,本人太难,不想改了 阅读全文
posted @ 2018-04-09 22:23 素衣居士 阅读(7793) 评论(1) 推荐(0) 编辑
摘要: 准备资料 "下载layui" tp5 代码: public function imgdemo(Request $request){ //接收上传的文件 $file = $this request file('file'); if(!empty($file)){ //图片存的路径 $imgUrl= R 阅读全文
posted @ 2018-04-07 16:41 素衣居士 阅读(3997) 评论(6) 推荐(0) 编辑