会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
吃剩的方便面
博客园
首页
新随笔
联系
订阅
管理
2021年11月22日
jq 获取某个元素是否鼠标悬停
摘要: let isHovered = $('.player-controller-bd').is(":hover"); //返回true或false
阅读全文
posted @ 2021-11-22 14:37 吃剩的方便面
阅读(202)
评论(0)
推荐(0)
2020年12月8日
swiper获取当前的index ( loop=true时,)
摘要: //swiper 在loop=true时,获取当前的index onSlideChangeEnd: function (swiper) { var index = $('.swiper-slide-active').attr('data-swiper-slide-index'); //console
阅读全文
posted @ 2020-12-08 10:10 吃剩的方便面
阅读(5374)
评论(0)
推荐(1)
2020年12月2日
解决ios浏览器页面滚动到底部或顶部后,页面局部滑动失效的问题
摘要: /** 解决 ios浏览器页面滚动到底部或顶部后 导致页面局部滑动失效的问题*/ function iosTrouchFn () { var ios = navigator.userAgent.indexOf('iPhone'); // 判断是否为ios if (ios !== -1) { // i
阅读全文
posted @ 2020-12-02 14:59 吃剩的方便面
阅读(1706)
评论(0)
推荐(0)
2020年11月13日
js实现全屏与退出全屏
摘要: js代码 $(function(){ $("#fullScreen").click(function(){ fullScreen(); $(this).css("display","none"); $("#exitFullScreen").css("display",""); }) $("#exit
阅读全文
posted @ 2020-11-13 14:06 吃剩的方便面
阅读(296)
评论(0)
推荐(0)
2019年11月13日
Ueditor 关于视频上传相关问题
摘要: !!!每次改动后记得,清除一下浏览器缓存再试 !!! 4点: 1.修复编辑时视频不能预览问题; 2.插入视频的时候。在预览的窗口提示 “输入的视频地址有误,请检查后再试!” 3.ueditor 解决上传视频回显 src链接丢失问题 4.ueditor 自定义插入视频封面(页面加载时显示) 1. 修复
阅读全文
posted @ 2019-11-13 12:03 吃剩的方便面
阅读(6768)
评论(11)
推荐(3)
2019年10月31日
git拉取单个子目录
摘要: 初始化一个目录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 吃剩的方便面
阅读(1651)
评论(0)
推荐(0)
公告