◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:EnemyInfo/js”的版本间的差异
(更新) |
(更新) |
||
第226行: | 第226行: | ||
function missioncreat(){ | function missioncreat(){ | ||
/*-- 战役的选择创建 --*/ | /*-- 战役的选择创建 --*/ | ||
− | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px;">战役选择</div> | + | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:default;">战役选择 ▷</div> |
<div class="eselect"><select id="campaignselect" name="campaignselect"> | <div class="eselect"><select id="campaignselect" name="campaignselect"> | ||
<option value="1000">[主线] 第零战役</option> | <option value="1000">[主线] 第零战役</option> | ||
第276行: | 第276行: | ||
</select></div> | </select></div> | ||
<div class="eselect"><select id="missionselect" name="missionselect"> | <div class="eselect"><select id="missionselect" name="missionselect"> | ||
− | <option value="1"> | + | <option value="1">0-1 热身运动</option> |
− | <option value="2"> | + | <option value="2">0-2 黑色情报</option> |
− | <option value="3"> | + | <option value="3">0-3 守护据点</option> |
− | <option value="4"> | + | <option value="4">0-4 最终挑战</option> |
</select></div> | </select></div> | ||
− | <div class="eselect" style="width: | + | <div class="eselect" style="width:85px;"><select id="layerselect" name="layerselect" style="display:block;"></select></div> |
− | <div | + | <div id="packselect" style="inline-block; user-select:none; cursor:default; margin:"></div>`; |
$("#campaignchose").html(output); | $("#campaignchose").html(output); | ||
第298行: | 第298行: | ||
var op = document.createElement("OPTION"); | var op = document.createElement("OPTION"); | ||
op.value = Number(Mission[i].id); | op.value = Number(Mission[i].id); | ||
− | op.innerHTML = | + | op.innerHTML = String(thevalue - 1000) + "-" + Mission[i].sub; |
− | op.innerHTML += (Mission[i].if_emergency == 1) ? "E | + | op.innerHTML += (Mission[i].if_emergency == 1) ? "E " : (Mission[i].if_emergency == 3) ? "N " : " "; |
op.innerHTML += Mission[i].name; | op.innerHTML += Mission[i].name; | ||
$("#missionselect").append(op); | $("#missionselect").append(op); | ||
第311行: | 第311行: | ||
if ((Mission[i].duplicate_type == thevalue - 2000) && (Mission[i].if_emergency == 2)) { | if ((Mission[i].duplicate_type == thevalue - 2000) && (Mission[i].if_emergency == 2)) { | ||
var op = document.createElement("OPTION"); | var op = document.createElement("OPTION"); | ||
− | op.value = | + | op.value = Number(Mission[i].id); |
− | op.innerHTML = Mission[i].sub | + | op.innerHTML = Mission[i].sub + Mission[i].name; |
$("#missionselect").append(op); | $("#missionselect").append(op); | ||
} | } | ||
第348行: | 第348行: | ||
if(Number(thevalue) < 4000 && ((- Number(camp) - (thevalue - 3000 - 1)) > 6)) op.innerHTML = ""; | if(Number(thevalue) < 4000 && ((- Number(camp) - (thevalue - 3000 - 1)) > 6)) op.innerHTML = ""; | ||
else if(Number(thevalue) > 4000 && ((- Number(camp) - (thevalue - 4000 - 1)) > 6)) op.innerHTML = "复刻 " + Mission[i].sub + " "; | else if(Number(thevalue) > 4000 && ((- Number(camp) - (thevalue - 4000 - 1)) > 6)) op.innerHTML = "复刻 " + Mission[i].sub + " "; | ||
− | else op.innerHTML = | + | else op.innerHTML = String(- Number(camp) - (thevalue - ((thevalue > 4000) ? 4000 : 3000) - 1)) + "-" + Mission[i].sub + " "; |
/*-- 秃洞的识别 无尽模式 --*/ | /*-- 秃洞的识别 无尽模式 --*/ | ||
if (Mission[i].endless_mode == 1 || Mission[i].endless_mode == 2) op.innerHTML += "[无尽模式] "; | if (Mission[i].endless_mode == 1 || Mission[i].endless_mode == 2) op.innerHTML += "[无尽模式] "; | ||
第363行: | 第363行: | ||
if ((Mission[i].campaign == - (thevalue - 5000)) && (Mission[i].if_emergency != 2)) { | if ((Mission[i].campaign == - (thevalue - 5000)) && (Mission[i].if_emergency != 2)) { | ||
var op = document.createElement("OPTION"); | var op = document.createElement("OPTION"); | ||
− | op.value = | + | op.value = Number(Mission[i].id); |
− | op.innerHTML = Mission[i].sub | + | op.innerHTML = Mission[i].sub + Mission[i].name; |
$("#missionselect").append(op); | $("#missionselect").append(op); | ||
} | } | ||
第392行: | 第392行: | ||
for(i in mspot) if(mspot[i].map_num == $("#layerselect").val()) lspot.push(mspot[i]); | for(i in mspot) if(mspot[i].map_num == $("#layerselect").val()) lspot.push(mspot[i]); | ||
dspotcreat(); | dspotcreat(); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
missiondisplay(); | missiondisplay(); | ||
}); | }); | ||
第455行: | 第447行: | ||
/*-- 优化排版设置 自动隐藏 --*/ | /*-- 优化排版设置 自动隐藏 --*/ | ||
− | if(layernum.length <= 1){ $("#layerselect"). | + | if(layernum.length <= 1){ $("#layerselect").parent().css("display","none");} |
− | else { $("#layerselect"). | + | else { $("#layerselect").parent().css("display","inline-block");} |
$("#layerselect").children().remove(); | $("#layerselect").children().remove(); | ||
第485行: | 第477行: | ||
} | } | ||
− | + | /*-- 优化排版设置 自动隐藏 --*/ | |
− | /*-- | + | if(packagenum.length <= 1){ $("#packselect").css("display","none");} |
− | + | else { $("#packselect").css("display","inline-block");} | |
− | |||
− | |||
− | $("#packselect"). | ||
− | /*-- | + | /*-- 区域选择的创建 --*/ |
+ | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:auto;">区域选择 ▷</div> | ||
+ | <div id="packall" class="packcheck" style="display:inline-block; padding:5.5px; background:black; color:#E0E0E0; position:relative; top:1px; cursor:pointer; border:1px #e0e0e0 solid;">全选</div> | ||
+ | <div id="packclear" class="packcheck" style="display:inline-block; padding:5.5px; background:black; color:#E0E0E0; position:relative; top:1px; cursor:pointer; border:1px #e0e0e0 solid;">清空</div>`; | ||
for(var i = 0; i < packagenum.length; i++){ | for(var i = 0; i < packagenum.length; i++){ | ||
− | + | output += `<input class="packcheck" type="checkbox" id="package_` + packagenum[i] + `" value="` + packagenum[i] + `" checked="checked" /><label for="package_` + packagenum[i] + `">` + packagenum[i] + `</label>`; | |
− | |||
− | |||
− | |||
} | } | ||
+ | $("#packselect").html(output); | ||
+ | |||
+ | /*-- 区域选择事件 --*/ | ||
+ | $(".packcheck").click(function(){ | ||
+ | if($(this).attr("id") == "packall") $("#packselect").children("input").each(function(){ $(this).parent().children("input[type=checkbox]").prop("checked","checked"); }); | ||
+ | if($(this).attr("id") == "packclear") $("#packselect").children("input").each(function(){ $(this).parent().children("input[type=checkbox]").removeAttr("checked"); }); | ||
+ | |||
+ | var packnum = []; | ||
+ | $("#packselect").children("input:checked").each(function(){ packnum.push(this.value); }); | ||
+ | |||
+ | dspot = []; | ||
+ | for(i in lspot){ | ||
+ | var sign = 0; | ||
+ | for(j in packnum) if(lspot[i].package == packnum[j]){ sign = 1; break;} | ||
+ | if(sign) dspot.push(lspot[i]); | ||
+ | } | ||
+ | |||
+ | missiondisplay(); | ||
+ | }); | ||
} | } | ||
第580行: | 第588行: | ||
$(".buildingline").click(function(){ | $(".buildingline").click(function(){ | ||
if(setmessage.sspotsign == 0) $("#sspotsign").click(); | if(setmessage.sspotsign == 0) $("#sspotsign").click(); | ||
− | $("# | + | $("#spotsign1").val(Number($($(this).children("td")[0]).html())); |
drawmap(); | drawmap(); | ||
}); | }); | ||
第664行: | 第672行: | ||
$(".teleportline").click(function(){ | $(".teleportline").click(function(){ | ||
if(setmessage.sspotsign == 0) $("#sspotsign").click(); | if(setmessage.sspotsign == 0) $("#sspotsign").click(); | ||
− | $("# | + | $("#spotsign2").val(Number($($(this).children("td")[2]).html())); |
− | $("# | + | $("#spotsign3").val(Number($($(this).children("td")[6]).html())); |
drawmap(); | drawmap(); | ||
}); | }); | ||
第823行: | 第831行: | ||
$(this).css({"background-color":"#f4c430cc", "color":"black"}); | $(this).css({"background-color":"#f4c430cc", "color":"black"}); | ||
enemydisplay($(this).children("td").eq(0).html()); | enemydisplay($(this).children("td").eq(0).html()); | ||
− | if(setmessage.sspotsign == 1) $("# | + | if(setmessage.sspotsign == 1) $("#spotsign1").val(Number($($(this).children("td")[6]).html())); |
if($($(this).children("td")[3]).html() == "巡逻"){ | if($($(this).children("td")[3]).html() == "巡逻"){ | ||
− | for(i in Enemy_team) if(Enemy_team[i].id == $($(this).children("td")[0]).html()) theaicontent = Enemy_team[i].ai_content; | + | for(i in Enemy_team) if(Enemy_team[i].id == $($(this).children("td")[0]).html()) theaicontent = "巡逻" + Enemy_team[i].ai_content; |
− | } | + | } else if($($(this).children("td")[3]).html().indexOf("警戒") != -1){ |
− | else theaicontent = 0; | + | for(i in Enemy_team) if(Enemy_team[i].id == $($(this).children("td")[0]).html()) theaicontent = "警戒" + Enemy_team[i].ai_content; |
+ | } else theaicontent = 0; | ||
drawmap(); | drawmap(); | ||
}); | }); | ||
第860行: | 第869行: | ||
/*-- mapcanvas的预设参数 --*/ | /*-- mapcanvas的预设参数 --*/ | ||
− | var x_min = Number( | + | var x_min = Number(lspot[0].coordinator_x); |
− | var x_max = Number( | + | var x_max = Number(lspot[0].coordinator_x); |
− | var y_min = Number( | + | var y_min = Number(lspot[0].coordinator_y); |
− | var y_max = Number( | + | var y_max = Number(lspot[0].coordinator_y); |
− | for(i in | + | for(i in lspot){ |
− | if(Number( | + | if(Number(lspot[i].coordinator_x) > x_max) x_max = Number(lspot[i].coordinator_x); |
− | if(Number( | + | if(Number(lspot[i].coordinator_x) < x_min) x_min = Number(lspot[i].coordinator_x); |
− | if(Number( | + | if(Number(lspot[i].coordinator_y) > y_max) y_max = Number(lspot[i].coordinator_y); |
− | if(Number( | + | if(Number(lspot[i].coordinator_y) < y_min) y_min = Number(lspot[i].coordinator_y); |
} | } | ||
var x_radio = (x_max - x_min + 200)/(mapwidth - mapwidth / 12); | var x_radio = (x_max - x_min + 200)/(mapwidth - mapwidth / 12); | ||
第874行: | 第883行: | ||
coparameter = (x_radio > y_radio) ? x_radio : y_radio; | coparameter = (x_radio > y_radio) ? x_radio : y_radio; | ||
− | + | /*-- 路径点的绘制 --*/ | |
− | + | var singlespot = []; | |
− | + | con.lineWidth = String(30 / coparameter); | |
− | + | con.strokeStyle = "#cecece"; | |
− | + | for(i in dspot){ | |
− | + | /*-- 路径点的连接 --*/ | |
− | + | var routestr = dspot[i].map_route; | |
− | + | while(routestr){ | |
− | + | var i2n = Number(routestr.slice(0, (routestr.indexOf(",") == -1) ? (routestr.length) : routestr.indexOf(","))); | |
− | + | var i2 = -1; | |
− | + | ||
− | + | for(k in dspot){ if(dspot[k].id == i2n){ i2 = k; break;}} | |
+ | if(dspot[i].route.indexOf(i2n) == -1){ singlespot.push({a1:i, a2:i2}); break;} | ||
+ | if(i2 == -1) break; | ||
+ | |||
+ | /*-- 两个路径点的原始坐标 --*/ | ||
+ | var x1 = Number(dspot[i].coordinator_x); | ||
+ | var x2 = Number(dspot[i2].coordinator_x); | ||
+ | var y1 = Number(dspot[i].coordinator_y); | ||
+ | var y2 = Number(dspot[i2].coordinator_y); | ||
+ | |||
+ | /*-- 双向路径的绘制 --*/ | ||
+ | con.lineWidth = String(coorchange(3, 30)); | ||
+ | con.beginPath(); | ||
+ | con.moveTo(coorchange(1, x1, x_min), coorchange(2, y1, y_min)); | ||
+ | con.lineTo(coorchange(1, x2, x_min), coorchange(2, y2, y_min)); | ||
+ | con.stroke(); | ||
+ | |||
+ | routestr = (routestr.indexOf(",", j) == -1) ? "" : routestr.slice(routestr.indexOf(",", j) + 1, routestr.length); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | for(i in singlespot){ | ||
+ | var x1 = Number(dspot[singlespot[i].a1].coordinator_x); | ||
+ | var x2 = Number(dspot[singlespot[i].a2].coordinator_x); | ||
+ | var y1 = Number(dspot[singlespot[i].a1].coordinator_y); | ||
+ | var y2 = Number(dspot[singlespot[i].a2].coordinator_y); | ||
− | + | con.lineWidth = String(coorchange(3, 32)); | |
− | + | con.strokeStyle = "#111111"; | |
− | + | con.beginPath(); | |
− | + | con.moveTo(coorchange(1, x1, x_min), coorchange(2, y1, y_min)); | |
− | + | con.lineTo(coorchange(1, (x1 + x2)/2, x_min), coorchange(2, (y1 + y2)/2, y_min)); | |
+ | con.stroke(); | ||
+ | con.lineWidth = String(coorchange(3, 10)); | ||
+ | con.strokeStyle = "#cecece"; | ||
+ | con.beginPath(); | ||
+ | con.moveTo(coorchange(1, x1, x_min), coorchange(2, y1, y_min)); | ||
+ | con.lineTo(coorchange(1, (x1 + x2)/2, x_min), coorchange(2, (y1 + y2)/2, y_min)); | ||
+ | con.stroke(); | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
for(i in dspot){ | for(i in dspot){ | ||
第935行: | 第953行: | ||
/*-- 特殊标点 12ff00 d800ff 00ffea ccff00 --*/ | /*-- 特殊标点 12ff00 d800ff 00ffea ccff00 --*/ | ||
if(setmessage.sspotsign == 1){ | if(setmessage.sspotsign == 1){ | ||
− | if($("# | + | if($("#spotsign1").val() && dspot[i].id == $("#spotsign1").val()) spotcolor = "#12ff00"; |
− | else if($("# | + | else if($("#spotsign2").val() && dspot[i].id == $("#spotsign2").val()) spotcolor = "#d800ff"; |
− | else if($("# | + | else if($("#spotsign3").val() && dspot[i].id == $("#spotsign3").val()) spotcolor = "#00ffea"; |
− | else if($("# | + | else if($("#spotsign4").val() && dspot[i].id == $("#spotsign4").val()) spotcolor = "#ccff00"; |
} | } | ||
con.fillStyle = spotcolor; | con.fillStyle = spotcolor; | ||
/*-- 特殊标点 的特殊显示 --*/ | /*-- 特殊标点 的特殊显示 --*/ | ||
− | if(setmessage.sspotsign == 1 && (dspot[i].id == $("# | + | if(setmessage.sspotsign == 1 && (dspot[i].id == $("#spotsign1").val() || dspot[i].id == $("#spotsign2").val() || dspot[i].id == $("#spotsign3").val() || dspot[i].id == $("#spotsign4").val())){ |
con.beginPath(); | con.beginPath(); | ||
con.rect(coorchange(1, Number(dspot[i].coordinator_x), x_min) - coorchange(3, 140), coorchange(2, Number(dspot[i].coordinator_y), y_min) - coorchange(3, 15), coorchange(3, 280), coorchange(3, 30)); | con.rect(coorchange(1, Number(dspot[i].coordinator_x), x_min) - coorchange(3, 140), coorchange(2, Number(dspot[i].coordinator_y), y_min) - coorchange(3, 15), coorchange(3, 280), coorchange(3, 30)); | ||
第1,024行: | 第1,042行: | ||
/*-- 巡逻路径 --*/ | /*-- 巡逻路径 --*/ | ||
− | if(setmessage.sspotsign == 1 && setmessage.smapenemyai == 1 && theaicontent != 0){ | + | if(setmessage.sspotsign == 1 && setmessage.smapenemyai == 1 && theaicontent != 0 && theaicontent.indexOf("巡逻") != -1){ |
− | var content_copy = theaicontent; | + | var content_copy = theaicontent.slice(2,theaicontent.length); |
for(var j = 1; content_copy; j++){ | for(var j = 1; content_copy; j++){ | ||
var thisspotid; | var thisspotid; | ||
第1,035行: | 第1,053行: | ||
thisspotid = content_copy.slice(0, content_copy.length); | thisspotid = content_copy.slice(0, content_copy.length); | ||
content_copy = ""; | content_copy = ""; | ||
− | if((thisspotid == theaicontent.slice( | + | if((thisspotid == theaicontent.slice(2, theaicontent.indexOf(",")))) break; |
} | } | ||
第1,060行: | 第1,078行: | ||
} | } | ||
} | } | ||
+ | |||
+ | /*-- 警戒范围 --*/ | ||
+ | if(setmessage.sspotsign == 1 && setmessage.smapenemyai == 1 && theaicontent != 0 && theaicontent.indexOf("警戒") != -1){ | ||
+ | var spotid = $("#spotsign1").val(); | ||
+ | var rangearray = []; | ||
+ | for(i in dspot) if(dspot[i].id == spotid){ rangearray.push({id:spotid, num:i, range:0}); break;} | ||
+ | |||
+ | var rangenum = 1; | ||
+ | while(rangenum <= theaicontent.slice(2,theaicontent.length)){ | ||
+ | for(i in dspot){ | ||
+ | var esign = 0; | ||
+ | for(j in rangearray) if(dspot[i].id == rangearray[j].id){ esign = 1; break;} | ||
+ | if(esign) continue; | ||
+ | |||
+ | var jsign = 0; | ||
+ | for(j in rangearray) if(rangearray[j].range == (rangenum - 1) && dspot[i].map_route.indexOf(rangearray[j].id) != -1){ jsign = 1; break;} | ||
+ | if(jsign) rangearray.push({id:dspot[i].id, num:i, range:rangenum}); | ||
+ | } | ||
+ | rangenum ++; | ||
+ | } | ||
+ | |||
+ | for(i in rangearray){ | ||
+ | var thisspot = dspot[rangearray[i].num]; | ||
+ | |||
+ | con.lineWidth= "1"; | ||
+ | con.strokeStyle = "#111111"; | ||
+ | con.fillStyle = "#12ff00"; | ||
+ | con.beginPath(); | ||
+ | con.arc(coorchange(1, Number(thisspot.coordinator_x), x_min), coorchange(2, Number(thisspot.coordinator_y), y_min), coorchange(3, 100), 0, 2*Math.PI); | ||
+ | con.fill(); | ||
+ | con.stroke(); | ||
+ | |||
+ | con.fillStyle = "#111111"; | ||
+ | con.textAlign="center"; | ||
+ | con.textBaseline="middle"; | ||
+ | con.lineWidth= String(coorchange(3, 20)); | ||
+ | con.font = String(coorchange(3, 150)) + "px bold Arial"; | ||
+ | con.beginPath(); | ||
+ | con.strokeText(rangearray[i].range, coorchange(1, Number(thisspot.coordinator_x), x_min), coorchange(2, Number(thisspot.coordinator_y), y_min)); | ||
+ | con.fillText(rangearray[i].range, coorchange(1, Number(thisspot.coordinator_x), x_min), coorchange(2, Number(thisspot.coordinator_y), y_min)); | ||
+ | con.stroke(); | ||
+ | } | ||
+ | } | ||
+ | |||
} | } | ||
第1,150行: | 第1,212行: | ||
dcoordinator(4, "#4caf50", 11.76, 0); | dcoordinator(4, "#4caf50", 11.76, 0); | ||
con.textBaseline = "top"; | con.textBaseline = "top"; | ||
− | dcoordinator(5, "#4caf50", 8.76, 10.5, "2排阵 | + | dcoordinator(5, "#4caf50", 8.76, 10.5, "2排阵-移动"); |
− | dcoordinator(5, "#4caf50", 9.76, 10, "2排阵 | + | dcoordinator(5, "#4caf50", 9.76, 10, "2排阵-站定"); |
− | dcoordinator(5, "#4caf50", 10.76, 10.5, "3排阵 | + | dcoordinator(5, "#4caf50", 10.76, 10.5, "3排阵-移动"); |
− | dcoordinator(5, "#4caf50", 11.76, 10, "3排阵 | + | dcoordinator(5, "#4caf50", 11.76, 10, "3排阵-站定"); |
con.textBaseline = "middle"; | con.textBaseline = "middle"; | ||
con.font = "16px bolder Arial"; | con.font = "16px bolder Arial"; | ||
第1,727行: | 第1,789行: | ||
var output = `<div id="mapredraw" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">重绘</div> | var output = `<div id="mapredraw" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">重绘</div> | ||
<div id="mapclear" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">清空</div> | <div id="mapclear" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">清空</div> | ||
− | <input type="text" id=" | + | <input type="text" id="spotsign1" name="spotsign1" style="border:none; padding:10px; margin:3px 3px; background-color:#12ff00; color:#111111;"/> |
− | <input type="text" id=" | + | <input type="text" id="spotsign2" name="spotsign2" style="border:none; padding:10px; margin:3px 3px; background-color:#d800ff; color:#111111;"/> |
− | <input type="text" id=" | + | <input type="text" id="spotsign3" name="spotsign3" style="border:none; padding:10px; margin:3px 3px; background-color:#00ffea; color:#111111;"/> |
− | <input type="text" id=" | + | <input type="text" id="spotsign4" name="spotsign4" style="border:none; padding:10px; margin:3px 3px; background-color:#ccff00; color:#111111;"/>`; |
$("#spotsign").html(output); | $("#spotsign").html(output); | ||
$("#spotsign").css("display", "none"); | $("#spotsign").css("display", "none"); | ||
第1,749行: | 第1,811行: | ||
$("#mapredraw").click(function(){ drawmap();}); | $("#mapredraw").click(function(){ drawmap();}); | ||
$("#mapclear").click(function(){ | $("#mapclear").click(function(){ | ||
− | $("# | + | $("#spotsign1").val(""); |
− | $("# | + | $("#spotsign2").val(""); |
− | $("# | + | $("#spotsign3").val(""); |
− | $("# | + | $("#spotsign4").val(""); |
theaicontent = 0; | theaicontent = 0; | ||
drawmap(); | drawmap(); | ||
第1,760行: | 第1,822行: | ||
function firstcreat(){ | function firstcreat(){ | ||
var output = `<div id="loadtips" style="padding:20px; font-size:130%; display:block; border:1px solid #eaeaea; width:1180px; margin:20px 0px;">文件加载进度:0/12</div> | var output = `<div id="loadtips" style="padding:20px; font-size:130%; display:block; border:1px solid #eaeaea; width:1180px; margin:20px 0px;">文件加载进度:0/12</div> | ||
− | <div id="campaignchose"></div> | + | <div id="campaignchose" style="height:37px;"></div> |
<div id="mapsetdiv"></div> | <div id="mapsetdiv"></div> | ||
<div id="mapexample"></div> | <div id="mapexample"></div> | ||
第1,797行: | 第1,859行: | ||
【同组堆叠】:打开时,取消显示敌方梯队的站位信息,将同组的敌方梯队进行合并,同时显示所存在的数量<br><br> | 【同组堆叠】:打开时,取消显示敌方梯队的站位信息,将同组的敌方梯队进行合并,同时显示所存在的数量<br><br> | ||
− | + | 【敌方梯队】:当【点位标记】打开时,可在敌方梯队表格点击一行进行标记;当敌人的行动逻辑为“巡逻”或“警戒”且【逻辑】打开时,在绘制地图内展示敌人行动逻辑<br> | |
【敌人选择】:除在敌方梯队表格选中梯队外,也可在此处选择想要查看的梯队,或者在输入框输入对应的编号<br></div> | 【敌人选择】:除在敌方梯队表格选中梯队外,也可在此处选择想要查看的梯队,或者在输入框输入对应的编号<br></div> | ||
<div style="padding:8px 10px; margin:10px 0px; width:1212px; background-color:#222; font-weight:300;"> | <div style="padding:8px 10px; margin:10px 0px; width:1212px; background-color:#222; font-weight:300;"> |