efront 3.29.2 → 3.30.0
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/apis/docs/getAllComponents.js +1 -1
- package/apps/pivot/menu.yml +3 -5
- package/apps/pivot/proxy/list.js +12 -6
- package/coms/basic/#decrypt.js +58 -0
- package/coms/basic/#decrypt_.js +3 -0
- package/coms/basic/{loader.js → #loader.js} +5 -68
- package/coms/basic/analyse.js +4 -5
- package/coms/basic_/[]map.js +1 -4
- package/coms/pivot/qrcode.xht +26 -0
- package/coms/shapes/qrcode.html +6 -0
- package/coms/third-party/qrcode.js +2248 -0
- package/coms/third-party//344/273/243/347/240/201/346/235/245/346/272/220.txt +1 -1
- package/coms/zimoli/list.js +5 -2
- package/coms/zimoli/list.less +2 -2
- package/coms/zimoli/main.js +1 -1
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/zimoli/list.js
CHANGED
|
@@ -218,12 +218,15 @@ function ylist(container, generator, $Y) {
|
|
|
218
218
|
var rebuild = function () {
|
|
219
219
|
runbuild();
|
|
220
220
|
};
|
|
221
|
+
var topinsert = null;
|
|
221
222
|
oncemount(list, function () {
|
|
222
223
|
if (!/^(?:auto|scroll)$/i.test(getComputedStyle(list).overflowY)) return;
|
|
223
224
|
on("scroll")(list, rebuild);
|
|
225
|
+
if (!topinsert) {
|
|
226
|
+
topinsert = document.createElement('insertY');
|
|
227
|
+
list.insertBefore(topinsert, list.firstChild);
|
|
228
|
+
}
|
|
224
229
|
});
|
|
225
|
-
var topinsert = document.createElement('ylist-insert');
|
|
226
|
-
list.insertBefore(topinsert, list.firstChild);
|
|
227
230
|
//计算当前高度
|
|
228
231
|
var currentY = function () {
|
|
229
232
|
var firstElement = getFirstElement();
|
package/coms/zimoli/list.less
CHANGED
package/coms/zimoli/main.js
CHANGED