Commit e35420f2 authored by jyx's avatar jyx

调整视频位置

parent 50cb0261
<template> <template>
<view style="width: 100%;height: 100%;"> <view style="width: 100%;height: 100%;background-color: #000000;">
<!-- <status-title style="position: absolute;" iconColor="white" :showBack="true" /> --> <!-- <status-title style="position: absolute;" iconColor="white" :showBack="true" /> -->
<swiper class="swiper" circular @change="swiperChange" :current="current" :vertical="true" :duration="duration"> <swiper class="swiper" circular @change="swiperChange" :current="current" :vertical="true" :duration="duration">
<swiper-item style="background-color: black;" v-for="(list, index) in displaySwiperList" :key="index" <swiper-item style="background-color: #000;" v-for="(list, index) in displaySwiperList" :key="index"
@click="tapVides()"> @click="tapVides()">
<block> <block>
<tt-video-player v-if="Math.abs(displayIndex-index)==0" :id="list.vedioIndex" <tt-video-player v-if="Math.abs(displayIndex-index)==0" :id="list.vedioIndex"
...@@ -142,7 +142,6 @@ ...@@ -142,7 +142,6 @@
// #endif // #endif
this.getData() this.getData()
}, },
onShow() { onShow() {
...@@ -497,8 +496,8 @@ ...@@ -497,8 +496,8 @@
.swiper { .swiper {
width: 100%; width: 100%;
height: 100%; height: 94%;
background-color: #000000; background-color: #000;
} }
.videoHover { .videoHover {
...@@ -611,13 +610,13 @@ ...@@ -611,13 +610,13 @@
.wordss2 { .wordss2 {
width: 100%; width: 100%;
height: 80rpx; height: 6%;
opacity: 0.8; // opacity: 0.8;
background: black; // background: black;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
border-radius: 60rpx; // border-radius: 60rpx;
margin-top: 20rpx; margin-top: 20rpx;
image { image {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment