Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
af600967
Commit
af600967
authored
Dec 22, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bc30bccf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
index.js
project/mock/e-family/index.js
+1
-1
main3.jsx
project/src/pages/main3/main3.jsx
+8
-7
No files found.
project/mock/e-family/index.js
View file @
af600967
...
...
@@ -5,7 +5,7 @@ export const homeInfo = {
"canUpdateNickName"
:
false
,
"figures"
:
[{
"figureId"
:
"1"
},
{
"figureId"
:
"2"
},
{
"figureId"
:
"3"
}],
"newUser"
:
0
,
"userInfo"
:
{
"figureId"
:
"
2
"
,
"joyBeans"
:
10100
,
"nickName"
:
"13"
}
"userInfo"
:
{
"figureId"
:
"
1
"
,
"joyBeans"
:
10100
,
"nickName"
:
"13"
}
},
"message"
:
null
,
"success"
:
true
...
...
project/src/pages/main3/main3.jsx
View file @
af600967
...
...
@@ -24,12 +24,11 @@ class Main3 extends Component {
}
updateMoney
()
{
console
.
log
(
'update money'
)
this
.
freshHomeInfo
();
}
onClick_userinfo
=
()
=>
{
Aup
.
show
(
'Userinfo'
,
{},
this
);
// console.log('onClick_signBtn')
}
onClick_signBtn
=
()
=>
{
...
...
@@ -154,13 +153,14 @@ class Main3 extends Component {
src=
{
this
.
state
.
resList
[
'caebeec6-fe80-4c78-a132-d911f97a81b6'
].
url
}
/>
<
div
className=
"main3_top "
uuid=
"257105ac-5616-4e29-a4dc-302ed2604193"
>
<
div
className=
"main3_userinfo "
uuid=
"25d45126-3476-4d8e-9756-34e2ccf96163"
>
<
div
onClick=
{
this
.
onClick_userinfo
}
className=
"main3_userinfo "
uuid=
"25d45126-3476-4d8e-9756-34e2ccf96163"
>
<
img
className=
"main3_userinfo_bg "
uuid=
"5316b02a-5b8e-4355-b556-cd801852df7e"
src=
{
this
.
state
.
resList
[
'31522099-3ea6-4d2b-ae84-99e2877bd2d0'
].
url
}
/>
{
figureId
==
1
&&
(
{
figureId
==
3
&&
(
<
img
className=
"main3_avatar1 "
uuid=
"f2277018-36fd-4f47-9124-d73324505dff"
...
...
@@ -174,7 +174,7 @@ class Main3 extends Component {
src=
{
this
.
state
.
resList
[
'6ff31046-e036-4218-8cc9-5d715dfa64a1'
].
url
}
/>
)
}
{
figureId
==
3
&&
(
{
figureId
==
1
&&
(
<
img
className=
"main3_avatar3 "
uuid=
"dc2306b9-90e0-4e98-a967-e0f263a3217a"
...
...
@@ -184,11 +184,12 @@ class Main3 extends Component {
<
span
className=
"main3_num "
uuid=
"018875e0-9592-4854-ba0b-2cd58464a6a2"
>
欢趣豆:
{
joyBeans
}
</
span
>
<
span
onClick=
{
this
.
onClick_userinfo
}
className=
"main3_nick "
uuid=
"a7518930-17cc-427a-a6e5-27a593b309c4"
>
<
span
className=
"main3_nick "
uuid=
"a7518930-17cc-427a-a6e5-27a593b309c4"
>
{
nickName
}
</
span
>
<
img
onClick=
{
()
=>
{
onClick=
{
(
e
)
=>
{
e
.
stopPropagation
();
this
.
props
.
navigateTo
(
'detail'
);
}
}
className=
"main3_btn_detail "
...
...
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