<!-- 元素名 -->
<div style="display: none;">
    <!--{loop range(0,5) $ekey}-->
    <span id="edesc$ekey">$elements_info[$ekey]</span>
    <!--{/loop}-->
</div>
<!-- 元素选取模块 -->
<input type="hidden" id="emixlist" name="emixlist" value="">
<input type="hidden" id="emixnums" name="emixnums" value="">

<!-- 主界面 -->
你在你的小口袋里翻找起来……<br>
打算组合哪些元素？<br>
<input type="hidden" id="emax" name="emax" value="$emax">
<input type="hidden" name="mode" value="itemmain">
<input type="hidden" name="command" id="command" value="menu">
<br>

<div id="emixinfotop" style="display: none;"><span class="yellow">【已投入】</span></div>
<div id="emixinfo"></div>
<br>
<style>
    div.emixpage input{
        max-width: 55px;
        margin-right: 5px; margin-bottom: 3px;
    }
</style>
<div class="emixpage">
<!--{if $element0}-->
<input type="button" value="投入" onclick="AddElementsToList(0,$('e0num').value);">$elements_info[0]
<input type="hidden" id="maxe0num" value="$element0">
<input type="number" id="e0num" value="$element0" min="0" max="$element0" oninput="if(value>$element0)value=$element0;if(value<0)value=0" /> 份<br>
<!--{/if}-->
<!--{if $element1}-->
<input type="button" value="投入" onclick="AddElementsToList(1,$('e1num').value);">$elements_info[1]
<input type="hidden" id="maxe1num" value="$element1">
<input type="number" id="e1num" value="$element1" min="0" max="$element1" oninput="if(value>$element1)value=$element1;if(value<0)value=0" /> 份<br>
<!--{/if}-->
<!--{if $element2}-->
<input type="button" value="投入" onclick="AddElementsToList(2,$('e2num').value);">$elements_info[2]
<input type="hidden" id="maxe2num" value="$element2">
<input type="number" id="e2num" value="$element2" min="0" max="$element2" oninput="if(value>$element2)value=$element2;if(value<0)value=0" /> 份<br>
<!--{/if}-->
<!--{if $element3}-->
<input type="button" value="投入" onclick="AddElementsToList(3,$('e3num').value);">$elements_info[3]
<input type="hidden" id="maxe3num" value="$element3">
<input type="number" id="e3num" value="$element3" min="0" max="$element3" oninput="if(value>$element3)value=$element3;if(value<0)value=0" /> 份<br>
<!--{/if}-->
<!--{if $element4}-->
<input type="button" value="投入" onclick="AddElementsToList(4,$('e4num').value);">$elements_info[4]
<input type="hidden" id="maxe4num" value="$element4">
<input type="number" id="e4num" value="$element4" min="0" max="$element4" oninput="if(value>$element4)value=$element4;if(value<0)value=0" /> 份<br>
<!--{/if}-->
<!--{if $element5}-->
<input type="button" value="投入" onclick="AddElementsToList(5,$('e5num').value);">$elements_info[5]
<input type="hidden" id="maxe5num" value="$element5">
<input type="number" id="e5num" value="$element5" min="0" max="$element5" oninput="if(value>$element5)value=$element5;if(value<0)value=0" /> 份<br>
<!--{/if}-->
</div>
<br>

<!--自带：通过投入元素数量的奇偶决定道具类别-->
<span class="yellow" >【数术】</span><br>
› 投入份数<span class="lime">最多(±10)</span>的一种或多种元素<br>
会成为<span class="lime">主元素</span>，影响合成结果的<span class="lime">类型</span>。<br>
› 投入的主元素为<span class="redseed">奇</span>|<span class="blueseed">偶</span>数份时，元素会展<br>
现<span class="redseed">第一</span>|<span class="blueseed">第二</span>个主特征。<br>
<br>
<!-- 最大生成效果调节 -->
<span class="yellow">【节制】</span><span class="grey">（勾选启用）</span><input type="checkbox" id="change_emax" name="change_emax" value="0"><br>
› 你可以主动限制元素合成结果的<span class="lime">效耐上限</span>。<br>
› 当前：生成道具的效果+耐久上限<span class="yellow">【<span id="s_emitme_max" name="s_emitme_max">$emax</span>】</span><br>
<input type="range" class="range" style="width:220px" id="emitme_max_r" name="emixitmemax" min="1" max="100" value="100" onchange="getEmitmeR(1)"><br>
<br>
<!-- 效果、耐久比例调节 -->
<span class="yellow">【预言】</span><span class="grey">（勾选启用）</span><input type="checkbox" id="change_emr" name="change_emr" value="0"><br>
› 你能够干涉元素合成结果的<span class="lime">效耐占比</span>。<br>
› 当前：效果占比<span class="yellow">【<span id="s_emitme_r" name="s_emitme_r">55</span>%】</span>耐久占比<span class="yellow">【<span id="s_emitms_r" name="s_emitms_r">45</span>%】</span><br>
<input type="range" class="range" style="width:220px" id="emitme_r" name="emixitmer" min="2" max="98" value="55" onchange="getEmitmeR(0)"><br>
<span id="sr_warning" name="sr_warning" class="red"></span>
<br>
<input type="button" class="cmdbutton" id="zz" name="submit" value="[Z]提交" onclick="itemmixchooser();$('command').value='elementmix';postCmd('gamecmd','command.php');this.disabled=true;">
<input type="button" class="cmdbutton" id="x" name="submit" value="[X]放弃" onclick="postCmd('gamecmd','command.php');this.disabled=true;">