Commit 02684c89 by FE

judge sgin modify

parent a78696c7
...@@ -231,16 +231,22 @@ class CollectBlessing extends Component { ...@@ -231,16 +231,22 @@ class CollectBlessing extends Component {
<i className="collect-blessing__num">{index+1}</i> <i className="collect-blessing__num">{index+1}</i>
<p className="collect-blessing__title">{item}</p> <p className="collect-blessing__title">{item}</p>
{ {
index === 0 && (isLogin && isSign) && index === 0 &&
<>
{
(isLogin && isSign)
? (
<a className="collect-blessing__content" data-status="done"> <a className="collect-blessing__content" data-status="done">
+5<br/>福气值 +5<br/>福气值
</a> </a>
} )
{ : (
index === 0 && (!isLogin || !isSign) &&
<span onClick={toLogin} className="collect-blessing__content"> <span onClick={toLogin} className="collect-blessing__content">
点击<br/>签到 点击<br/>签到
</span> </span>
)
}
</>
} }
{ {
index === 1 && index === 1 &&
......
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