style={{width:`${this.props.progress}%`}} 这里的引号是反引号   在键盘上 1 的左边那个  es6 字符串组合用的   很是巧妙  大家别弄错了
                
                    
                    2017-12-28
                
            我学这个简单的小思路啊,就是看你着重学什么,很明显老师没有把配置这一块详细讲,自己配置真的太头疼,我就直接把老师github上的这个项目全部下载下来,老师讲哪一块,我就找到那个文件,把代码全部打上注释,这就相当于下边是正确答案,自己上边打草稿,因为我着重想学下react组件这一块,那对于配置就听听跳过,不纠结
                
                    
                    2017-12-27
                
            点击歌曲进度条,播放状态显示play
progressChangeHandler(progress) {
$('#player').jPlayer('play', duration * progress);
this.setState({
isPlay: true,
});
},
                progressChangeHandler(progress) {
$('#player').jPlayer('play', duration * progress);
this.setState({
isPlay: true,
});
},
                    
                    2017-12-25
                
            如果用es6class创建组件不要用getInitialState React在ES6的实现中去掉了getInitialState……
Class App extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
...
}
                Class App extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
...
}
                    
                    2017-12-22
                
            createClass已经废弃了 用createComponent或者es6 class 唉技术更新太快里面好多过时了 坑有点多
                
                    
                    2017-12-22
                
            每个章节的代码已上传
https://github.com/xzylogic/workspaces.git
最重要的一步:选择我的分支 xzy_reactMusic_? 来查看不同小节课程的代码,commit里看介绍
然后点击进入React,再点击进入react-music-player,里面就是不同章节代码
                https://github.com/xzylogic/workspaces.git
最重要的一步:选择我的分支 xzy_reactMusic_? 来查看不同小节课程的代码,commit里看介绍
然后点击进入React,再点击进入react-music-player,里面就是不同章节代码
                    
                    2017-12-20
                
             
             
        










