pre_develop
hjm 6 years ago
parent b3ffa73ed1
commit c0cc11b79f

@ -153,7 +153,10 @@ var EXPAND = 0; // 放大
var SHRINK = 1; // 缩小 var SHRINK = 1; // 缩小
var repositoryTabHeight = 40 var repositoryTabHeight = 40
function _resizeTpiPanel = () {
$("#game_left_contents").width('400px');
$("#game_right_contents").width( $(".labelN").width() - 400 + 'px');
}
$(function(){ $(function(){
function update_rows_and_cols(rows) { function update_rows_and_cols(rows) {
var _iframe = document.getElementById("game_webssh"); var _iframe = document.getElementById("game_webssh");

@ -307,7 +307,7 @@ pop_box_new(htmlvalue, 480, 182);
// 将若干数据重新组织一下 // 将若干数据重新组织一下
_handleResponseData(resData) { _handleResponseData(resData) {
let challenge = resData.challenge; let challenge = resData.challenge;
challenge.isHtml = false; challenge.isHtml = false;
challenge.isWeb = false; challenge.isWeb = false;
@ -387,7 +387,11 @@ pop_box_new(htmlvalue, 480, 182);
currentGamePassed: false, currentGamePassed: false,
loading: false, loading: false,
testSetsExpandedArray: testSetsExpandedArrayInitVal.slice(0), testSetsExpandedArray: testSetsExpandedArrayInitVal.slice(0),
}) }, () => {
if (resData.shixun.vnc == true) {
window._resizeTpiPanel()
}
})
window.document.title = resData.shixun.name window.document.title = resData.shixun.name

Loading…
Cancel
Save