Commit 000c73ab0ac0a5a8172c738221089694a8da4290

Authored by ykxie
1 parent 98813368

菜单

src/gxb-ide/CodingEditer.js
... ... @@ -129,14 +129,9 @@
129 129 Dir.showEdite({'treeNode': CodingEditer.treeSelectNode});
130 130 }else{
131 131 CodingEditer.resetCodeMirrorValue(1);
132   - // alert('new Iterm()------' + CodingEditer.firstPlay)
133   - // var iterm = new Iterm();
134   - // alert('iterm ============' + CodingEditer.firstPlay)
135   - // iterm.compileResult()
136 132 }
137 133  
138 134 if (CodingEditer.isWeb) {
139   - console.log('CodingEditer.isWeb=============')
140 135 CodingEditer.webResult('', '', '')
141 136 }
142 137  
... ... @@ -365,7 +360,7 @@
365 360 smartIndent: false,
366 361 onChange: function(em, changeobj) {
367 362 var _pauseValue = CodingEditer.getPlayerActionValue();
368   - console.log('CodeMirrorReplay-----------------', _pauseValue)
  363 + console.log('CodingEditer.isWeb-----------------', CodingEditer.isWeb)
369 364  
370 365 if (CodingEditer.isWeb) {
371 366 CodingEditer.webResult(_pauseValue[0], _pauseValue[1], _pauseValue[2])
... ...
src/gxb-ide/Dir.js
... ... @@ -613,9 +613,13 @@
613 613  
614 614 setTitle(res.languageid);
615 615 Dir.languageid = res.languageid;
616   -
  616 +
617 617 if (Dir.languageid == 35) {
618   - $('#toolbar').hide()
  618 + CodingEditer.isWeb = 1;
  619 + $('#cmprun-tabs').hide()
  620 + $('#CompileBtn').hide()
  621 + $('#resultoutput').hide()
  622 + $('#ifrcontainer').show()
619 623 }
620 624 var coderecords = res.codeRecordList || res.studentRecordList;
621 625 var audioUrl = res.audioUrl;
... ...
src/v1.1/player.html
... ... @@ -124,9 +124,12 @@
124 124 <div class="tab-pane padall15" id="stderr"></div>
125 125 <div class="tab-pane padall15" id="output"></div>
126 126 </div>
127   - <div class="panel-body no-compile" id="ifrcontainer">
128   - <iframe id="resultiframe" frameBorder="0" width="100%"></iframe>
  127 + <div class="panel-body no-compile" id="ifrcontainer" >
  128 + <iframe id="resultiframe" frameBorder="0" width="100%" allowfullscreen></iframe>
129 129 </div>
  130 + <!-- <div class="panel-body no-compile" id="ifrcontainer">
  131 + <iframe id="resultiframe" frameBorder="0" width="100%"></iframe>
  132 + </div> -->
130 133 </div>
131 134 </div>
132 135 <div class="pause-shodow" style="display: none;">
... ...