Commit af600967 authored by wildfirecode13's avatar wildfirecode13

1

parent bc30bccf
......@@ -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
......
......@@ -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 "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment