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
3dee819e
Commit
3dee819e
authored
Nov 12, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
8b6ee0ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+1
-1
vipPay.vue
vedio/pagesA/vipPay/vipPay.vue
+23
-5
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
3dee819e
...
...
@@ -230,7 +230,7 @@
});
},
onVip
()
{
navigateTo
(
`/pagesA/vipPay/vipPay
`
)
navigateTo
(
`/pagesA/vipPay/vipPay
?vedioId=`
+
this
.
vedioId
)
this
.
handleClose
();
},
ttPrePay
(
ttData
,
largeType
)
{
...
...
vedio/pagesA/vipPay/vipPay.vue
View file @
3dee819e
...
...
@@ -114,7 +114,13 @@
<text>
客服时间
</text>
<text>
工作日9:00-18:00
</text>
</view>
<kefu-popup
:show=
"showKefuPop"
@
close=
"showKefuPop = false"
/>
<kefu-popup
:show=
"showKefuPop"
@
close=
"showKefuPop = false"
/>
<uni-popup
type=
"center"
ref=
"select"
>
<view
class=
"text-box"
>
{{
slotParam
}}
</view>
</uni-popup>
</view>
</
template
>
...
...
@@ -141,13 +147,16 @@
pointList
:
[],
selectedIndex
:
0
,
selectedVipIndex
:
-
1
,
btnText
:
''
,
btnText
:
''
,
slotParam
:
''
,
vedioId
:
''
,
userBean
:
{},
os
:
'android'
,
showKefuPop
:
false
}
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
vedioId
=
JSON
.
parse
(
decodeURIComponent
(
options
.
vedioId
));
let
that
=
this
;
if
(
tt
.
getSystemInfoSync
().
platform
===
'ios'
)
{
this
.
os
=
'ios'
;
...
...
@@ -396,8 +405,10 @@
that
.
ttPay
(
largeType
,
res
.
orderId
,
ttData
);
},
fail
(
res
)
{
message
.
notify
(
res
.
errMsg
);
console
.
log
(
'requestOrder res.errMsg'
,
res
)
// message.notify(res.errMsg);
that
.
slotParam
=
JSON
.
stringify
(
res
.
errMsg
);
console
.
log
(
'requestOrder res.errMsg'
,
res
)
that
.
$refs
.
select
.
open
(
'center'
);
},
});
},
...
...
@@ -561,5 +572,12 @@
text
{
color
:
#2c2c2c
;
}
}
.text-box
{
word-break
:
break-all
;
margin
:
10rpx
;
padding
:
10rpx
;
background-color
:
white
;
color
:
black
;
}
</
style
>
\ No newline at end of file
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