Commit 000c73ab0ac0a5a8172c738221089694a8da4290

Authored by ykxie
1 parent 98813368

菜单

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