Commit 02684c89 by FE

judge sgin modify

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