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
a410d1db
Commit
a410d1db
authored
Dec 12, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改状态栏
parent
1d7db962
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
30 deletions
+25
-30
App.vue
vedio/App.vue
+3
-0
common.js
vedio/mixins/common.js
+2
-1
pages.json
vedio/pages.json
+16
-25
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+4
-4
No files found.
vedio/App.vue
View file @
a410d1db
...
...
@@ -27,6 +27,9 @@
// 微信
// #ifdef MP-WEIXIN
this
.
globalData
.
statusBarHeight
=
res
.
statusBarHeight
;
// #endif
// #ifdef MP-KUAISHOU
this
.
globalData
.
statusBarHeight
=
res
.
statusBarHeight
;
// #endif
// #ifndef H5
...
...
vedio/mixins/common.js
View file @
a410d1db
...
...
@@ -142,7 +142,8 @@ export default {
// #endif
Object
.
assign
(
header
,
{
token
:
uni
.
getStorageSync
(
'token'
),
// token: uni.getStorageSync('token'),
token
:
'EF05F562126806736038B218E12884F9483D433C42E9B84882577C78642C25CF5F433703067DF5142735505C42F58997'
,
pkgName
:
app
.
globalData
.
pkgName
,
proChannel
:
uniChannel
})
...
...
vedio/pages.json
View file @
a410d1db
...
...
@@ -8,27 +8,18 @@
}
},
"pages"
:
[
//
#ifndef
APP-PLUS
{
"path"
:
"pages/loading"
,
"style"
:
{
"navigationStyle"
:
"default"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
//用于配置状态栏的字体颜色
}
},
//
#endif
{
"path"
:
"pages/home"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
...
...
@@ -36,35 +27,35 @@
{
"path"
:
"pages/my/my"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
//用于配置状态栏的字体颜色
}
},
{
"path"
:
"pages/brower/brower"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"pages/recommend/recommend"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"pages/recommend/follow"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"pages/recommend/recommendVideo"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
...
...
@@ -76,7 +67,7 @@
"pages"
:
[{
"path"
:
"vipPay/vipPay"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
...
...
@@ -86,14 +77,14 @@
"pages"
:
[{
"path"
:
"video/videoDetail"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"video/newVideoDetail"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
...
...
@@ -103,28 +94,28 @@
"pages"
:
[{
"path"
:
"watchRecord/watchRecord"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
//用于配置状态栏的字体颜色
}
},
{
"path"
:
"payRecord/payRecord"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"dotRecord/dotRecord"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"useDotRecord/useDotRecord"
,
"style"
:
{
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
...
...
@@ -148,7 +139,7 @@
},
"globalStyle"
:
{
"backgroundColor"
:
"#232325"
,
"navigationStyle"
:
"
default
"
,
"navigationStyle"
:
"
custom
"
,
"app-plus"
:
{
"bounce"
:
"none"
,
"scrollIndicator"
:
"none"
...
...
vedio/pagesC/video/newVideoDetail.vue
View file @
a410d1db
...
...
@@ -8,8 +8,8 @@
:controls=
"controls"
:loop=
"!isplay"
:enable-progress-gesture=
"false"
:show-loading=
"true"
:show-fullscreen-btn=
"false"
@
controlstoggle=
"controlstoggle"
:poster=
"data.coverImage"
@
click=
"tapVides()"
@
timeupdate=
"timeupdate"
:autoplay=
"!list.lock"
:src=
"list.vedioUrl"
class=
"tsvideo"
play-btn-position=
"center"
object-fit=
"contain"
/>
<view
v-if=
"!isqp"
class=
"userInfo"
>
class=
"tsvideo"
play-btn-position=
"center"
object-fit=
"contain"
style=
"z-index: 0;"
/>
<view
v-if=
"!isqp"
class=
"userInfo"
style=
"z-index: 999;"
>
<!-- 点赞 -->
<view
class=
"flex"
style=
"opacity: 0.9; margin-top: 10rpx;"
>
<image
@
click
.
stop=
"collect(data.vedioId,index)"
v-if=
"data.collect==0"
...
...
@@ -31,7 +31,7 @@
</view>
</view>
<!-- 最底下的文字部分 -->
<view
v-if=
"!isqp"
class=
"contentcd flex"
>
<view
v-if=
"!isqp"
class=
"contentcd flex"
style=
"z-index: 999;"
>
<text
class=
"userName"
>
{{
data
.
title
}}
</text>
<text
class=
"words"
>
{{
list
.
title
}}
</text>
<view
class=
"wordss2"
@
click
.
stop=
"sellxj()"
>
...
...
@@ -41,7 +41,7 @@
<image
class=
"wordsss"
src=
"@/static/up.png"
/>
</view>
</view>
<view
v-if=
"originList[originIndex].lock || !list.vedioUrl"
class=
"videoHover tsimg"
<view
style=
"z-index: 999;"
v-if=
"originList[originIndex].lock || !list.vedioUrl"
class=
"videoHover tsimg"
@
click
.
stop=
"tapVideoHover(index,list.pays)"
:style=
"'width: '+ windowWidth +'px; height:'+100+'%;'"
>
<image
:src=
"data.coverImage"
...
...
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