mirror of https://github.com/layui/layui
commit
7ee65d6d37
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@ toc: true
|
||||||
|
|
||||||
|
|
||||||
<h2 id="2.8.18" class="ws-anchor">
|
<h2 id="2.8.18" class="ws-anchor">
|
||||||
2.8.18-rc.5
|
2.8.18
|
||||||
<span class="layui-badge-rim">2023-10-31</span>
|
<span class="layui-badge-rim">2023-10-31</span>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ toc: true
|
||||||
- 新增 lay 模块部分函数 JSDoc 注释和示例 #1401
|
- 新增 lay 模块部分函数 JSDoc 注释和示例 #1401
|
||||||
- 优化 `<hr>` 全局样式优先级 # I86R6G
|
- 优化 `<hr>` 全局样式优先级 # I86R6G
|
||||||
|
|
||||||
### 下载: [layui-v2.8.18.rc.5.zip](https://gitee.com/layui/layui/attach_files/1570260/download)
|
### 下载: [layui-v2.8.18.zip](https://gitee.com/layui/layui/attach_files/1570299/download)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "layui",
|
"name": "layui",
|
||||||
"version": "2.8.18-rc.5",
|
"version": "2.8.18",
|
||||||
"description": "Classic modular Front-End UI library",
|
"description": "Classic modular Front-End UI library",
|
||||||
"main": "dist/layui.js",
|
"main": "dist/layui.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var Layui = function(){
|
var Layui = function(){
|
||||||
this.v = '2.8.18-rc.5'; // Layui 版本号
|
this.v = '2.8.18'; // Layui 版本号
|
||||||
};
|
};
|
||||||
|
|
||||||
// 识别预先可能定义的指定全局对象
|
// 识别预先可能定义的指定全局对象
|
||||||
|
|
|
@ -2611,6 +2611,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||||
var scrollTop = that.layMain.scrollTop();
|
var scrollTop = that.layMain.scrollTop();
|
||||||
var step = 30;
|
var step = 30;
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
that.layMain.scrollTop(scrollTop + (delta > 0 ? -step : step));
|
that.layMain.scrollTop(scrollTop + (delta > 0 ? -step : step));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue