在对当前播放歌曲进行颜色加深时,musiclistitem.less文件中的&.focus是什么意思啊,还有ls文件中<li>标签在模板函数判断的时候为什么要在focus前面加一个空格?开始写的时候没注意加空格,样式都乱了。还有less文件中的&::before那些又代表什么意思呢?求大神解答呀!!!!
                
                    
                    2018-01-25
                
            使用create-react-app脚手架搭建react音乐播放器
项目地址:https://github.com/LuvJia/react-musicplayer
项目预览:https://luvjia.github.io/react-musicplayer/
                项目地址:https://github.com/LuvJia/react-musicplayer
项目预览:https://luvjia.github.io/react-musicplayer/
                    
                    2018-01-24
                
            使用create-react-app脚手架搭建react音乐播放器
项目地址:https://github.com/LuvJia/react-musicplayer
项目预览:https://luvjia.github.io/react-musicplayer/
                项目地址:https://github.com/LuvJia/react-musicplayer
项目预览:https://luvjia.github.io/react-musicplayer/
                    
                    2018-01-24
                
            let barStyle = {
width: `${this.props.progress}%`
};
return (
<div className="components-progress" >
<div className="progress" style={barStyle}></div>
</div>
);
                width: `${this.props.progress}%`
};
return (
<div className="components-progress" >
<div className="progress" style={barStyle}></div>
</div>
);
                    
                    2018-01-21
                
            react-router4 传值:
<Route path="/" render={() => <Player currentMusicItem={this.state.currentMusicItem}></Player> } />
<Route path="/list" render={() => <Musiclist musicList={this.state.musicList}></Musiclist> } />
新版本路由写法请参考楼上童鞋~
                <Route path="/" render={() => <Player currentMusicItem={this.state.currentMusicItem}></Player> } />
<Route path="/list" render={() => <Musiclist musicList={this.state.musicList}></Musiclist> } />
新版本路由写法请参考楼上童鞋~
                    
                    2018-01-18
                
            觉得难学的 建议先去补补webpack和nodejs
可以先看看这两个教程
https://www.jianshu.com/p/324fd1c124ad
https://www.jianshu.com/p/9ff4eb06b443
                可以先看看这两个教程
https://www.jianshu.com/p/324fd1c124ad
https://www.jianshu.com/p/9ff4eb06b443
                    
                    2018-01-17
                
            有个坑,在root文件引入音乐列表,需要import {MUSIC_LIST} from './config/Musiclist.js',要不然子组件报错,获取不到音乐列表内容
                
                    
                    2018-01-17
                
             
             
        






