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
d78b06dd
Commit
d78b06dd
authored
Jan 03, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
193e8b24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+21
-9
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
d78b06dd
<
template
>
<
template
>
<view>
<view>
<uni-popup
type=
"bottom
"
ref=
"coinPop"
:maskClick=
"false"
:isMaskClick=
"false"
>
<uni-popup
:type=
"popType
"
ref=
"coinPop"
:maskClick=
"false"
:isMaskClick=
"false"
>
<view
class=
"body"
style=
"
width: 100%;height: 100%
;"
>
<view
class=
"body"
style=
"
margin-top: 500rpx;border-radius: 10rpx
;"
>
<scroll-view
scroll-y
>
<scroll-view
scroll-y
>
<view
style=
"display: flex;flex-direction: column;align-items: flex-end;"
>
<view
style=
"display: flex;flex-direction: column;align-items: flex-end;"
>
<image
@
click=
"handleClose"
<image
@
click=
"handleClose"
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin-top: 20rpx;margin-right: 20rpx;margin-bottom: 10rpx;"
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin-top: 20rpx;margin-right: 20rpx;margin-bottom: 10rpx;"
src=
"@/static/index/ic_quit_white.png"
></image
>
src=
"@/static/index/ic_quit_white.png"
/
>
</view>
</view>
<view
style=
"display: flex;flex-direction: column;align-items: center;margin-bottom: 20rpx;"
>
<view
style=
"display: flex;flex-direction: column;align-items: center;margin-bottom: 20rpx;"
>
<view
style=
"font-size: 38rpx;color: black;"
>
{{
title
}}
</view>
<view
style=
"font-size: 38rpx;color: black;"
>
{{
title
}}
</view>
...
@@ -97,10 +97,16 @@
...
@@ -97,10 +97,16 @@
selectedIndex
:
0
,
selectedIndex
:
0
,
title
:
'超多精彩好剧一键解锁'
,
title
:
'超多精彩好剧一键解锁'
,
userBean
:
{},
userBean
:
{},
isFirstPayFlag
:
false
showClone
:
false
,
isFirstPayFlag
:
false
,
popType
:
'bottom'
,
};
};
},
},
methods
:
{
methods
:
{
showPop
(
type
)
{
this
.
popType
=
type
this
.
$refs
.
coinPop
.
open
(
'bottom'
);
},
// 支付完成回调
// 支付完成回调
paySuccess
(
largeType
)
{
paySuccess
(
largeType
)
{
this
.
$emit
(
'paySuccess'
,
largeType
);
this
.
$emit
(
'paySuccess'
,
largeType
);
...
@@ -108,7 +114,6 @@
...
@@ -108,7 +114,6 @@
},
},
handleShow
()
{
handleShow
()
{
let
that
=
this
;
let
that
=
this
;
this
.
$refs
.
coinPop
.
open
(
'bottom'
);
that
.
post
({
that
.
post
({
url
:
'/vip/getVipProducts/point'
,
url
:
'/vip/getVipProducts/point'
,
...
@@ -135,7 +140,9 @@
...
@@ -135,7 +140,9 @@
that
.
vipList
.
push
(
data
.
list
[
i
]);
that
.
vipList
.
push
(
data
.
list
[
i
]);
}
}
}
}
that
.
firstCash
=
data
.
list
[
0
].
firstPayPrice
;
that
.
title
=
that
.
firstCash
+
' 元自动解锁后续剧集'
;
that
.
showPop
(
'top'
)
that
.
handlePay
()
that
.
handlePay
()
}
else
{
}
else
{
that
.
vipList
=
data
.
list
;
that
.
vipList
=
data
.
list
;
...
@@ -216,10 +223,15 @@
...
@@ -216,10 +223,15 @@
if
(
that
.
isFirstPayFlag
&&
errCode
==
-
2
)
{
if
(
that
.
isFirstPayFlag
&&
errCode
==
-
2
)
{
// 符合首充
// 符合首充
that
.
handleClose
()
that
.
handleClose
()
setTimeout
(()
=>
{
that
.
isFirstPayFlag
=
false
that
.
showPop
(
'bottom'
)
},
500
);
}
else
{
}
else
{
// message.notify(errMsg);
// message.notify(errMsg);
}
}
}
,
}
})
})
}
else
{
}
else
{
message
.
notify
(
'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
);
message
.
notify
(
'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
);
...
...
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