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
1214c8bf
Commit
1214c8bf
authored
Dec 12, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复整剧解锁未刷新状态,推荐剧跳转慢,首页加载 100 条数据
parent
6bd5d396
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
33 deletions
+36
-33
charge.vue
vedio/components/charge/charge.vue
+8
-1
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+0
-3
index.vue
vedio/components/home/index.vue
+28
-29
No files found.
vedio/components/charge/charge.vue
View file @
1214c8bf
...
...
@@ -166,7 +166,14 @@
},
// 支付完成回调
paySuccess
(
largeType
)
{
this
.
unlockAll
();
if
(
largeType
==
'vip'
)
{
this
.
unlockAll
();
}
else
if
(
largeType
==
'point'
)
{
// 解锁单集
this
.
pm
.
setCurrentUnlock
();
}
else
if
(
largeType
==
'vedio'
)
{
this
.
unlockAll
();
}
this
.
pm
.
toggleCustomDialog
();
},
...
...
vedio/components/coin-popup/coin-popup.vue
View file @
1214c8bf
...
...
@@ -103,9 +103,6 @@
</view>
</scroll-view>
</view>
</view>
</uni-popup>
</view>
...
...
vedio/components/home/index.vue
View file @
1214c8bf
...
...
@@ -182,7 +182,8 @@
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 10rpx;"
src=
"../../static/index/ic_quit_white.png"
mode=
"aspectFill"
></image>
<view
@
click=
"handleBottomPlay(newRecordBean)"
style=
"width: 160rpx;height: 50rpx;line-height: 50rpx;text-align: center;background-color: red;border-radius:30rpx;color: white;font-size: 24rpx;margin-right: 20rpx;"
>
继续观看
style=
"width: 160rpx;height: 50rpx;line-height: 50rpx;text-align: center;background-color: red;border-radius:30rpx;color: white;font-size: 24rpx;margin-right: 20rpx;"
>
继续观看
</view>
</view>
...
...
@@ -234,7 +235,7 @@
boxImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
clientHeight
:
0
,
page
:
1
,
size
:
10
,
size
:
10
0
,
loadStatus
:
'loadmore'
};
},
...
...
@@ -413,34 +414,32 @@
let
that
=
this
;
let
loadEpisode_id
=
uni
.
getStorageSync
(
'tt_episode_id'
)
||
''
;
let
loadAlbum_id
=
uni
.
getStorageSync
(
'tt_album_id'
)
||
''
;
setTimeout
(()
=>
{
that
.
post
({
url
:
'/vedio/firstVedio/douyin'
,
data
:
{
episode_id
:
loadEpisode_id
,
album_id
:
loadAlbum_id
},
showLoading
:
false
,
success
:
({
data
})
=>
{
if
(
data
.
vedioMsg
!=
null
)
{
gotoVideoPlayerPage
(
data
.
vedioMsg
)
// 重置短视频挂载id
uni
.
setStorage
({
key
:
'tt_album_id'
,
data
:
''
});
uni
.
setStorage
({
key
:
'tt_episode_id'
,
data
:
''
});
}
that
.
post
({
url
:
'/vedio/firstVedio/douyin'
,
data
:
{
episode_id
:
loadEpisode_id
,
album_id
:
loadAlbum_id
},
showLoading
:
false
,
success
:
({
data
})
=>
{
if
(
data
.
vedioMsg
!=
null
)
{
gotoVideoPlayerPage
(
data
.
vedioMsg
)
// 重置短视频挂载id
uni
.
setStorage
({
key
:
'tt_album_id'
,
data
:
''
});
uni
.
setStorage
({
key
:
'tt_episode_id'
,
data
:
''
});
}
}
);
}
,
800
);
}
});
}
}
};
...
...
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