This commit is contained in:
ckcz123 2018-03-15 19:51:39 +08:00
parent ef643a97af
commit 42fa7ffa7f
3 changed files with 41 additions and 25 deletions

View File

@ -19,6 +19,16 @@
width: 435px; width: 435px;
} }
.leftTab .leftTabHeader {
position: fixed;
top: 15px;
left: 15px;
}
.leftTab .leftTabContent {
padding-top: 50px;
}
#appendPicSelection span { #appendPicSelection span {
position: absolute; position: absolute;
font-size:11px; font-size:11px;

View File

@ -37,8 +37,9 @@
</div> </div>
</div> </div>
<div id="left1" class='leftTab' style="z-index:-1;opacity: 0;"><div ><!-- appendpic --> <div id="left1" class='leftTab' style="z-index:-1;opacity: 0;"><!-- appendpic -->
<h3>追加素材</h3> <h3 class="leftTabHeader">追加素材</h3>
<div class="leftTabContent">
<p> <p>
<input id="selectFileBtn" type="button" value="导入文件到画板"/> <input id="selectFileBtn" type="button" value="导入文件到画板"/>
<select id="selectAppend"></select><!-- ["terrains", "animates", "enemys", "enemy48", "items", "npcs", "npc48"] --> <select id="selectAppend"></select><!-- ["terrains", "animates", "enemys", "enemy48", "items", "npcs", "npc48"] -->
@ -57,9 +58,10 @@
</div> </div>
</div> </div>
</div></div> </div></div>
<div id="left2" class='leftTab' style="z-index:-1;opacity: 0;"><div><!-- loc --> <div id="left2" class='leftTab' style="z-index:-1;opacity: 0;"><!-- loc -->
<h3>地图选点&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3> <h3 class="leftTabHeader">地图选点&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3>
<p id='pos_a6771a78_a099_417c_828f_0a24851ebfce'>0,0</p> <div class="leftTabContent">
<p id='pos_a6771a78_a099_417c_828f_0a24851ebfce' style="margin-left: 15px">0,0</p>
<div class='etable'> <div class='etable'>
<table> <table>
<tbody id='table_3d846fc4_7644_44d1_aa04_433d266a73df'> <tbody id='table_3d846fc4_7644_44d1_aa04_433d266a73df'>
@ -68,8 +70,9 @@
</table> </table>
</div> </div>
</div></div> </div></div>
<div id="left3" class='leftTab' style="z-index:-1;opacity: 0;"><div><!-- emenyitem --> <div id="left3" class='leftTab' style="z-index:-1;opacity: 0;"><!-- emenyitem -->
<h3>图块属性&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3> <h3 class="leftTabHeader">图块属性&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3>
<div class="leftTabContent">
<div id='newIdIdnum'><!-- id and idnum --> <div id='newIdIdnum'><!-- id and idnum -->
<input placeholder="输入新id"/> <input placeholder="输入新id"/>
<input placeholder="输入新idnum"/> <input placeholder="输入新idnum"/>
@ -85,8 +88,9 @@
</div> </div>
</div> </div>
</div></div> </div></div>
<div id="left4" class='leftTab' style="z-index:-1;opacity: 0;"><div><!-- floor --> <div id="left4" class='leftTab' style="z-index:-1;opacity: 0;"><!-- floor -->
<h3>楼层属性&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3> <h3 class="leftTabHeader">楼层属性&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3>
<div class="leftTabContent">
<div class='etable'> <div class='etable'>
<table> <table>
<tbody id='table_4a3b1b09_b2fb_4bdf_b9ab_9f4cdac14c74'> <tbody id='table_4a3b1b09_b2fb_4bdf_b9ab_9f4cdac14c74'>
@ -95,8 +99,9 @@
</table> </table>
</div> </div>
</div></div> </div></div>
<div id="left5" class='leftTab' style="z-index:-1;opacity: 0;"><div><!-- tower --> <div id="left5" class='leftTab' style="z-index:-1;opacity: 0;"><!-- tower -->
<h3>全塔属性&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3> <h3 class="leftTabHeader">全塔属性&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3>
<div class="leftTabContent">
<div class='etable'> <div class='etable'>
<table> <table>
<tbody id='table_b6a03e4c_5968_4633_ac40_0dfdd2c9cde5'> <tbody id='table_b6a03e4c_5968_4633_ac40_0dfdd2c9cde5'>
@ -139,8 +144,9 @@
<button onclick="editor_multi.cancel()">cancel</button> <button onclick="editor_multi.cancel()">cancel</button>
<textarea id="multiLineCode" name="multiLineCode"></textarea> <textarea id="multiLineCode" name="multiLineCode"></textarea>
</div> </div>
<div id="left8" class='leftTab' style="z-index:-1;opacity: 0;"><div><!-- functions --> <div id="left8" class='leftTab' style="z-index:-1;opacity: 0;"><!-- functions -->
<h3>脚本编辑&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3> <h3 class="leftTabHeader">脚本编辑&nbsp;&nbsp;<button onclick="editor.mode.onmode('save')">save</button></h3>
<div class="leftTabContent">
<div class='etable'> <div class='etable'>
<table> <table>
<tbody id='table_e260a2be_5690_476a_b04e_dacddede78b3'> <tbody id='table_e260a2be_5690_476a_b04e_dacddede78b3'>

View File

@ -126,18 +126,18 @@ data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"bluePotion": " 蓝血瓶加血数值 ", "bluePotion": " 蓝血瓶加血数值 ",
"yellowPotion": " 黄血瓶加血数值 ", "yellowPotion": " 黄血瓶加血数值 ",
"greenPotion": " 绿血瓶加血数值 ", "greenPotion": " 绿血瓶加血数值 ",
"sword0": " 默认装备折断的剑的攻击力 ", "sword0": " 默认装备折断的剑的攻击力 \n$leaf(true)$end",
"shield0": " 默认装备残破的盾的防御力 ", "shield0": " 默认装备残破的盾的防御力 \n$leaf(true)$end",
"sword1": " 铁剑加攻数值 ", "sword1": " 铁剑加攻数值 \n$leaf(true)$end",
"shield1": " 铁盾加防数值 ", "shield1": " 铁盾加防数值 \n$leaf(true)$end",
"sword2": " 银剑加攻数值 ", "sword2": " 银剑加攻数值 \n$leaf(true)$end",
"shield2": " 银盾加防数值 ", "shield2": " 银盾加防数值 \n$leaf(true)$end",
"sword3": " 骑士剑加攻数值 ", "sword3": " 骑士剑加攻数值 \n$leaf(true)$end",
"shield3": " 骑士盾加防数值 ", "shield3": " 骑士盾加防数值 \n$leaf(true)$end",
"sword4": " 圣剑加攻数值 ", "sword4": " 圣剑加攻数值 \n$leaf(true)$end",
"shield4": " 圣盾加防数值 ", "shield4": " 圣盾加防数值 \n$leaf(true)$end",
"sword5": " 神圣剑加攻数值 ", "sword5": " 神圣剑加攻数值 \n$leaf(true)$end",
"shield5": " 神圣盾加防数值 ", "shield5": " 神圣盾加防数值 \n$leaf(true)$end",
"moneyPocket": " 金钱袋加金币的数值 ", "moneyPocket": " 金钱袋加金币的数值 ",
"breakArmor": " /****** 怪物相关 ******/ \n 破甲的比例战斗前怪物附加角色防御的x%作为伤害) ", "breakArmor": " /****** 怪物相关 ******/ \n 破甲的比例战斗前怪物附加角色防御的x%作为伤害) ",
"counterAttack": " 反击的比例战斗时怪物每回合附加角色攻击的x%作为伤害,无视角色防御) ", "counterAttack": " 反击的比例战斗时怪物每回合附加角色攻击的x%作为伤害,无视角色防御) ",