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
Show 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 @@
...
@@ -166,7 +166,14 @@
},
},
// 支付完成回调
// 支付完成回调
paySuccess
(
largeType
)
{
paySuccess
(
largeType
)
{
if
(
largeType
==
'vip'
)
{
this
.
unlockAll
();
this
.
unlockAll
();
}
else
if
(
largeType
==
'point'
)
{
// 解锁单集
this
.
pm
.
setCurrentUnlock
();
}
else
if
(
largeType
==
'vedio'
)
{
this
.
unlockAll
();
}
this
.
pm
.
toggleCustomDialog
();
this
.
pm
.
toggleCustomDialog
();
},
},
...
...
vedio/components/coin-popup/coin-popup.vue
View file @
1214c8bf
...
@@ -103,9 +103,6 @@
...
@@ -103,9 +103,6 @@
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</view>
</uni-popup>
</uni-popup>
</view>
</view>
...
...
vedio/components/home/index.vue
View file @
1214c8bf
...
@@ -182,7 +182,8 @@
...
@@ -182,7 +182,8 @@
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 10rpx;"
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 10rpx;"
src=
"../../static/index/ic_quit_white.png"
mode=
"aspectFill"
></image>
src=
"../../static/index/ic_quit_white.png"
mode=
"aspectFill"
></image>
<view
@
click=
"handleBottomPlay(newRecordBean)"
<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>
</view>
</view>
...
@@ -234,7 +235,7 @@
...
@@ -234,7 +235,7 @@
boxImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
boxImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
clientHeight
:
0
,
clientHeight
:
0
,
page
:
1
,
page
:
1
,
size
:
10
,
size
:
10
0
,
loadStatus
:
'loadmore'
loadStatus
:
'loadmore'
};
};
},
},
...
@@ -413,7 +414,6 @@
...
@@ -413,7 +414,6 @@
let
that
=
this
;
let
that
=
this
;
let
loadEpisode_id
=
uni
.
getStorageSync
(
'tt_episode_id'
)
||
''
;
let
loadEpisode_id
=
uni
.
getStorageSync
(
'tt_episode_id'
)
||
''
;
let
loadAlbum_id
=
uni
.
getStorageSync
(
'tt_album_id'
)
||
''
;
let
loadAlbum_id
=
uni
.
getStorageSync
(
'tt_album_id'
)
||
''
;
setTimeout
(()
=>
{
that
.
post
({
that
.
post
({
url
:
'/vedio/firstVedio/douyin'
,
url
:
'/vedio/firstVedio/douyin'
,
data
:
{
data
:
{
...
@@ -440,7 +440,6 @@
...
@@ -440,7 +440,6 @@
}
}
}
}
});
});
},
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