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
4002a104
Commit
4002a104
authored
Nov 28, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
a974177f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
charge.vue
vedio/components/charge/charge.vue
+10
-4
vipPay.vue
vedio/pagesA/vipPay/vipPay.vue
+3
-3
No files found.
vedio/components/charge/charge.vue
View file @
4002a104
...
...
@@ -126,6 +126,13 @@
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"
);
},
...
...
@@ -134,7 +141,6 @@
},
beforeMount
()
{
console
.
log
(
"chargeBeforeMount"
);
this
.
loadData
()
},
mounted
()
{
console
.
log
(
"chargeMounted"
);
...
...
@@ -188,7 +194,7 @@
common
.
methods
.
post
({
url
:
'/vip/getVipProducts/point'
,
data
:
{
vedioId
:
that
.
point
<=
0
?
null
:
that
.
vedio
Id
albumId
:
that
.
point
<=
0
?
null
:
that
.
album
Id
},
showLoading
:
false
,
success
:
({
...
...
@@ -232,7 +238,7 @@
common
.
methods
.
post
({
url
:
'/vip/getVipPayParams/douyin'
,
data
:
{
vedioId
:
that
.
point
<=
0
?
null
:
that
.
vedio
Id
,
albumId
:
that
.
point
<=
0
?
null
:
that
.
album
Id
,
os
:
that
.
os
,
pid
:
vipBean
.
pid
},
...
...
@@ -246,7 +252,7 @@
},
onVip
()
{
tt
.
navigateTo
({
url
:
`/pagesA/vipPay/vipPay?
vedioId=`
+
this
.
vedio
Id
url
:
`/pagesA/vipPay/vipPay?
albumId=`
+
this
.
album
Id
})
this
.
handleClose
();
},
...
...
vedio/pagesA/vipPay/vipPay.vue
View file @
4002a104
...
...
@@ -149,14 +149,14 @@
selectedVipIndex
:
-
1
,
btnText
:
''
,
slotParam
:
''
,
vedio
Id
:
''
,
album
Id
:
''
,
userBean
:
{},
os
:
'android'
,
showKefuPop
:
false
}
},
onLoad
(
options
)
{
this
.
vedioId
=
options
.
vedio
Id
this
.
albumId
=
options
.
album
Id
let
that
=
this
;
if
(
tt
.
getSystemInfoSync
().
platform
===
'ios'
)
{
this
.
os
=
'ios'
;
...
...
@@ -385,7 +385,7 @@
this
.
post
({
url
:
'/vip/getVipPayParams/douyin'
,
data
:
{
vedioId
:
that
.
point
<=
0
?
null
:
that
.
vedio
Id
,
albumId
:
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