...
|
...
|
@@ -358,12 +358,8 @@ export default class wheelSurf extends PureComponent { |
|
|
};
|
|
|
|
|
|
render() {
|
|
|
let {conf, slowEnding, isLogin, startEnded, remainCount, dayLeftTimesTip} = this.state;
|
|
|
let {conf, slowEnding, isLogin, startEnded, remainCount} = this.state;
|
|
|
|
|
|
if (dayLeftTimesTip) {
|
|
|
dayLeftTimesTip = dayLeftTimesTip.replace(/\{\$1\}/ig, remainCount);
|
|
|
}
|
|
|
|
|
|
if (!conf.id) {
|
|
|
return (
|
|
|
<div className="home-wrap">
|
...
|
...
|
@@ -386,7 +382,7 @@ export default class wheelSurf extends PureComponent { |
|
|
{
|
|
|
isLogin ?
|
|
|
(<div className="tips">
|
|
|
<p className="tip-1">{dayLeftTimesTip}</p>
|
|
|
<p className="tip-1">{`今日剩余次数:${remainCount}次`}</p>
|
|
|
</div>) : ''
|
|
|
}
|
|
|
|
...
|
...
|
|