|
@@ -16,10 +16,10 @@
|
|
|
<swiper style="height: 100%; margin-top: auto; margin-bottom: auto;" ref="mySwiper" class="swiper" :options="swiperOption">
|
|
|
<swiper-slide v-for="(item, i) in videoList" :key="i">
|
|
|
<div class="case">
|
|
|
- <template v-if="index && (i ===0 || i === 1 || i === 2)">
|
|
|
+ <template v-if="num === 0 && (i === 0 || i === 1 || i === 2)">
|
|
|
<iframe :src="'static/jinm/index.html?'+'1'+','+ item.wsUrl +','+ item.rtspUrl + ',' +'100%' + ',' + '0'" style="width: 100%; height: 100%;" frameborder="0" allowfullscreen="true"></iframe>
|
|
|
</template>
|
|
|
- <template v-else-if="index === false && (i ===3 || i === 4 || i === 5)">
|
|
|
+ <template v-else-if="num === 3 && (i ===3 || i === 4 || i === 5)">
|
|
|
<iframe :src="'static/jinm/index.html?'+'1'+','+ item.wsUrl +','+ item.rtspUrl + ',' +'100%' + ',' + '0'" style="width: 100%; height: 100%;" frameborder="0" allowfullscreen="true"></iframe>
|
|
|
</template>
|
|
|
</div>
|