jufubao-base 1.0.89-beta1 → 1.0.89-beta6
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/package.json
CHANGED
|
@@ -302,6 +302,9 @@ export default {
|
|
|
302
302
|
topCurrent: 0, //小图上
|
|
303
303
|
topIsCarousel: 1,
|
|
304
304
|
smallHeight: 0,
|
|
305
|
+
|
|
306
|
+
timer: null,
|
|
307
|
+
|
|
305
308
|
};
|
|
306
309
|
},
|
|
307
310
|
computed: {
|
|
@@ -466,6 +469,10 @@ export default {
|
|
|
466
469
|
watch: {
|
|
467
470
|
container(value) {
|
|
468
471
|
this.init(value);
|
|
472
|
+
if(this.timer) clearTimeout(this.timer);
|
|
473
|
+
this.timer = setTimeout(()=>{
|
|
474
|
+
if (this.$configProject['isPreview']) this.onJfbLoad()
|
|
475
|
+
}, 400)
|
|
469
476
|
},
|
|
470
477
|
},
|
|
471
478
|
created() {
|
|
@@ -474,6 +481,7 @@ export default {
|
|
|
474
481
|
},
|
|
475
482
|
methods: {
|
|
476
483
|
onJfbLoad(options) {
|
|
484
|
+
this.params = options;
|
|
477
485
|
//获取大图列表
|
|
478
486
|
jfbRootExec("getListPosterContent", {
|
|
479
487
|
vm: this,
|
|
@@ -746,6 +754,9 @@ export default {
|
|
|
746
754
|
getContainerPropsValue(container, "content.bottomCarouselTime", 5)
|
|
747
755
|
) * 1000;
|
|
748
756
|
},
|
|
757
|
+
onJfbUpdate(data) {
|
|
758
|
+
this.onJfbLoad(this.params);
|
|
759
|
+
}
|
|
749
760
|
},
|
|
750
761
|
};
|
|
751
762
|
</script>
|