efront 3.25.7 → 3.25.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/_index.html +1 -1
- package/coms/basic/Item.js +13 -3
- package/coms/basic/Speed.js +20 -6
- package/coms/basic/Tree.js +4 -4
- package/coms/basic/loader.js +11 -8
- package/coms/frame/route.js +7 -1
- package/coms/kugou/playList.less +6 -0
- package/coms/zimoli/hexagon.js +33 -0
- package/coms/zimoli/list.js +5 -5
- package/coms/zimoli/menuItem.html +5 -2
- package/coms/zimoli/menuItem.less +1 -1
- package/coms/zimoli/menuList.js +20 -13
- package/coms/zimoli/menuList.less +0 -1
- package/coms/zimoli/moveupon.js +1 -0
- package/coms/zimoli/render.js +1 -1
- package/coms/zimoli/resize.js +1 -0
- package/coms/zimoli/slider.js +19 -7
- package/coms/zimoli/table.js +7 -1
- package/coms/zimoli/touchList.js +22 -20
- package/coms/zimoli/vbox.js +6 -5
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/zimoli/vbox.js
CHANGED
|
@@ -61,7 +61,7 @@ function ybox(generator) {
|
|
|
61
61
|
addClass(increaser_t, 'y-insert');
|
|
62
62
|
var increaser_b = increaser_t.cloneNode();
|
|
63
63
|
var increase_height = calcPixel(100);
|
|
64
|
-
var _decrease = function (increaser) {
|
|
64
|
+
var _decrease = function (increaser, t) {
|
|
65
65
|
var height = parseInt(increaser.height);
|
|
66
66
|
if (height > 1) {
|
|
67
67
|
var scrollTop = _box.$Top();
|
|
@@ -76,8 +76,9 @@ function ybox(generator) {
|
|
|
76
76
|
var deltaY = tH - bH - scrollTop > height ? height : tH - bH - scrollTop;
|
|
77
77
|
height -= deltaY;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
increaser.
|
|
79
|
+
height = height * Math.pow(.92, t / 6);
|
|
80
|
+
increaser.height = height
|
|
81
|
+
increaser.style.height = fromOffset(height);
|
|
81
82
|
return height;
|
|
82
83
|
}
|
|
83
84
|
if (increaser.height) {
|
|
@@ -92,8 +93,8 @@ function ybox(generator) {
|
|
|
92
93
|
var stop2 = lazy(function () {
|
|
93
94
|
scrollY.smooth(stop);
|
|
94
95
|
}, 40);
|
|
95
|
-
var decrease = function () {
|
|
96
|
-
var res = _decrease(increaser_t) + _decrease(increaser_b);
|
|
96
|
+
var decrease = function (t) {
|
|
97
|
+
var res = _decrease(increaser_t, t) + _decrease(increaser_b, t);
|
|
97
98
|
if (!res) {
|
|
98
99
|
scrollY.smooth(stop);
|
|
99
100
|
}
|