提交 3b863fde 编写于 作者: cherry_toto's avatar cherry_toto

优化

上级 b80dafa0
......@@ -191,8 +191,7 @@
{php $vdata = explode(',',$data['body']) /}
<select name="molds_select_tid">
{foreach $classtypetree as $vs}
<option {if($vdata[0]==$vs['id'])}selected{/if} value="{$vs['id']}">{fun str_repeat('&nbsp;&nbsp;',$vs['level'])}{if($vs['haschild'])}|——{else}{if($vs['level'])}|——{/if}
{/if}{$vs['classname']}</option>
<option {if($vdata[0]==$vs['id'])}selected{/if} value="{$vs['id']}">{fun str_repeat('&nbsp;&nbsp;',$vs['level'])}{if($vs['haschild'])}|——{else}{if($vs['level'])}|——{/if}{/if}{$vs['classname']}</option>
{/foreach}
</select>
<input type="text" placeholder="{fun JZLANG('列表显示字段')}" class="layui-input" name="molds_list_field_tid" value="{$vdata[1]}">
......@@ -244,8 +243,7 @@
{php $vdata = explode(',',$data['body']) /}
<select name="molds_select_tid_muti">
{foreach $classtypetree as $vs}
<option {if($vdata[0]==$vs['id'])}selected{/if} value="{$vs['id']}">{fun str_repeat('&nbsp;&nbsp;',$vs['level'])}{if($vs['haschild'])}|——{else}{if($vs['level'])}|——{/if}
{/if}{$vs['classname']}</option>
<option {if($vdata[0]==$vs['id'])}selected{/if} value="{$vs['id']}">{fun str_repeat('&nbsp;&nbsp;',$vs['level'])}{if($vs['haschild'])}|——{else}{if($vs['level'])}|——{/if}{/if}{$vs['classname']}</option>
{/foreach}
</select>
<input type="text" placeholder="{fun JZLANG('列表显示字段')}" class="layui-input" name="molds_list_field_tid_muti" value="{$vdata[1]}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册