摘要: 1.封装此方法 circleImg: function (ctx, img, x, y, r) { ctx.save(); var d = 2 * r; var cx = x + r; var cy = y + r; ctx.beginPath(); ctx.arc(cx, cy, r, 0, 2 阅读全文
posted @ 2018-07-27 14:42 zhao_net 阅读(2149) 评论(0) 推荐(1) 编辑
摘要: /^(?:[1-9]\d00|[1-9]\d{2,}0)$/ 亲测无误 阅读全文
posted @ 2017-08-24 09:57 zhao_net 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> 页面的头部加上这句话. 阅读全文
posted @ 2017-07-06 10:47 zhao_net 阅读(501) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="styles/demo.css" /> </head> <body> <div id="app"> <ta 阅读全文
posted @ 2017-07-05 09:58 zhao_net 阅读(126) 评论(0) 推荐(0) 编辑
摘要: body{ height:100%; overflow:hidden;} .bg { background-image: url(../../img/beijing.jpg); width:100%; height:100%; background-size:100% 100%; position: 阅读全文
posted @ 2017-07-03 11:40 zhao_net 阅读(365) 评论(0) 推荐(0) 编辑
摘要: <div style="float: left;border-radius:70%; height: 80px; overflow:hidden;"> <img class="mui-icon-image" src="../../img/002 刘运忠.jpg" style="height: 80p 阅读全文
posted @ 2017-06-23 09:27 zhao_net 阅读(13965) 评论(0) 推荐(0) 编辑
摘要: <div id="segmented" class="mui-segmented-control"> <a class="mui-control-item mui-active" href="#item1mobile"> 考勤记录 </a> <a class="mui-control-item" h 阅读全文
posted @ 2017-06-23 09:22 zhao_net 阅读(475) 评论(0) 推荐(0) 编辑