Commit b1025544528badbf4d33935c0a8f58ef5c2e9d4c

Authored by ykxie
1 parent a34fad64

add menu route style

src/js/gbreplayer.js
... ... @@ -25,7 +25,7 @@ $(function(){
25 25  
26 26 if(document.URL.indexOf('player.htm')>=0){
27 27  
28   - var title = getQuery('title');
  28 + var title = decodeURIComponent(getQuery('title'));
29 29 $('.m-title').html(title);
30 30  
31 31 if (_role == 0) {
... ...
src/js/player.js
... ... @@ -23,7 +23,8 @@ $(function(){
23 23 userId: _userId
24 24 });
25 25  
26   - var title = getQuery('title');
  26 + var title = decodeURIComponent(getQuery('title'));
  27 +
27 28 $('.m-title').html(title);
28 29  
29 30 console.log(_role)
... ... @@ -38,7 +39,7 @@ $(function(){
38 39 })
39 40  
40 41 $('.m-menu').on('click', function(){
41   - alert("status--------" + status)
  42 + // alert("status--------" + status)
42 43 if (status) {
43 44 $('.m-dir-wrap').show();
44 45 status = false;
... ...