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
096f8f5d
Commit
096f8f5d
authored
Mar 06, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加loading
parent
75eedcc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ttVideoDetail.vue
vedio/pagesC/ttvideo/ttVideoDetail.vue
+6
-4
No files found.
vedio/pagesC/ttvideo/ttVideoDetail.vue
View file @
096f8f5d
...
...
@@ -494,7 +494,7 @@
// 监听错误
this
.
ad
.
onError
((
err
)
=>
{
tt
.
hideLoading
();
uni
.
hideLoading
();
uni
.
showToast
({
title
:
"网络太火爆了,请稍候重试"
...
...
@@ -511,7 +511,7 @@
let
that
=
this
// 监听视频播放完成
this
.
ad
.
onClose
((
data
)
=>
{
tt
.
hideLoading
();
uni
.
hideLoading
();
if
(
data
.
isEnded
)
{
uni
.
showToast
({
title
:
"正在为您解锁剧集"
...
...
@@ -539,8 +539,10 @@
this
.
playRewardVideo
()
},
playRewardVideo
()
{
// 播放激励视频
tt
.
showLoading
();
// 播放激励视频
uni
.
showLoading
({
title
:
'广告加载中'
});
this
.
ad
.
show
();
},
adUnlock
(
num
,
ecpm
)
{
...
...
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