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
5dbc1d29
Commit
5dbc1d29
authored
Nov 28, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
22830e42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
charge.vue
vedio/components/charge/charge.vue
+12
-3
No files found.
vedio/components/charge/charge.vue
View file @
5dbc1d29
...
...
@@ -119,13 +119,22 @@
userBean
:
{},
os
:
'android'
,
titleText
:
'解锁剧集'
,
showClone
:
false
showClone
:
false
,
pm
:
null
,
albumId
:
""
};
},
async
beforeCreate
()
{
const
pm
=
await
getPlayletManager
({
is
:
'charge'
// 和插槽同名
});
let
that
=
this
pm
.
getPlayletInfo
().
then
(
res
=>
{
console
.
log
(
res
)
that
.
albumId
=
res
.
albumId
this
.
loadData
()
});
this
.
pm
=
pm
;
console
.
error
(
pm
,
this
,
"charge_pm_this_beforeCreate"
);
},
...
...
@@ -188,7 +197,7 @@
common
.
methods
.
post
({
url
:
'/vip/getVipProducts/point'
,
data
:
{
vedioId
:
that
.
point
<=
0
?
null
:
that
.
vedio
Id
vedioId
:
that
.
point
<=
0
?
null
:
that
.
album
Id
},
showLoading
:
false
,
success
:
({
...
...
@@ -232,7 +241,7 @@
common
.
methods
.
post
({
url
:
'/vip/getVipPayParams/douyin'
,
data
:
{
vedioId
:
that
.
point
<=
0
?
null
:
that
.
vedio
Id
,
vedioId
:
that
.
point
<=
0
?
null
:
that
.
album
Id
,
os
:
that
.
os
,
pid
:
vipBean
.
pid
},
...
...
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