![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
API封装
文章平均质量分 92
大王在路上
前端攻城狮
展开
-
实现pdf、jpg、png等预览
个人总结这里使用object元素来实现pdf、图片等预览显示效果。预览弹框html页<div style="min-height:300px;"> <div class="text-right"> //这个标签是X号 推出界面功能 <span ng-click="closePdfModal()" class="glyphicon...原创 2019-07-21 11:47:17 · 1638 阅读 · 0 评论 -
js封装获取本周、本季度、本月、上月的开始日期、结束日期、每周的日期数组
个人总结/*** 获取本周、本季度、本月、上月的开始日期、结束日期*/var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMonth = now.getMonth(); //当前月 var nowYear =...原创 2019-07-24 20:18:55 · 378 阅读 · 0 评论