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
4ffcdbda
Commit
4ffcdbda
authored
Jan 03, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除动画
parent
ccc79a3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+13
-12
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
4ffcdbda
<
template
>
<view>
<uni-popup
:type=
"popType"
ref=
"coinPop"
:maskClick=
"false"
:isMaskClick=
"false"
>
<uni-popup
:type=
"popType"
:animation=
"showAnim"
ref=
"coinPop"
:maskClick=
"false"
:isMaskClick=
"false"
>
<view
class=
"body"
style=
"margin-top: 500rpx;border-radius: 10rpx;width: 100%;height: 100%;"
>
<scroll-view
scroll-y
>
<view
style=
"display: flex;flex-direction: column;align-items: flex-end;"
>
...
...
@@ -100,12 +100,13 @@
showClone
:
false
,
isFirstPayFlag
:
false
,
popType
:
'bottom'
,
showAnim
:
true
};
},
methods
:
{
showPop
(
type
)
{
this
.
popType
=
type
this
.
$refs
.
coinPop
.
open
(
'bottom'
);
this
.
$refs
.
coinPop
.
open
();
},
// 支付完成回调
paySuccess
(
largeType
)
{
...
...
@@ -115,8 +116,6 @@
handleShow
()
{
let
that
=
this
;
that
.
post
({
url
:
'/vip/getVipProducts/point'
,
data
:
{
...
...
@@ -128,8 +127,8 @@
})
=>
{
that
.
isFirstPayFlag
=
data
.
forFirst
;
if
(
data
.
list
!=
null
&&
data
.
list
.
length
>
0
)
{
that
.
vipList
=
[];
that
.
firstPayList
=
[];
that
.
vipList
=
[];
that
.
firstPayList
=
[];
if
(
that
.
isFirstPayFlag
!=
null
&&
that
.
isFirstPayFlag
)
{
// 符合首充
var
tempFirstPayFlag
=
false
;
...
...
@@ -146,6 +145,8 @@
}
that
.
firstCash
=
data
.
list
[
0
].
firstPayPrice
;
that
.
title
=
that
.
firstCash
+
' 元自动解锁后续剧集'
;
this
.
showAnim
=
false
that
.
showPop
(
'top'
)
that
.
handlePay
()
}
else
{
...
...
@@ -232,7 +233,7 @@
setTimeout
(()
=>
{
that
.
isFirstPayFlag
=
false
that
.
showPop
(
'bottom'
)
},
5
00
);
},
1
00
);
}
else
{
// message.notify(errMsg);
}
...
...
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