tencent.jquery.pix.component 1.0.63-beta.5 → 1.0.63-beta.7

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.
@@ -190,9 +190,6 @@ Waterfall.prototype.updateVisibleItems = function (force = false) {
190
190
 
191
191
  // 新增卡片
192
192
  Waterfall.prototype.appendCard = function (data, dataId, { top, left }) {
193
- if (this.renderedDataIds.has(dataId)) {
194
- return
195
- }
196
193
  const self = this;
197
194
  const options = this.options;
198
195
  const $container = $(options.container);
@@ -428,7 +425,6 @@ Waterfall.prototype.createCards = function ({ end, dataId = -1 }) {
428
425
  const dataInfo = this.dataIdMap.get(nextDataId);
429
426
  if (!dataInfo || !dataInfo.data) {
430
427
  console.warn('Waterfall: Invalid data for dataId', nextDataId);
431
- this.renderedDataIds.add(nextDataId);
432
428
  return;
433
429
  }
434
430
 
@@ -0,0 +1,17 @@
1
+ .waterfall-list-scroll {
2
+ height: 100%;
3
+ .waterfall-loading {
4
+ position: absolute;
5
+ width: 100%;
6
+ align-items: center;
7
+ justify-content: center;
8
+ }
9
+ .waterfall-item {
10
+ flex: 1;
11
+ flex-shrink: 1;
12
+ flex-grow: 1;
13
+ flex-basis: 0;
14
+ width: 100%;
15
+ position: absolute;
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencent.jquery.pix.component",
3
- "version": "1.0.63-beta.5",
3
+ "version": "1.0.63-beta.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [