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
8e8a75e0
Commit
8e8a75e0
authored
Nov 13, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c8cde011
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+17
-9
my.vue
vedio/pages/my/my.vue
+1
-1
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
8e8a75e0
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</view>
</view>
<view
class=
"section"
>
<view
class=
"section"
>
<view
class=
"pack-box"
>
<view
class=
"pack-box"
>
<view
class=
"pack-item"
:class=
"[
{active: index==selectedIndex}]"
<view
class=
"pack-item"
:
style=
"item.largeType !=='vip' ?'background: #f5f5f5;':'background: #f4c98b;'"
:
class=
"[
{active: index==selectedIndex}]"
v-for='(item, index) in vipList' :key='index' @click="choosePack(item, index)">
v-for='(item, index) in vipList' :key='index' @click="choosePack(item, index)">
<view
style=
"display: flex;flex-direction: column;align-items: center;"
>
<view
style=
"display: flex;flex-direction: column;align-items: center;"
>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
{{
item
.
title
}}
{{
item
.
title
}}
</view>
</view>
<view
class=
"origin row"
v-if=
'item.oldPrice'
>
<view
class=
"origin row"
v-if=
"item.remarks!=null"
>
{{
item
.
remarks
}}
{{
item
.
remarks
}}
</view>
</view>
</view>
</view>
...
@@ -213,11 +213,11 @@
...
@@ -213,11 +213,11 @@
margin-bottom
:
25rpx
;
margin-bottom
:
25rpx
;
margin-right
:
22rpx
;
margin-right
:
22rpx
;
width
:
calc
(
45%
);
width
:
calc
(
45%
);
height
:
20
0rpx
;
height
:
19
0rpx
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-around
;
justify-content
:
space-around
;
background
:
#f5f5f5
;
//
background: #f5f5f5;
border
:
6rpx
solid
#f5f5f5
;
border
:
6rpx
solid
#f5f5f5
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
position
:
relative
;
position
:
relative
;
...
@@ -232,8 +232,7 @@
...
@@ -232,8 +232,7 @@
}
}
.name
{
.name
{
font-size
:
32rpx
;
font-size
:
29rpx
;
font-weight
:
700
;
color
:
#333
;
color
:
#333
;
}
}
...
@@ -243,9 +242,18 @@
...
@@ -243,9 +242,18 @@
font-weight
:
700
;
font-weight
:
700
;
}
}
.origin
{
.origin
{
font-size
:
30rpx
;
color
:
#5A3C0F
;
color
:
#333
;
// background: #5a1505;
background-image
:
linear-gradient
(
90deg
,
#F3DEBE
,
#EAC180
);
font-size
:
22rpx
;
border-radius
:
20rpx
;
height
:
30rpx
;
line-height
:
30rpx
;
padding-top
:
4rpx
;
padding-bottom
:
3rpx
;
padding-left
:
16rpx
;
padding-right
:
16rpx
;
}
}
.cut-down
{
.cut-down
{
...
...
vedio/pages/my/my.vue
View file @
8e8a75e0
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
到期时间:
{{
userBean
.
expireTime
*
1000
|
formatDate
(
'yyyy-MM-dd'
)
}}
到期时间:
{{
userBean
.
expireTime
*
1000
|
formatDate
(
'yyyy-MM-dd'
)
}}
</view>
</view>
<view
v-if=
"userBean.expireTime
<
=
0
"
@
click=
"handle
Vip
Pay"
<view
v-if=
"userBean.expireTime
<
=
0
"
@
click=
"handle
Coin
Pay"
style=
"width: 210rpx;height: 60rpx;background-color: #5b1500;border-radius:30rpx;color: white;font-size: 26rpx;justify-content: center;align-items: center;display: flex;padding-bottom: 4rpx;margin-top: 30rpx;"
>
style=
"width: 210rpx;height: 60rpx;background-color: #5b1500;border-radius:30rpx;color: white;font-size: 26rpx;justify-content: center;align-items: center;display: flex;padding-bottom: 4rpx;margin-top: 30rpx;"
>
立即开通
立即开通
</view>
</view>
...
...
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