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
f4ceb345
Commit
f4ceb345
authored
Nov 23, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
a76dd303
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+8
-7
loading.vue
vedio/pages/loading.vue
+18
-2
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
f4ceb345
...
...
@@ -103,13 +103,14 @@
this
.
$emit
(
'paySuccess'
,
largeType
);
this
.
handleClose
();
},
handleShow
()
{
handleShow
()
{
let
that
=
this
;
this
.
$refs
.
coinPop
.
open
(
'bottom'
);
this
.
post
({
url
:
'/vip/getVipProducts/point'
,
data
:
{
vedioId
:
th
is
.
vedioId
url
:
'/vip/getVipProducts/point'
,
data
:
{
vedioId
:
th
at
.
point
<=
0
?
null
:
that
.
vedioId
},
showLoading
:
false
,
success
:
({
...
...
@@ -120,7 +121,7 @@
// this.selectedIndex = data.list[0].activityType;
for
(
let
i
=
0
;
i
<
data
.
list
.
length
;
i
++
)
{
if
(
data
.
list
[
i
].
activityType
==
1
)
{
this
.
selectedIndex
=
i
;
this
.
selectedIndex
=
i
;
break
;
}
}
...
...
@@ -153,8 +154,8 @@
this
.
post
({
url
:
'/vip/getVipPayParams'
,
data
:
{
vedioId
:
th
is
.
vedioId
,
data
:
{
vedioId
:
th
at
.
point
<=
0
?
null
:
that
.
vedioId
,
pid
:
vipBean
.
pid
,
payChannel
:
'WEIXIN'
},
...
...
vedio/pages/loading.vue
View file @
f4ceb345
...
...
@@ -62,6 +62,10 @@
var
zs_channel
=
''
;
// 自有渠道
var
vedio_id
=
''
;
// 自有剧
var
zs_os
=
''
;
var
remark1
=
''
;
var
remark2
=
''
;
var
remark3
=
''
;
var
vedioIndex
=
''
;
zs_os
=
wx
.
getSystemInfoSync
().
platform
;
...
...
@@ -78,7 +82,11 @@
tips2
=
obj
.
query
.
tips2
??
''
product_type
=
obj
.
query
.
product_type
??
''
zs_channel
=
obj
.
query
.
zs_channel
??
''
vedio_id
=
obj
.
query
.
vedio_id
??
''
vedio_id
=
obj
.
query
.
vedio_id
??
''
remark1
=
obj
.
query
.
remark1
??
''
remark2
=
obj
.
query
.
remark2
??
''
remark3
=
obj
.
query
.
remark3
??
''
vedioIndex
=
obj
.
query
.
vedio_index
??
''
}
else
if
(
obj
.
query
.
ksChannel
??
''
!=
''
){
// 快手渠道参数
channel
=
'kuaishou'
...
...
@@ -92,6 +100,10 @@
product_type
=
obj
.
query
.
product_type
??
''
zs_channel
=
obj
.
query
.
zs_channel
??
''
vedio_id
=
obj
.
query
.
vedio_id
??
''
remark1
=
obj
.
query
.
remark1
??
''
remark2
=
obj
.
query
.
remark2
??
''
remark3
=
obj
.
query
.
remark3
??
''
vedioIndex
=
obj
.
query
.
vedio_index
??
''
}
else
{
// 自有渠道
...
...
@@ -120,7 +132,11 @@
projectId
:
projectId
,
productType
:
product_type
,
vedioId
:
vedio_id
,
os
:
zs_os
,
remark1
:
remark1
,
remark2
:
remark2
,
remark3
:
remark3
,
os
:
zs_os
,
vedioIndex
:
vedioIndex
,
zsChannel
:
zs_channel
},
showLoading
:
false
,
...
...
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