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
0877e0b4
Commit
0877e0b4
authored
Sep 20, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面优化
parent
75953729
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
145 additions
and
35 deletions
+145
-35
myInfo.vue
pages/my/myInfo.vue
+3
-0
index.vue
setting/equityFundLog/index.vue
+142
-35
No files found.
pages/my/myInfo.vue
View file @
0877e0b4
...
...
@@ -641,6 +641,9 @@
onGetUserInfo
()
{
getUserInfo
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
loginStatus
=
uni
.
getStorageSync
(
'loginStatus'
)
==
'login'
?
true
:
false
;
this
.
userInfo
=
{
...
res
.
data
.
data
,
consumerWallet
:
res
.
data
.
data
.
consumerWallet
?
res
.
data
.
data
.
consumerWallet
:
{
remainingIntegral
:
0
}
...
...
setting/equityFundLog/index.vue
View file @
0877e0b4
...
...
@@ -9,41 +9,40 @@
<view
class=
"header-content"
>
<image
class=
"logo-bg"
:src=
"assetsPath +'/equity_bg.png'"
mode=
"scaleToFill"
></image>
<view
class=
"flex-col part-content"
>
<view
class=
"flex-col avatar-box"
>
<view
class=
"avatar"
>
<image
:src=
"userInfo.avatar || assetsPath+'/logo_icon.png' "
mode=
"scaleToFill"
></image>
</view>
<view
class=
""
>
<text
class=
"text-white text-lg"
>
{{
userInfo
.
nickName
||
'凑角_'
+
userName
}}
</text>
</view>
<view
class=
"amount"
>
<text
class=
"text-bold text-white"
>
{{
userInfo
&&
userInfo
.
consumerWallet
&&
userInfo
.
consumerWallet
.
equityFund
?
(
userInfo
.
consumerWallet
.
equityFund
).
toFixed
(
2
)
:
'0.00'
}}
</text>
<text
class=
"text-sm"
>
可提现
</text>
</view>
</view>
<view
class=
"flex-between part-list"
>
<view
class=
"flex-col"
>
<text
class=
"text-white text-sm"
>
累计收益
</text>
<text
class=
"text-bold text-white text-xl"
>
{{
userInfo
&&
userInfo
.
consumerWallet
&&
userInfo
.
consumerWallet
.
accumulateEquityFund
?
(
userInfo
.
consumerWallet
.
accumulateEquityFund
).
toFixed
(
2
)
:
'0.00'
}}
</text>
</view>
<view
class=
"flex-col"
>
<text
class=
"text-white text-sm"
>
绑定用户
</text>
<view
class=
"flex-row-center"
@
tap=
"onNavToUsers"
>
<text
class=
"text-bold text-white text-xl"
>
{{
countNum
}}
</text>
<text
class=
"cuIcon-right text-white text-xl"
></text>
</view>
</view>
</view>
<text
class=
"title"
>
我的权益金
</text>
<view
class=
"flex-col part-box"
>
<view
class=
"part-top"
>
<view
class=
"flex-row-center"
>
<image
class=
"icon"
:src=
"assetsPath +'/qyj_icon.png'"
mode=
"widthFix"
></image>
<text
class=
"text-1"
>
累计权益金
</text>
<text
class=
"text-2"
>
{{
userInfo
&&
userInfo
.
consumerWallet
&&
userInfo
.
consumerWallet
.
accumulateEquityFund
?
(
userInfo
.
consumerWallet
.
accumulateEquityFund
).
toFixed
(
2
)
:
'0.00'
}}
</text>
</view>
<view
class=
"equity-logo-box"
>
<image
class=
"equity-logo"
:src=
"assetsPath +'/equity_logo.png'"
mode=
"scaleToFill"
></image>
</view>
</view>
<view
class=
"part-bottom"
>
<view
class=
"flex-col pat-1"
>
<text
class=
"text-1"
>
可提现
</text>
<text
class=
"text-bold"
>
{{
userInfo
&&
userInfo
.
consumerWallet
&&
userInfo
.
consumerWallet
.
equityFund
?
(
userInfo
.
consumerWallet
.
equityFund
).
toFixed
(
2
)
:
'0.00'
}}
</text>
</view>
<view
class=
"flex-between pat-2"
>
<button
class=
"cu-btn"
@
tap=
"onConfirm"
>
<text>
立即提现
</text>
</button>
<view
class=
"flex-row-center"
>
<image
class=
"icon"
:src=
"assetsPath +'/bd_icon.png'"
mode=
"widthFix"
></image>
<text
class=
"text-1"
>
已绑定
{{
countNum
}}
人
</text>
<text
class=
"text-link"
@
tap=
"onNavToUsers"
>
查看
</text>
</view>
</view>
</view>
</view>
</view>
<view
class=
"btn-box"
>
<button
class=
"cu-btn round bg-white"
@
tap=
"onConfirm"
>
立即提现
</button>
</view>
</view>
<!--
<text
class=
"text-bold text-white"
>
{{
userInfo
&&
userInfo
.
consumerWallet
&&
userInfo
.
consumerWallet
.
equityFund
?
(
userInfo
.
consumerWallet
.
equityFund
).
toFixed
(
2
)
:
'0.00'
}}
</text>
-->
<!--
<text
class=
"text-bold text-white text-xl"
>
{{
userInfo
&&
userInfo
.
consumerWallet
&&
userInfo
.
consumerWallet
.
accumulateEquityFund
?
(
userInfo
.
consumerWallet
.
accumulateEquityFund
).
toFixed
(
2
)
:
'0.00'
}}
</text>
-->
<view
class=
"content-list"
>
<view
class=
"padding-sm"
>
<text
class=
"text-title text-lg text-black"
>
权益金入账信息
</text>
...
...
@@ -314,13 +313,121 @@
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
10
0%
;
height
:
9
0%
;
}
.part-content
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
min-height
:
320
upx
;
z-index
:
4
;
.title{
font-weight
:
bold
;
font-size
:
28
upx
;
color
:
#FFFFFF
;
background
:
linear-gradient
(
0deg
,
rgba
(
249
,
188
,
217
,
0.72
)
0%
,
rgba
(
255
,
255
,
255
,
0.72
)
100%
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
margin
:
30
upx
0
0
20
upx
;
}
.part-box
{
display
:
flex
;
flex-direction
:
column
;
width
:
710
upx
;
margin
:
28
upx
auto
0
;
}
.part-top
{
position
:
relative
;
display
:
flex
;
justify-content
:
space-between
;
width
:
100%
;
height
:
92
upx
;
background
:
linear-gradient
(
90deg
,
rgba
(
255
,
255
,
255
,
0.3
)
39%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
border-radius
:
24
upx
24
upx
0
0
;
padding-bottom
:
30
upx
;
.flex-row-center{
margin-left
:
28
upx
;
.icon{
width
:
15px
;
height
:
15px
;
margin-right
:
4
upx
;
}
.text-1
{
font-size
:
24
upx
;
color
:
#FFFFFF
;
margin-right
:
6
upx
;
}
.text-2
{
font-weight
:
600
;
font-size
:
34
rpx
;
color
:
#FDEEF1
;
text-shadow
:
0
rpx
1
rpx
7
rpx
rgba
(
139
,
11
,
41
,
0.56
);
}
}
.equity-logo-box
{
position
:
absolute
;
top
:
-50
upx
;
right
:
24
upx
;
width
:
150
upx
;
.equity-logo{
width
:
100%
;
height
:
172
upx
;
z-index
:
2
;
}
}
}
.part-bottom
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
background
:
#FFFFFF
;
border-radius
:
30
upx
;
margin-top
:
-30
upx
;
.pat-1{
padding
:
28
upx
28
upx
0
;
.text-1{
font-size
:
24
upx
;
color
:
#646666
;
}
.text-bold
{
font-size
:
54
upx
;
color
:
#181818
;
margin-top
:
8
upx
;
}
}
.pat-2
{
display
:
flex
;
flex
:
1
;
align-items
:
center
;
padding
:
20
upx
28
upx
28
upx
;
.cu-btn{
padding
:
8
upx
64
upx
;
background
:
linear-gradient
(
97.26deg
,
#E03997
4%
,
#FF375D
92%
);
border-radius
:
24
upx
;
text{
font-size
:
30
upx
;
color
:
#FFFFFF
;
font-weight
:
bold
;
}
}
.flex-row-center
{
.icon{
width
:
28
upx
;
height
:
20
upx
;
margin-right
:
6
upx
;
}
.text-1
{
font-size
:
24
rpx
;
color
:
#646666
;
}
.text-link
{
margin-left
:
6
upx
;
font-size
:
24
rpx
;
color
:
#5995F8
;
text-decoration-line
:
underline
;
}
}
}
}
}
.avatar-box
{
display
:
flex
;
...
...
@@ -390,7 +497,7 @@
flex
:
1
;
width
:
100%
;
flex-direction
:
column
;
margin
:
20
upx
0
0
0
;
margin
:
12
upx
0
0
0
;
.list-content
{
display
:
flex
;
...
...
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