摘要: let isHovered = $('.player-controller-bd').is(":hover"); //返回true或false 阅读全文
posted @ 2021-11-22 14:37 吃剩的方便面 阅读(179) 评论(0) 推荐(0) 编辑
摘要: //swiper 在loop=true时,获取当前的index onSlideChangeEnd: function (swiper) { var index = $('.swiper-slide-active').attr('data-swiper-slide-index'); //console 阅读全文
posted @ 2020-12-08 10:10 吃剩的方便面 阅读(5086) 评论(0) 推荐(1) 编辑
摘要: /** 解决 ios浏览器页面滚动到底部或顶部后 导致页面局部滑动失效的问题*/ function iosTrouchFn () { var ios = navigator.userAgent.indexOf('iPhone'); // 判断是否为ios if (ios !== -1) { // i 阅读全文
posted @ 2020-12-02 14:59 吃剩的方便面 阅读(1528) 评论(0) 推荐(0) 编辑
摘要: js代码 $(function(){ $("#fullScreen").click(function(){ fullScreen(); $(this).css("display","none"); $("#exitFullScreen").css("display",""); }) $("#exit 阅读全文
posted @ 2020-11-13 14:06 吃剩的方便面 阅读(280) 评论(0) 推荐(0) 编辑
摘要: !!!每次改动后记得,清除一下浏览器缓存再试 !!! 4点: 1.修复编辑时视频不能预览问题; 2.插入视频的时候。在预览的窗口提示 “输入的视频地址有误,请检查后再试!” 3.ueditor 解决上传视频回显 src链接丢失问题 4.ueditor 自定义插入视频封面(页面加载时显示) 1. 修复 阅读全文
posted @ 2019-11-13 12:03 吃剩的方便面 阅读(6470) 评论(11) 推荐(3) 编辑
摘要: 初始化一个目录cron(需要拉取的的是code下的cron目录) git init cron 进入目录cd cron/ git remote add -f code ssh://git@192.168.1.3:8080/test/test.git git config core.sparsechec 阅读全文
posted @ 2019-10-31 15:05 吃剩的方便面 阅读(1626) 评论(0) 推荐(0) 编辑