Commit 9dd50b2343fed8ada48f84f376ad3e93db7145e9
1 parent
8c6f6b6f
多文件预览
Showing
2 changed files
with
6 additions
and
3 deletions
src/js/player.js
| @@ -35,9 +35,9 @@ $(function(){ | @@ -35,9 +35,9 @@ $(function(){ | ||
| 35 | Dir.isReplayPage = true; | 35 | Dir.isReplayPage = true; |
| 36 | 36 | ||
| 37 | $('.play-code').on('click', function(){ | 37 | $('.play-code').on('click', function(){ |
| 38 | - alert('=================') | ||
| 39 | - // CodingEditer.playCoding(); | ||
| 40 | - CodingEditer.editable(0) | 38 | + // alert('=================') |
| 39 | + CodingEditer.playCoding(); | ||
| 40 | + // CodingEditer.editable(0) | ||
| 41 | }) | 41 | }) |
| 42 | 42 | ||
| 43 | $('#play').unbind('click').click(function(){ | 43 | $('#play').unbind('click').click(function(){ |
src/v1.1/player.html
| @@ -149,6 +149,9 @@ | @@ -149,6 +149,9 @@ | ||
| 149 | <input type="hidden" class="audio-url" value=""> | 149 | <input type="hidden" class="audio-url" value=""> |
| 150 | <div id="playFooter"> | 150 | <div id="playFooter"> |
| 151 | <div class="" id="audioWrap"> | 151 | <div class="" id="audioWrap"> |
| 152 | + <button class="play-code"> | ||
| 153 | + <img src="../img/play.svg" alt=""> | ||
| 154 | + </button> | ||
| 152 | </div> | 155 | </div> |
| 153 | </div> | 156 | </div> |
| 154 | </div> | 157 | </div> |