Commit 084ec15e authored by wangzhujun's avatar wangzhujun

1

parent 6c0153bd
...@@ -32,7 +32,7 @@ class BarItem extends React.Component { ...@@ -32,7 +32,7 @@ class BarItem extends React.Component {
item.receive && <span className="prizebg"></span> item.receive && <span className="prizebg"></span>
} }
<span className="prize">{item.sendCount}青果</span> <span className="prize">{item.sendCount}青果</span>
</div> </div>
) )
}) })
} }
......
...@@ -25,7 +25,7 @@ class Homepahe extends React.Component { ...@@ -25,7 +25,7 @@ class Homepahe extends React.Component {
modalStore.pushPop("Rulepop") modalStore.pushPop("Rulepop")
} }
click_Rank() { click_Rank() {
if (!store.checkTime(false)) { if (!store.checkTime()) {
return return
} }
store.changePage(PAGE_MAP.RANK_PAGE) store.changePage(PAGE_MAP.RANK_PAGE)
...@@ -51,10 +51,13 @@ class Homepahe extends React.Component { ...@@ -51,10 +51,13 @@ class Homepahe extends React.Component {
<div className="homepahe modal_center"> <div className="homepahe modal_center">
<span className="bg"></span> <span className="bg"></span>
<span className="show"></span> <span className="show"></span>
<div className="infobox"> {
<span className="infobg"></span> store.homeInfo.historyMaxScore != 0 &&
<span className="lab">我最高赚了{store.homeInfo.historyMaxScore || 0}</span> <div className="infobox">
</div> <span className="infobg"></span>
<span className="lab">我最高赚了{store.homeInfo.historyMaxScore || 0}</span>
</div>
}
<span className="gamebarbg"></span> <span className="gamebarbg"></span>
<BarItem barInfo={store.homeInfo?.boxInfo} nowScore={store.homeInfo.historyMaxScore}></BarItem> <BarItem barInfo={store.homeInfo?.boxInfo} nowScore={store.homeInfo.historyMaxScore}></BarItem>
<Button className="startbtn" onClick={this.click_StartBtn}></Button> <Button className="startbtn" onClick={this.click_StartBtn}></Button>
......
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