淡然蓝天

文章
6
资源
0
加入时间
3年2月3天

Layer 相册层 图片滚轮放大

直接放到 js 里面,使用layui的layer.photos 弹出的图片就可以直接放大缩小$(document).on("mousewheel DOMMouseScroll", ".layui-layer-phimg img", function (e) { var delta = (e.originalEvent.wheelDelta && (e.origin...

Linux数据报文接收发送总结5

2.2 网络子系统初始化linux内核通过调用subsys_initcall来初始化各个子系统,在源代码目录里你可以grep出许多对这个函数的调用。这里我们要说的是网络子系统的初始化,会执行到net_dev_init函数。/* * Initialize the DEV module. At boot time this walks the device list and * unhooks any devices that fail to initialise (nor..