Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
Overview
Overview
Details
Activity
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
pseer
gxpt_wechat
Commits
24ef26cc
Commit
24ef26cc
authored
Jul 26, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
6405d2c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
vipCreate.vue
pages/vipCreate/vipCreate.vue
+6
-5
No files found.
pages/vipCreate/vipCreate.vue
View file @
24ef26cc
...
@@ -92,8 +92,7 @@
...
@@ -92,8 +92,7 @@
<text
class=
"text-3"
>
{{
equityAmountList
.
length
?
equityAmountList
[
1
]:
'00'
}}
</text>
<text
class=
"text-3"
>
{{
equityAmountList
.
length
?
equityAmountList
[
1
]:
'00'
}}
</text>
</view>
</view>
<view
class=
"cu-btn-box"
@
tap=
"onSubmit"
>
<view
class=
"cu-btn-box"
@
tap=
"onSubmit"
>
<button
class=
"cu-btn"
<button
class=
"cu-btn bg-pink"
>
立即开通
</button>
:class=
"consumerMemberStatus?'bg-gray':'bg-pink'"
>
立即开通
</button>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -219,9 +218,10 @@
...
@@ -219,9 +218,10 @@
</view>
</view>
</view>
</view>
<view
v-else-if=
"tabIndex ==2"
class=
"recharge-content"
>
<view
v-else-if=
"tabIndex ==2"
class=
"recharge-content"
>
<text
class=
"text-1"
>
购买权益,优惠享不停,待支付:
</text>
<text
v-if=
"consumerMemberStatus"
class=
"text-1"
>
权益续期,
<text
class=
"text-pink"
>
{{
userInfo
.
consumerMember
.
expirationDate
}}
</text>
过期,优惠享不停,待支付:
</text>
<text
v-else
class=
"text-1"
>
购买权益,优惠享不停,待支付:
</text>
<view
class=
"payfee-text"
>
<view
class=
"payfee-text"
>
<text>
¥
{{
equityAmountL
ist
[
0
].
requiredAmount
}}
</text>
<text>
¥
{{
l
ist
[
0
].
requiredAmount
}}
</text>
</view>
</view>
<view
class=
"flex-row"
>
<view
class=
"flex-row"
>
<text
class=
"text-3"
>
可享权益:
</text>
<text
class=
"text-3"
>
可享权益:
</text>
...
@@ -279,6 +279,7 @@
...
@@ -279,6 +279,7 @@
checked
:
false
,
checked
:
false
,
assetsPath
:
config
.
assetsPath
,
assetsPath
:
config
.
assetsPath
,
list
:
[],
list
:
[],
userInfo
:{},
rechargeConfList
:
[],
rechargeConfList
:
[],
tabIndex
:
1
,
tabIndex
:
1
,
rechargeIndex
:
0
,
rechargeIndex
:
0
,
...
@@ -396,6 +397,7 @@
...
@@ -396,6 +397,7 @@
onGetUserInfo
()
{
onGetUserInfo
()
{
getUserInfo
().
then
(
res
=>
{
getUserInfo
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
userInfo
=
res
.
data
.
data
;
if
(
res
.
data
.
data
.
consumerMember
&&
res
.
data
.
data
.
consumerMember
.
memberType
==
2
)
{
if
(
res
.
data
.
data
.
consumerMember
&&
res
.
data
.
data
.
consumerMember
.
memberType
==
2
)
{
let
expirationDate
=
moment
(
res
.
data
.
data
.
consumerMember
.
expirationDate
).
valueOf
();
let
expirationDate
=
moment
(
res
.
data
.
data
.
consumerMember
.
expirationDate
).
valueOf
();
...
@@ -463,7 +465,6 @@
...
@@ -463,7 +465,6 @@
},
},
onSubmit
()
{
onSubmit
()
{
if
(
this
.
consumerMemberStatus
)
return
;
if
(
!
this
.
checked
)
{
if
(
!
this
.
checked
)
{
uni
.
showToast
({
uni
.
showToast
({
icon
:
"none"
,
icon
:
"none"
,
...
...
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