Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
uniapp_vedio
Commits
4fa744dd
Commit
4fa744dd
authored
Dec 22, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频详情页加载时背景为黑色
parent
9e5acb99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
pages.json
vedio/pages.json
+2
-1
ttVideoDetail.vue
vedio/pagesC/ttvideo/ttVideoDetail.vue
+3
-2
index.ttss
vedio/ttcomponents/tt-video-player/index.ttss
+1
-0
No files found.
vedio/pages.json
View file @
4fa744dd
...
@@ -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"
,
...
...
vedio/pagesC/ttvideo/ttVideoDetail.vue
View file @
4fa744dd
...
@@ -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
{
...
...
vedio/ttcomponents/tt-video-player/index.ttss
View file @
4fa744dd
/* 兼容 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment