|
@@ -44,6 +44,7 @@
|
|
|
controls
|
|
|
controlslist="nodownload"
|
|
|
:src="urlToFitFu(item.url)"
|
|
|
+ :poster="item.img ? urlToFitFu(item.img) : ''"
|
|
|
v-if="index === myInd"
|
|
|
></video>
|
|
|
</div>
|
|
@@ -60,7 +61,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="swiper-pagination" v-show="data[myType].length > 1"></div>
|
|
|
+ <div class="swiper-pagination" v-show="data[myType]?.length > 1"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -118,7 +119,7 @@
|
|
|
data[item.type].length > 1
|
|
|
"
|
|
|
>{{ item.type === myType ? myInd + 1 + "/" : null
|
|
|
- }}{{ data[item.type].length }}</span
|
|
|
+ }}{{ data[item.type]?.length }}</span
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|