jufubao-base 1.0.64-beta302 → 1.0.64-beta303
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
|
@@ -47,7 +47,10 @@
|
|
|
47
47
|
autoplay
|
|
48
48
|
>
|
|
49
49
|
<swiper-item v-for="(item) in contentList" :key="item.content_id">
|
|
50
|
-
<view>
|
|
50
|
+
<view class="content-list">
|
|
51
|
+
{{item.title}}
|
|
52
|
+
<text v-if="contentList&&contentList.length>0">{{contentList.length}}个</text>
|
|
53
|
+
</view>
|
|
51
54
|
</swiper-item>
|
|
52
55
|
</swiper>
|
|
53
56
|
<xd-notice-bar v-else :key="speedKey" scrollable :speed="speed" background-color="rgba(0,0,0,0)">
|
|
@@ -395,6 +398,11 @@
|
|
|
395
398
|
|
|
396
399
|
.jfb-base-notice {
|
|
397
400
|
&__body{
|
|
401
|
+
.content-list {
|
|
402
|
+
display: flex;
|
|
403
|
+
justify-content: space-between;
|
|
404
|
+
align-items: center;
|
|
405
|
+
}
|
|
398
406
|
&-line {
|
|
399
407
|
height: 0px;
|
|
400
408
|
overflow: hidden;
|
|
@@ -369,8 +369,8 @@
|
|
|
369
369
|
return list.map((item,index) => {
|
|
370
370
|
return {
|
|
371
371
|
...item,
|
|
372
|
-
image_background_url: getServiceUrl(item.image_background_url),
|
|
373
|
-
image_url: getServiceUrl(item.image_url)
|
|
372
|
+
image_background_url: item.image_background_url?getServiceUrl(item.image_background_url):'',
|
|
373
|
+
image_url: item.image_url?getServiceUrl(item.image_url):''
|
|
374
374
|
}
|
|
375
375
|
})
|
|
376
376
|
},
|
|
@@ -447,6 +447,16 @@
|
|
|
447
447
|
})
|
|
448
448
|
},
|
|
449
449
|
|
|
450
|
+
destroyed() {
|
|
451
|
+
this.$xdRoot.$emit('setLayoutPageBg',null)
|
|
452
|
+
},
|
|
453
|
+
|
|
454
|
+
onJfbShow(){
|
|
455
|
+
if(this.isSupport==='Y' && this.rows===1 && this.isCarousel===2) {
|
|
456
|
+
this.$xdRoot.$emit("setLayoutPageBg", this.currentImage);
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
|
|
450
460
|
onJfbUpdate(data) {
|
|
451
461
|
this.onJfbLoad(this.params);
|
|
452
462
|
}
|