Commit 9f2b0176951f213bacc9af4121507ec1b2a6ac9b

Authored by ykxie
1 parent 88969220

add title

src/js/gbreplayer.js
@@ -24,6 +24,8 @@ $(function(){ @@ -24,6 +24,8 @@ $(function(){
24 } 24 }
25 25
26 if(document.URL.indexOf('player.htm')>=0){ 26 if(document.URL.indexOf('player.htm')>=0){
  27 + var title = getQuery('chapterId');
  28 + $('.m-title').html(title);
27 if (_role == 0) { 29 if (_role == 0) {
28 var apiUrl = gxb_api + "/programming/codeReplay/" + _codeReplayId + "/api"; 30 var apiUrl = gxb_api + "/programming/codeReplay/" + _codeReplayId + "/api";
29 getLangid(apiUrl); 31 getLangid(apiUrl);
src/js/player.js
@@ -22,6 +22,9 @@ $(function(){ @@ -22,6 +22,9 @@ $(function(){
22 userId: _userId 22 userId: _userId
23 }); 23 });
24 24
  25 + var title = getQuery('title');
  26 + $('.m-title').html(title);
  27 +
25 console.log(_role) 28 console.log(_role)
26 29
27 CodingEditer.isRecordPage = 0; 30 CodingEditer.isRecordPage = 0;
src/v1.1/player.html
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 </div> 59 </div>
60 <div class="m-title-wrap"> 60 <div class="m-title-wrap">
61 <div class="m-title">创业公司融资的基本流程?创业...</div> 61 <div class="m-title">创业公司融资的基本流程?创业...</div>
62 - <div class="m-menu">main <img src="../img/down.png" alt=""></div> 62 + <div class="m-menu">目录 <img src="../img/down.png" alt=""></div>
63 </div> 63 </div>
64 <!-- 录制区 --> 64 <!-- 录制区 -->
65 <div class="record-wrap"> 65 <div class="record-wrap">