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
18ec8033
Commit
18ec8033
authored
Aug 26, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
c090be5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
myInfo.vue
pages/my/myInfo.vue
+9
-9
No files found.
pages/my/myInfo.vue
View file @
18ec8033
...
...
@@ -62,43 +62,43 @@
<!--
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
userInfo
.
consumerWallet
.
remainingIntegral
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
-->
<view
class=
"flex-row"
>
<text
class=
"text-3"
>
当前积分
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
?
userInfo
.
consumerWallet
.
remainingIntegral
:
0
}}
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
?
parseInt
(
userInfo
.
consumerWallet
.
membershipProgress
):
0
}}
</text>
</view>
</view>
<view
v-else-if=
"userInfo.memberConfig && userInfo.memberConfig.membershipLevel ===3"
class=
"level level-3"
>
<text
class=
"text-1"
>
LV
{{
userInfo
.
memberConfig
.
levelName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
Number
(
userInfo
.
consumerWallet
.
remainingIntegral
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
parseInt
(
userInfo
.
consumerWallet
.
membershipProgress
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<view
class=
"flex-row"
>
<text
class=
"text-3"
>
当前积分
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
remainingIntegral
||
0
}}
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
membershipProgress
||
0
}}
</text>
</view>
</view>
<view
v-else-if=
"userInfo.memberConfig && userInfo.memberConfig.membershipLevel ===2"
class=
"level level-2"
>
<text
class=
"text-1"
>
LV
{{
userInfo
.
memberConfig
.
levelName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
Number
(
userInfo
.
consumerWallet
.
remainingIntegral
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
parseInt
(
userInfo
.
consumerWallet
.
membershipProgress
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<view
class=
"flex-row"
>
<text
class=
"text-3"
>
当前积分
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
remainingIntegral
||
0
}}
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
membershipProgress
||
0
}}
</text>
</view>
</view>
<view
v-else-if=
"userInfo.memberConfig && userInfo.memberConfig.membershipLevel ===1"
class=
"level level-1"
>
<text
class=
"text-1"
>
LV
{{
userInfo
.
memberConfig
.
levelName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
Number
(
userInfo
.
consumerWallet
.
remainingIntegral
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
parseInt
(
userInfo
.
consumerWallet
.
membershipProgress
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<view
class=
"flex-row"
>
<text
class=
"text-3"
>
当前积分
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
remainingIntegral
||
0
}}
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
membershipProgress
||
0
}}
</text>
</view>
</view>
<view
v-else-if=
"userInfo.memberConfig && userInfo.memberConfig.membershipLevel === 0"
class=
"level level-0"
>
<text
class=
"text-1"
>
LV 0
</text>
<!--
<text
class=
"text-2"
>
您还没有会员等级!
</text>
-->
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
Number
(
userInfo
.
consumerWallet
.
remainingIntegral
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<text
class=
"text-2"
>
还差
{{
userInfo
.
memberConfig
.
nextLimitRequirements
-
parseInt
(
userInfo
.
consumerWallet
.
membershipProgress
||
0
)
}}
积分可升级为
{{
userInfo
.
memberConfig
.
nextMembershipName
}}
</text>
<view
class=
"flex-row"
>
<text
class=
"text-3"
>
当前积分
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
remainingIntegral
||
0
}}
</text>
<text
class=
"text-4"
>
{{
userInfo
.
consumerWallet
.
membershipProgress
||
0
}}
</text>
</view>
</view>
<view
v-else
class=
"level level-0"
>
...
...
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