Commit 4fa744dd authored by mengcuiguang's avatar mengcuiguang

视频详情页加载时背景为黑色

parent 9e5acb99
......@@ -86,6 +86,7 @@
"pages": [{
"path": "ttvideo/ttVideoDetail",
"style": {
"backgroundColor": "#000000",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#000000",
"navigationBarTextStyle": "#ffffff",
......
......@@ -2,7 +2,7 @@
<view style="width: 100%;height: 100%;">
<!-- <status-title style="position: absolute;" iconColor="white" :showBack="true" /> -->
<swiper class="swiper" circular @change="swiperChange" :current="current" :vertical="true" :duration="duration">
<swiper-item v-for="(list, index) in displaySwiperList" :key="index" @click="tapVides()">
<swiper-item style="background-color: black;" v-for="(list, index) in displaySwiperList" :key="index" @click="tapVides()">
<block>
<tt-video-player v-if="canUseTTPlayer && Math.abs(displayIndex-index)==0" :id="list.vedioIndex"
:album-id="list.douyinAlbumId" :episode-id="list.douyinEpisodeId" :cloud-type="1" version="1"
......@@ -486,6 +486,7 @@
.swiper {
width: 100%;
height: 100%;
background-color: #000000;
}
.videoHover {
......
/* 兼容 uniapp 第三方混编使用,不需要可移除,详细查看 README.md */
.video-player-view {
background-color: #000000;
width: 100%;
height: 100%;
}
\ No newline at end of file
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