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
e217cef1
Commit
e217cef1
authored
Nov 03, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
fd3fa185
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+19
-5
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+1
-1
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
e217cef1
...
...
@@ -10,10 +10,20 @@
</view>
<view
style=
"display: flex;flex-direction: column;align-items: center;margin-bottom: 20rpx;"
>
<view
style=
"font-size: 38rpx;color: black;"
>
超多精彩好剧一键解锁
</view>
<view
class=
"flex"
>
<view
v-if=
"point>0"
style=
"display: flex;flex-direction: row;margin-top: 10rpx;"
>
<view
style=
"font-size: 28rpx;color: #644238;margin-top: 12rpx;"
>
解锁本集:
</view>
<view
style=
"font-size: 42rpx;color: red;font-weight: 777;"
>
{{
point
}}
</view>
<view
style=
"font-size: 28rpx;color: #644238;margin-top: 12rpx;margin-left: 6rpx;"
>
看点
</view>
</view>
<view
v-if=
"point>0"
style=
"width: 60rpx;"
></view>
<view
style=
"display: flex;flex-direction: row;margin-top: 10rpx;"
>
<view
style=
"font-size: 28rpx;color: #644238;margin-top: 12rpx;"
>
账户余额:
</view>
<view
style=
"font-size: 42rpx;color: red;font-weight: 777;"
>
{{
userBean
.
point
}}
</view>
<view
style=
"font-size: 28rpx;color: #644238;margin-top: 12rpx;margin-left: 6rpx;"
>
看点
</view>
<view
style=
"font-size: 28rpx;color: #644238;margin-top: 12rpx;margin-left: 6rpx;"
>
看点
</view>
</view>
</view>
</view>
<view
class=
"section"
>
...
...
@@ -67,6 +77,10 @@
show
:
{
type
:
Boolean
,
default
:
false
},
point
:
{
type
:
[
Number
,
String
],
default
:
0
}
},
data
()
{
...
...
@@ -172,7 +186,7 @@
<
style
lang=
"scss"
>
.body
{
padding
:
2
0rpx
0
30rpx
0
;
padding
:
1
0rpx
0
30rpx
0
;
border-radius
:
20rpx
20rpx
0
0
;
background-color
:
white
;
display
:
flex
;
...
...
vedio/pagesC/video/newVideoDetail.vue
View file @
e217cef1
...
...
@@ -106,7 +106,7 @@
</swiper>
</view>
</uni-popup>
<coin-popup
:show=
"showCoinPop"
@
close=
"showCoinPop = false"
@
paySuccess=
"paySuccess"
>
<coin-popup
:show=
"showCoinPop"
:point=
"data.point"
@
close=
"showCoinPop = false"
@
paySuccess=
"paySuccess"
>
</coin-popup>
</view>
</
template
>
...
...
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