摘要: //引入 <script src="/static/webadmin/js/html2canvas.min.js"></script> <a style="margin-bottom:0px;display:none;" id="create_image" class="btn btn-warnin 阅读全文
posted @ 2019-04-19 17:38 卖萌的猴子 阅读(8566) 评论(0) 推荐(0) 编辑
摘要: 首先去官网下载对应的文件:html2canvas.min.js //引入js文件 <script src="html2canvas.min.js"></script> //通过给a标签添加href属性进行下载 <a id="create_image" download="下载的图片">下载图片</a 阅读全文
posted @ 2019-04-18 17:22 卖萌的猴子 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: <input type="hidden" name="thead_key" id="thead_key" value="<?php if(isset($thead_key)):?><?php echo $thead_key;?><?php endif;?>"><input type="hidden" 阅读全文
posted @ 2019-04-17 18:09 卖萌的猴子 阅读(852) 评论(0) 推荐(0) 编辑
摘要: 1、通过点的方式 注:点要查找的是JS中本来就存在的属性名,不能找到变量或者函数的参数 2、通过括号的方式 注:可以找到变量或函数的参数 阅读全文
posted @ 2019-04-17 17:38 卖萌的猴子 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 1:$(function){}; 2:$(document).ready(function(){}); 3:$(window).load(function(){}); 4:window.onload = function(){}; 5:在标签上静态绑定onload事件,<body onload="a 阅读全文
posted @ 2019-02-14 11:39 卖萌的猴子 阅读(12248) 评论(0) 推荐(0) 编辑
摘要: $.ajaxFileUpload( { url : "{:url('edu_student/refund_pay_submit')}", //用于文件上传的服务器端请求地址 type : 'post', secureuri : false, //是否需要安全协议,一般设置为false fileEle 阅读全文
posted @ 2019-01-18 16:55 卖萌的猴子 阅读(460) 评论(0) 推荐(0) 编辑
摘要: $refund_type = Request::instance()->post('refund_type/a'); 阅读全文
posted @ 2019-01-18 16:31 卖萌的猴子 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: 代码: $result = Db::table('edu_student_contract_agreement') ->alias('a') ->field("a.id, c.name AS product_name, b.agreement_number, IF(g.student_contrac 阅读全文
posted @ 2019-01-17 13:48 卖萌的猴子 阅读(2327) 评论(0) 推荐(0) 编辑