返回顶部
摘要: 参考:https://blog.csdn.net/zhichaosong/article/details/80944924#_99 效果: wave2.png html: 阅读全文
posted @ 2019-09-05 11:23 前端-xyq 阅读(2028) 评论(0) 推荐(0)
摘要: 参考:https://www.jianshu.com/p/c819ae16d29b https://www.cnblogs.com/guxuelong/p/7743736.html M = moveto —— M x y移动到的点的x轴和y轴的坐标 L = lineto —— L x y需要两个参数 阅读全文
posted @ 2019-09-05 11:22 前端-xyq 阅读(765) 评论(0) 推荐(0)
摘要: 参考:http://www.360kuai.com/pc/9b1fdaafe62592719?cota=4&tj_url=xz&sign=360_57c3bbd1&refer_scene=so_1 打开谷歌浏览器 输入调试网址 按F12 / 鼠标右键—检查元素 在调试面板上的点击sources 在调 阅读全文
posted @ 2019-09-05 11:21 前端-xyq 阅读(2946) 评论(0) 推荐(0)
摘要: 效果: html: 阅读全文
posted @ 2019-09-05 11:20 前端-xyq 阅读(3443) 评论(0) 推荐(0)
摘要: 效果 html scrollVertical.css scroll.js 阅读全文
posted @ 2019-09-05 11:19 前端-xyq 阅读(1262) 评论(0) 推荐(0)
摘要: 开始采用js,获取屏幕宽度,按宽高比来设置图片大小。 手机端/电脑测试都没问题,但是用微信电脑版自带浏览器打开时会变形,因为其屏幕宽度为1920。 解决:用css 阅读全文
posted @ 2019-09-05 11:14 前端-xyq 阅读(6060) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/huangfu_chunfeng/article/details/46429997 https://www.cnblogs.com/wxcbg/p/10452985.html https://blog.csdn.net/weixin_40126227 阅读全文
posted @ 2019-09-04 18:46 前端-xyq 阅读(13823) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/stpice/article/details/80586444 均为立即执行函数——IIFE (Immediately Invoked Function Expression) 写法: (1)(function foo(){/.../}()); (2 阅读全文
posted @ 2019-09-04 18:44 前端-xyq 阅读(496) 评论(0) 推荐(0)
摘要: 项目jsp页面上用隐藏input框接收获取数据,在跳转入另一页面前,js操作修改数据,但返回时发现无效。 需求是点击抽奖后机会减少一次,但是当做跳转操作后返回时,次数有缓存问题 jsp: js: 解决方法: 在做跳转操作前,手动修改input框的值 —— $('#myChance').val(**) 阅读全文
posted @ 2019-09-04 18:37 前端-xyq 阅读(1345) 评论(0) 推荐(0)
摘要: 参考:https://www.jianshu.com/p/332252abe016 方法一. script: 方法二. template: 阅读全文
posted @ 2019-09-04 18:35 前端-xyq 阅读(1884) 评论(0) 推荐(0)