Commit 40e6831a by libai

测试

parent d2879fde
Showing with 7 additions and 3 deletions
......@@ -4,11 +4,11 @@
<head>
<meta charset="UTF-8">
<title></title>
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<link rel="stylesheet" type="text/css" href="head/bootstrap.css">
<link href="head/cropper.min.css" rel="stylesheet">
<link href="head/sitelogo.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
<link rel="stylesheet" type="text/css" href="https://www.jq22.com/jquery/font-awesome.4.6.0.css">
<link rel="stylesheet" href="../css/layer.css">
<script src="head/bootstrap.js"></script>
<script src="head/cropper.js"></script>
......@@ -133,8 +133,12 @@
}
});
$(".avatar-save").on("click", function() {
if($("#avatar-name").text()==''){
layer.msg("请选择您的图片")
return;
}
var img_lg = document.getElementById('imageHead');
// 截图小的显示框内的内容
html2canvas(img_lg, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment