Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_scan
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_scan
Commits
97bb479d
Commit
97bb479d
authored
Jul 29, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
981e4b6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
my.vue
scan/components/my/my.vue
+3
-5
vipPay.vue
scan/pagesA/vipPay/vipPay.vue
+3
-2
No files found.
scan/components/my/my.vue
View file @
97bb479d
...
...
@@ -31,11 +31,9 @@
到期时间:
{{
userBean
.
expireTime
*
1000
|
formatDate
(
'yyyy-MM-dd'
)
}}
</view>
<view
v-if=
"userBean.expireTime
<
=
0
"
@
click=
"handleVipPay"
style=
"margin-left: 40rpx;width: 210rpx;height: 60rpx;background-color: #fd915f;border-radius:30rpx;color: white;font-size: 26rpx;justify-content: center;align-items: center;display: flex;padding-bottom: 4rpx;margin-top: 40rpx;"
>
立即开通
</view>
<view
v-else
style=
"width: 210rpx;height: 60rpx;padding-bottom: 4rpx;margin-top: 40rpx;"
>
<view
@
click=
"handleVipPay"
style=
"margin-left: 40rpx;width: 210rpx;height: 60rpx;background-color: #fd915f;border-radius:30rpx;color: white;font-size: 26rpx;justify-content: center;align-items: center;display: flex;padding-bottom: 4rpx;margin-top: 40rpx;"
>
{{
userBean
.
expireTime
<=
0
?
'立即开通'
:
'已开通'
}}
</view>
</view>
</view>
...
...
scan/pagesA/vipPay/vipPay.vue
View file @
97bb479d
...
...
@@ -123,7 +123,7 @@
}
this
.
post
({
url
:
'/vip/getVipProducts'
,
url
:
'/vip/getVipProducts
/cyc
'
,
showLoading
:
false
,
success
:
({
data
...
...
@@ -520,7 +520,8 @@
color
:
darkgray
;
font-size
:
26rpx
;
margin-top
:
30rpx
;
padding-left
:
30rpx
;
padding-left
:
30rpx
;
padding-right
:
20rpx
;
.agreementText
{
color
:
#387EF4
;
...
...
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