Commit 4fa744dd authored by mengcuiguang's avatar mengcuiguang

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

parent 9e5acb99
...@@ -85,7 +85,8 @@ ...@@ -85,7 +85,8 @@
"root": "pagesC", "root": "pagesC",
"pages": [{ "pages": [{
"path": "ttvideo/ttVideoDetail", "path": "ttvideo/ttVideoDetail",
"style": { "style": {
"backgroundColor": "#000000",
"navigationStyle": "default", "navigationStyle": "default",
"navigationBarBackgroundColor": "#000000", "navigationBarBackgroundColor": "#000000",
"navigationBarTextStyle": "#ffffff", "navigationBarTextStyle": "#ffffff",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view style="width: 100%;height: 100%;"> <view style="width: 100%;height: 100%;">
<!-- <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 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> <block>
<tt-video-player v-if="canUseTTPlayer && Math.abs(displayIndex-index)==0" :id="list.vedioIndex" <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" :album-id="list.douyinAlbumId" :episode-id="list.douyinEpisodeId" :cloud-type="1" version="1"
...@@ -485,7 +485,8 @@ ...@@ -485,7 +485,8 @@
.swiper { .swiper {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #000000;
} }
.videoHover { .videoHover {
......
/* 兼容 uniapp 第三方混编使用,不需要可移除,详细查看 README.md */ /* 兼容 uniapp 第三方混编使用,不需要可移除,详细查看 README.md */
.video-player-view { .video-player-view {
background-color: #000000;
width: 100%; width: 100%;
height: 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