Skip to content

Commit

Permalink
登录模块bug修复(phone) && sloved conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyspoon committed Sep 4, 2019
2 parents 392483b + 82442bb commit f6481fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/application/Player/mini-player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ function MiniPlayer(props) {
<div className="control">
<ProgressCircle radius={32} percent={percent}>
{ playing ?
<i className="icon-mini iconfont icon-pause" onClick={(e) => clickPlaying(e, true)}>&#xe650;</i>
<i className="icon-mini iconfont icon-pause" onClick={(e) => clickPlaying(e, false)}>&#xe650;</i>
:
<i className="icon-mini iconfont icon-play" onClick={(e) => clickPlaying(e, false)}>&#xe61e;</i>
<i className="icon-mini iconfont icon-play" onClick={(e) => clickPlaying(e, true)}>&#xe61e;</i>
}
</ProgressCircle>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ const StepOne = props => {
});
return (
<>
<p className="tips">
&emsp;&emsp;暂时不支持验证码登录,请输入手机号和密码
</p>

<p className="input">
+86
<input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const StepTwo = props => {
}, [vcode, triggerLogin]);

const onChangeVcode = e => {
if (!e.target.value) return;
const val = e.target.value;
setVcode(val);
setCursorIndex(val.split("").length);
Expand Down Expand Up @@ -72,7 +73,7 @@ const StepTwo = props => {
key={idx}
className={`line ${cursorIndex === idx ? "animated" : ""}`}
>
{vcode.split("")[idx]}
{vcode[idx]}
</label>
))}
</div>
Expand Down

0 comments on commit f6481fd

Please sign in to comment.