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
Show 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 @@
</view>
<view
class=
"section"
>
<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)">
<view
style=
"display: flex;flex-direction: column;align-items: center;"
>
...
...
@@ -40,7 +40,7 @@
{{
item
.
title
}}
</view>
<view
class=
"origin row"
v-if=
'item.oldPrice'
>
<view
class=
"origin row"
v-if=
"item.remarks!=null"
>
{{
item
.
remarks
}}
</view>
</view>
...
...
@@ -213,11 +213,11 @@
margin-bottom
:
25rpx
;
margin-right
:
22rpx
;
width
:
calc
(
45%
);
height
:
20
0rpx
;
height
:
19
0rpx
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
background
:
#f5f5f5
;
//
background: #f5f5f5;
border
:
6rpx
solid
#f5f5f5
;
border-radius
:
10rpx
;
position
:
relative
;
...
...
@@ -232,8 +232,7 @@
}
.name
{
font-size
:
32rpx
;
font-weight
:
700
;
font-size
:
29rpx
;
color
:
#333
;
}
...
...
@@ -244,8 +243,17 @@
}
.origin
{
font-size
:
30rpx
;
color
:
#333
;
color
:
#5A3C0F
;
// 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
{
...
...
vedio/pages/my/my.vue
View file @
8e8a75e0
...
...
@@ -26,7 +26,7 @@
到期时间:
{{
userBean
.
expireTime
*
1000
|
formatDate
(
'yyyy-MM-dd'
)
}}
</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;"
>
立即开通
</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