◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:EnemyInfo/js”的版本间的差异
(校对纠错) |
(测试) |
||
第266行: | 第266行: | ||
function missioncreat(){ | function missioncreat(){ | ||
/*-- 战役的选择创建 --*/ | /*-- 战役的选择创建 --*/ | ||
− | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:default;">战役选择 ▷</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> |
− | <option value="1001">[主线] 第一战役</option> | + | <option value="1001">[主线] 第一战役<\/option> |
− | <option value="1002">[主线] 第二战役</option> | + | <option value="1002">[主线] 第二战役<\/option> |
− | <option value="1003">[主线] 第三战役</option> | + | <option value="1003">[主线] 第三战役<\/option> |
− | <option value="1004">[主线] 第四战役</option> | + | <option value="1004">[主线] 第四战役<\/option> |
− | <option value="1005">[主线] 第五战役</option> | + | <option value="1005">[主线] 第五战役<\/option> |
− | <option value="1006">[主线] 第六战役</option> | + | <option value="1006">[主线] 第六战役<\/option> |
− | <option value="1007">[主线] 第七战役</option> | + | <option value="1007">[主线] 第七战役<\/option> |
− | <option value="1008">[主线] 第八战役</option> | + | <option value="1008">[主线] 第八战役<\/option> |
− | <option value="1009">[主线] 第九战役</option> | + | <option value="1009">[主线] 第九战役<\/option> |
− | <option value="1010">[主线] 第十战役</option> | + | <option value="1010">[主线] 第十战役<\/option> |
− | <option value="1011">[主线] 第十一战役</option> | + | <option value="1011">[主线] 第十一战役<\/option> |
− | <option value="1012">[主线] 第十二战役</option> | + | <option value="1012">[主线] 第十二战役<\/option> |
− | <option value="1013">[主线] 第十三战役</option> | + | <option value="1013">[主线] 第十三战役<\/option> |
− | <option value="2001">[模拟] 经验特训</option> | + | <option value="2001">[模拟] 经验特训<\/option> |
− | <option value="2002">[模拟] 强化练习</option> | + | <option value="2002">[模拟] 强化练习<\/option> |
− | <option value="2003">[模拟] 资料采样</option> | + | <option value="2003">[模拟] 资料采样<\/option> |
− | <option value="2005">[模拟] 云图回廊</option> | + | <option value="2005">[模拟] 云图回廊<\/option> |
− | <option value="2007">[模拟] 融合演习</option> | + | <option value="2007">[模拟] 融合演习<\/option> |
− | <option value="2008">[模拟] 靶机专训</option> | + | <option value="2008">[模拟] 靶机专训<\/option> |
− | <option value="3001">[主线] 魔方行动</option> | + | <option value="3001">[主线] 魔方行动<\/option> |
− | <option value="3002">[主线] 失温症</option> | + | <option value="3002">[主线] 失温症<\/option> |
− | <option value="3006">[主线] 魔方行动+</option> | + | <option value="3006">[主线] 魔方行动+<\/option> |
− | <option value="3010">[主线] 深层映射</option> | + | <option value="3010">[主线] 深层映射<\/option> |
− | <option value="3016">[主线] 塌缩点</option>◊ | + | <option value="3016">[主线] 塌缩点<\/option>◊ |
− | <option value="3024">[主线] 有序紊流</option> | + | <option value="3024">[主线] 有序紊流<\/option> |
− | <option value="3031">[主线] 异构体</option> | + | <option value="3031">[主线] 异构体<\/option> |
− | <option value="3033">[主线] 裂变链接</option> | + | <option value="3033">[主线] 裂变链接<\/option> |
− | <option value="3036">[主线] 偏振光</option> | + | <option value="3036">[主线] 偏振光<\/option> |
− | <option value="3041">[主线] 双联乱数</option> | + | <option value="3041">[主线] 双联乱数<\/option> |
− | <option value="3044">[主线] 镜像论</option> | + | <option value="3044">[主线] 镜像论<\/option> |
− | <option value="4008">[联动] 猎兔行动</option> | + | <option value="4008">[联动] 猎兔行动<\/option> |
− | <option value="4014">[联动] 独法师</option> | + | <option value="4014">[联动] 独法师<\/option> |
− | <option value="4019">[联动] 荣耀日</option> | + | <option value="4019">[联动] 荣耀日<\/option> |
− | <option value="4032">[联动] 瓦尔哈拉</option> | + | <option value="4032">[联动] 瓦尔哈拉<\/option> |
− | <option value="4038">[联动] 梦间剧</option> | + | <option value="4038">[联动] 梦间剧<\/option> |
− | <option value="4043">[联动] 暗金潮</option> | + | <option value="4043">[联动] 暗金潮<\/option> |
− | <option value="5034">[支线] 诡异狂潮</option> | + | <option value="5034">[支线] 诡异狂潮<\/option> |
− | <option value="5035">[支线] 雪夜杀礼异想曲</option> | + | <option value="5035">[支线] 雪夜杀礼异想曲<\/option> |
− | <option value="5037">[支线] 照相馆谜题</option> | + | <option value="5037">[支线] 照相馆谜题<\/option> |
− | <option value="5040">[支线] 碧海秘闻</option> | + | <option value="5040">[支线] 碧海秘闻<\/option> |
− | <option value="5042">[支线] 茧中蝶影</option> | + | <option value="5042">[支线] 茧中蝶影<\/option> |
− | <option value="6004">[战区] 第一版</option> | + | <option value="6004">[战区] 第一版<\/option> |
− | <option value="6005">[战区] 第二版</option> | + | <option value="6005">[战区] 第二版<\/option> |
− | <option value="6006">[战区] 第三版</option> | + | <option value="6006">[战区] 第三版<\/option> |
− | </select></div> | + | <\/select><\/div> |
<div class="eselect"><select id="missionselect" name="missionselect"> | <div class="eselect"><select id="missionselect" name="missionselect"> | ||
− | <option value="1">0-1 热身运动</option> | + | <option value="1">0-1 热身运动<\/option> |
− | <option value="2">0-2 黑色情报</option> | + | <option value="2">0-2 黑色情报<\/option> |
− | <option value="3">0-3 守护据点</option> | + | <option value="3">0-3 守护据点<\/option> |
− | <option value="4">0-4 最终挑战</option> | + | <option value="4">0-4 最终挑战<\/option> |
− | </select></div> | + | <\/select><\/div> |
− | <div class="eselect" style="width:85px;"><select id="layerselect" name="layerselect" style="display:block;"></select></div> | + | <div class="eselect" style="width:85px;"><select id="layerselect" name="layerselect" style="display:block;"><\/select><\/div> |
− | <div id="packselect" style="inline-block; user-select:none; cursor:default; margin:"></div>`; | + | <div id="packselect" style="inline-block; user-select:none; cursor:default; margin:"><\/div>`; |
$("#campaignchose").html(output); | $("#campaignchose").html(output); | ||
第478行: | 第478行: | ||
/*-- 绘制地图画布 --*/ | /*-- 绘制地图画布 --*/ | ||
− | var drawingoutput = `<canvas id="missiondrawing" width="1200px" height="675px" style="cursor:crosshair;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var drawingoutput = `<canvas id="missiondrawing" width="1200px" height="675px" style="cursor:crosshair;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#missionmap").html(drawingoutput); | $("#missionmap").html(drawingoutput); | ||
第564行: | 第564行: | ||
/*-- 区域选择的创建 --*/ | /*-- 区域选择的创建 --*/ | ||
− | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:auto;">区域选择 ▷</div> | + | 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="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>`; | + | <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>`; | + | 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); | $("#packselect").html(output); | ||
第773行: | 第773行: | ||
var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | ||
<thead style="display:block; background-color:#f4c430; color:black;"><tr> | <thead style="display:block; background-color:#f4c430; color:black;"><tr> | ||
− | <th style="width:100px;">编号</th> | + | <th style="width:100px;">编号<\/th> |
− | <th style="width:160px;">队长</th> | + | <th style="width:160px;">队长<\/th> |
− | <th style="width:100px;">敌人/中立</th> | + | <th style="width:100px;">敌人/中立<\/th> |
− | <th style="width:80px;">AI</th> | + | <th style="width:80px;">AI<\/th> |
− | <th style="width:100px;">效能</th> | + | <th style="width:100px;">效能<\/th> |
− | <th style="width:490px;">组成</th> | + | <th style="width:490px;">组成<\/th> |
− | <th class="cellacap" style="width:120px; display:table-cell;">站位</th> | + | <th class="cellacap" style="width:120px; display:table-cell;">站位<\/th> |
− | <th class="cellbcap" style="width:120px; display:none;">数量</th> | + | <th class="cellbcap" style="width:120px; display:none;">数量<\/th> |
− | <th style="width:50px;">其它</th> | + | <th style="width:50px;">其它<\/th> |
− | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | + | <\/tr><\/thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; |
/*-- 路径点的敌人站位 --*/ | /*-- 路径点的敌人站位 --*/ | ||
第1,176行: | 第1,176行: | ||
var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | ||
<thead style="display:block; background-color:#f4c430; color:black;"><tr> | <thead style="display:block; background-color:#f4c430; color:black;"><tr> | ||
− | <th style="width:100px;">编号</th> | + | <th style="width:100px;">编号<\/th> |
− | <th style="width:160px;">名称</th> | + | <th style="width:160px;">名称<\/th> |
− | <th style="width:450px;">组成</th> | + | <th style="width:450px;">组成<\/th> |
− | <th style="width:490px;">描述</th> | + | <th style="width:490px;">描述<\/th> |
− | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | + | <\/tr><\/thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; |
for(i in Mission_targettrain_enemy){ | for(i in Mission_targettrain_enemy){ | ||
第1,220行: | 第1,220行: | ||
var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | ||
<thead style="display:block; background-color:#f4c430; color:black;"><tr> | <thead style="display:block; background-color:#f4c430; color:black;"><tr> | ||
− | <th style="width:100px;">编号</th> | + | <th style="width:100px;">编号<\/th> |
− | <th style="width:160px;">队长</th> | + | <th style="width:160px;">队长<\/th> |
− | <th style="width:100px;">效能</th> | + | <th style="width:100px;">效能<\/th> |
− | <th style="width:490px;">组成</th> | + | <th style="width:490px;">组成<\/th> |
− | <th style="width:60px;">环境</th> | + | <th style="width:60px;">环境<\/th> |
− | <th style="width:100px;">波数</th> | + | <th style="width:100px;">波数<\/th> |
− | <th style="width:200px;">其它</th> | + | <th style="width:200px;">其它<\/th> |
− | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | + | <\/tr><\/thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; |
/*-- 路径点的敌人站位 --*/ | /*-- 路径点的敌人站位 --*/ | ||
第1,329行: | 第1,329行: | ||
function enemyselectcreat(){ | function enemyselectcreat(){ | ||
− | 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;">敌人编号<\/div> |
<div class="eselect"><select id="enemyselect" name="enemyselect">`; | <div class="eselect"><select id="enemyselect" name="enemyselect">`; | ||
− | for(var i = 0; i < Enemy_team.length; i++) output += "<option value=\"" + Enemy_team[i].id + "\">" + Enemy_team[i].id + "</option>"; | + | for(var i = 0; i < Enemy_team.length; i++) output += "<option value=\"" + Enemy_team[i].id + "\">" + Enemy_team[i].id + "<\/option>"; |
− | output += `</select></div> <input type="text" id="enemytext" name="enemytext" style="border:none; padding:10px; background-color:#e0e0e0; top:1px;"/>`; | + | output += `<\/select><\/div> <input type="text" id="enemytext" name="enemytext" style="border:none; padding:10px; background-color:#e0e0e0; top:1px;"/>`; |
− | output += `<div class="eteambtn" id="sexistspot" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5.5px 10px; cursor:pointer; vertical-align:middle; margin-left:50px;">存在地点</div> | + | output += `<div class="eteambtn" id="sexistspot" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5.5px 10px; cursor:pointer; vertical-align:middle; margin-left:50px;">存在地点<\/div> |
− | <div class="eteambtn" id="steamconsult" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5.5px 10px; cursor:pointer; vertical-align:middle;">组成查询</div>`; | + | <div class="eteambtn" id="steamconsult" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5.5px 10px; cursor:pointer; vertical-align:middle;">组成查询<\/div>`; |
$("#enemychose").html(output); | $("#enemychose").html(output); | ||
/*-- 绘制画布 --*/ | /*-- 绘制画布 --*/ | ||
− | var drawingoutput = `<canvas id="enemydrawing" width="4800px" height="300px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var drawingoutput = `<canvas id="enemydrawing" width="4800px" height="300px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#enemyposition").html(drawingoutput); | $("#enemyposition").html(drawingoutput); | ||
第1,393行: | 第1,393行: | ||
}); | }); | ||
− | let teamoutput = `<div class="enemyname" id="enemyname1">NONE</div><input type="number" name="enemynumber1" id="enemynumber1" class="enemynumber" value="0" min="0"/> | + | let teamoutput = `<div class="enemyname" id="enemyname1">NONE<\/div><input type="number" name="enemynumber1" id="enemynumber1" class="enemynumber" value="0" min="0"/> |
− | <div class="enemyname" id="enemyname2">NONE</div><input type="number" name="enemynumber2" id="enemynumber2" class="enemynumber" value="0" min="0"/> | + | <div class="enemyname" id="enemyname2">NONE<\/div><input type="number" name="enemynumber2" id="enemynumber2" class="enemynumber" value="0" min="0"/> |
− | <div class="enemyname" id="enemyname3">NONE</div><input type="number" name="enemynumber3" id="enemynumber3" class="enemynumber" value="0" min="0"/> | + | <div class="enemyname" id="enemyname3">NONE<\/div><input type="number" name="enemynumber3" id="enemynumber3" class="enemynumber" value="0" min="0"/> |
− | <div id="teamconfirm" style="border:1px solid #e0e0e0; padding:6px; margin-left:10px; cursor:pointer; display:inline-block;">查询</div><br/><br/>`; | + | <div id="teamconfirm" style="border:1px solid #e0e0e0; padding:6px; margin-left:10px; cursor:pointer; display:inline-block;">查询<\/div><br/><br/>`; |
for(i in Enemy_charater_type){ | for(i in Enemy_charater_type){ | ||
let sign = 1; | let sign = 1; | ||
for(let j = 0; j < i; j++) if(Enemy_charater_type[j].name == Enemy_charater_type[i].name){ sign = 0; break;} | for(let j = 0; j < i; j++) if(Enemy_charater_type[j].name == Enemy_charater_type[i].name){ sign = 0; break;} | ||
− | if(sign && Enemy_charater_type[i].name && (Enemy_charater_type[i].name != ",")) teamoutput += `<div class="enemytypename" state="off">` + Enemy_charater_type[i].name + `</div>`; | + | if(sign && Enemy_charater_type[i].name && (Enemy_charater_type[i].name != ",")) teamoutput += `<div class="enemytypename" state="off">` + Enemy_charater_type[i].name + `<\/div>`; |
} | } | ||
$("#teammadediv").html(teamoutput); | $("#teammadediv").html(teamoutput); | ||
第1,482行: | 第1,482行: | ||
<\/tr><\/thead><tbody id="Buildingbody" style="height:300px; overflow-y:scroll; display:block;">`; | <\/tr><\/thead><tbody id="Buildingbody" style="height:300px; overflow-y:scroll; display:block;">`; | ||
− | if(define_team) output += existcalculation(define_team) + `</tbody></table>`; | + | if(define_team) output += existcalculation(define_team) + `<\/tbody><\/table>`; |
else{ | else{ | ||
for(list in enemyteaminfo){ | for(list in enemyteaminfo){ | ||
第1,511行: | 第1,511行: | ||
} | } | ||
− | $("#teamexistdiv").html(output + `</tbody></table>`); | + | $("#teamexistdiv").html(output + `<\/tbody><\/table>`); |
$(".existanceline").mouseover(function(){ | $(".existanceline").mouseover(function(){ | ||
第1,922行: | 第1,922行: | ||
敌人 smapenemy 建筑 smapbuild 类型 smaptype 颜色 smapcolor 标号 smapspotn 逻辑 smapenemyai | 敌人 smapenemy 建筑 smapbuild 类型 smaptype 颜色 smapcolor 标号 smapspotn 逻辑 smapenemyai | ||
建筑表格 sbuildtable 传送表格 sporttable 点位标记 sspotsign 同组堆叠 senemypile --*/ | 建筑表格 sbuildtable 传送表格 sporttable 点位标记 sspotsign 同组堆叠 senemypile --*/ | ||
− | var mapsetoutput = `<div class="mapsetbtn" id="sdownload" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px;"><a style="color:#eaeaea; text-decoration:auto;">下载大图</a></div> | + | var mapsetoutput = `<div class="mapsetbtn" id="sdownload" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px;"><a style="color:#eaeaea; text-decoration:auto;">下载大图<\/a><\/div> |
− | <div class="mapsetbtn" id="sredraw" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">还原地图</div> | + | <div class="mapsetbtn" id="sredraw" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">还原地图<\/div> |
− | <div class="mapsetbtn" id="smaphide" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">隐藏地图</div> | + | <div class="mapsetbtn" id="smaphide" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">隐藏地图<\/div> |
− | <div class="mapsetbtn" id="sexample" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">显示图例</div> | + | <div class="mapsetbtn" id="sexample" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">显示图例<\/div> |
− | <span style="padding:0px 5px;"></span> | + | <span style="padding:0px 5px;"><\/span> |
− | <div class="mapsetbtn" id="smapenemy" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">敌人</div> | + | <div class="mapsetbtn" id="smapenemy" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">敌人<\/div> |
− | <div class="mapsetbtn" id="smapbuild" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑</div> | + | <div class="mapsetbtn" id="smapbuild" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑<\/div> |
− | <div class="mapsetbtn" id="smaptype" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">类型</div> | + | <div class="mapsetbtn" id="smaptype" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">类型<\/div> |
− | <div class="mapsetbtn" id="smapcolor" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">颜色</div> | + | <div class="mapsetbtn" id="smapcolor" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">颜色<\/div> |
− | <div class="mapsetbtn" id="smapspotn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">标号</div> | + | <div class="mapsetbtn" id="smapspotn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">标号<\/div> |
− | <div class="mapsetbtn" id="smapenemyai" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">逻辑</div> | + | <div class="mapsetbtn" id="smapenemyai" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">逻辑<\/div> |
− | <span style="padding:0px 5px;"></span> | + | <span style="padding:0px 5px;"><\/span> |
− | <div class="mapsetbtn" id="sbuildtable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑表格</div> | + | <div class="mapsetbtn" id="sbuildtable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑表格<\/div> |
− | <div class="mapsetbtn" id="sporttable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">传送表格</div> | + | <div class="mapsetbtn" id="sporttable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">传送表格<\/div> |
− | <div class="mapsetbtn" id="sspotsign" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">点位标记</div> | + | <div class="mapsetbtn" id="sspotsign" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">点位标记<\/div> |
− | <div class="mapsetbtn" id="senemypile" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">同组堆叠</div>`; | + | <div class="mapsetbtn" id="senemypile" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">同组堆叠<\/div>`; |
$("#mapsetdiv").css({"user-select":"none", "margin":"5px 0px"}); | $("#mapsetdiv").css({"user-select":"none", "margin":"5px 0px"}); | ||
第1,963行: | 第1,963行: | ||
mapwidth = 4800; mapheight = 2700; | mapwidth = 4800; mapheight = 2700; | ||
/*-- 创建更大的新画布 --*/ | /*-- 创建更大的新画布 --*/ | ||
− | var drawingoutput = `<canvas id="downloaddrawing" width="4800px" height="2700px" style="display:none;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var drawingoutput = `<canvas id="downloaddrawing" width="4800px" height="2700px" style="display:none;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#downloaddraw").html(drawingoutput); | $("#downloaddraw").html(drawingoutput); | ||
/*-- 对新画布进行绘画 --*/ | /*-- 对新画布进行绘画 --*/ | ||
第2,058行: | 第2,058行: | ||
/*-- 绘制地图的图例 --*/ | /*-- 绘制地图的图例 --*/ | ||
function examplecreate(){ | function examplecreate(){ | ||
− | var exampleoutput = `<canvas id="exampledrawing" width="1220px" height="120px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var exampleoutput = `<canvas id="exampledrawing" width="1220px" height="120px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#mapexample").html(exampleoutput); | $("#mapexample").html(exampleoutput); | ||
$("#mapexample").css({"display":"none"}); | $("#mapexample").css({"display":"none"}); | ||
第2,184行: | 第2,184行: | ||
function spotsigncreat(){ | function spotsigncreat(){ | ||
/*-- 特殊标点 12ff00 d800ff 00ffea ccff00 --*/ | /*-- 特殊标点 12ff00 d800ff 00ffea ccff00 --*/ | ||
− | 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="spotsign1" name="spotsign1" style="border:none; padding:10px; margin:3px 3px; background-color:#12ff00; color:#111111;"/> | <input type="text" id="spotsign1" name="spotsign1" style="border:none; padding:10px; margin:3px 3px; background-color:#12ff00; color:#111111;"/> | ||
<input type="text" id="spotsign2" name="spotsign2" style="border:none; padding:10px; margin:3px 3px; background-color:#d800ff; color:#111111;"/> | <input type="text" id="spotsign2" name="spotsign2" style="border:none; padding:10px; margin:3px 3px; background-color:#d800ff; color:#111111;"/> | ||
第2,218行: | 第2,218行: | ||
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" style="height:37px;"></div> | + | <div id="campaignchose" style="height:37px;"><\/div> |
− | <div id="mapsetdiv"></div> | + | <div id="mapsetdiv"><\/div> |
− | <div id="mapexample"></div> | + | <div id="mapexample"><\/div> |
− | <div id="missionmap" style="max-width:1220px; overflow-y:scroll; overscroll-behavior-y:contain; border:1px #ffffff99 solid;"></div> | + | <div id="missionmap" style="max-width:1220px; overflow-y:scroll; overscroll-behavior-y:contain; border:1px #ffffff99 solid;"><\/div> |
− | <div id="spotsign"></div> | + | <div id="spotsign"><\/div> |
− | <div id="teleportshow" style="max-width:1222px;"></div> | + | <div id="teleportshow" style="max-width:1222px;"><\/div> |
− | <div id="buildingshow" style="max-width:1222px;"></div> | + | <div id="buildingshow" style="max-width:1222px;"><\/div> |
− | <div id="missionshow" style="max-width:1222px;"></div> | + | <div id="missionshow" style="max-width:1222px;"><\/div> |
− | <div id="enemychose"></div> | + | <div id="enemychose"><\/div> |
− | <div id="teammadediv" style="max-width:1220px; border:1px #e0e0e0 solid; padding:5px; margin:5px 0px;"></div> | + | <div id="teammadediv" style="max-width:1220px; border:1px #e0e0e0 solid; padding:5px; margin:5px 0px;"><\/div> |
− | <div id="teamexistdiv" style="max-width:1222px;"></div> | + | <div id="teamexistdiv" style="max-width:1222px;"><\/div> |
− | <div id="enemyshow" style="max-width:1222px;"></div> | + | <div id="enemyshow" style="max-width:1222px;"><\/div> |
− | <div id="enemyposition" style="overflow-x:scroll; width:1222px;"></div> | + | <div id="enemyposition" style="overflow-x:scroll; width:1222px;"><\/div> |
− | <div id="otherthing"></div> | + | <div id="otherthing"><\/div> |
− | <div id="downloaddraw"></div>`; | + | <div id="downloaddraw"><\/div>`; |
$("#thisdiv").html(output); | $("#thisdiv").html(output); | ||
var text = `<br><br><br><div style="padding:8px 10px; width:1212px; background-color:#222; font-weight:300;"> | var text = `<br><br><br><div style="padding:8px 10px; width:1212px; background-color:#222; font-weight:300;"> | ||
− | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">使用说明:</div> | + | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">使用说明:<\/div> |
【战役选择】:战役(活动)、章节(关卡)、地图(分层)、区域(分块),当该地图存在多层时会出现“地图”和“区域”的选择框<br><br> | 【战役选择】:战役(活动)、章节(关卡)、地图(分层)、区域(分块),当该地图存在多层时会出现“地图”和“区域”的选择框<br><br> | ||
第2,262行: | 第2,262行: | ||
【存在地点】:首次使用需要加载一分钟左右,打开时,在【敌人选择】中更改敌人梯队编号会在下方的表格内展示存在该编号敌人的关卡<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;"> | ||
− | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">制作参考:</div> | + | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">制作参考:<\/div> |
− | 1 . 杯具终产物,<a class="external text" style="color:#eaeaea;" href="https://bbs.nga.cn/read.php?tid=14769876">铁血生态观察手记 V1.0</a>,2018年08月16日更新。<br> | + | 1 . 杯具终产物,<a class="external text" style="color:#eaeaea;" href="https://bbs.nga.cn/read.php?tid=14769876">铁血生态观察手记 V1.0<\/a>,2018年08月16日更新。<br> |
− | 2 . CCX_CX_D,<a class="external text" style="color:#eaeaea;" href="https://gf.hometehomete.com/zh/maps/">少女前线数据网站</a>,2020年02月27日更新。<br> | + | 2 . CCX_CX_D,<a class="external text" style="color:#eaeaea;" href="https://gf.hometehomete.com/zh/maps/">少女前线数据网站<\/a>,2020年02月27日更新。<br> |
− | 3 . pohcy,<a class="external text" style="color:#eaeaea;" href="https://ngabbs.com/read.php?tid=19587014">改良版战场模型</a>,2019年12月10日更新。<br></div>`; | + | 3 . pohcy,<a class="external text" style="color:#eaeaea;" href="https://ngabbs.com/read.php?tid=19587014">改良版战场模型<\/a>,2019年12月10日更新。<br><\/div>`; |
$("#otherthing").html(text); | $("#otherthing").html(text); | ||
} | } | ||
})</script></includeonly> | })</script></includeonly> |