This commit is contained in:
2020-03-25 17:08:02 +08:00
parent 6b9202d341
commit 0d2ef31222
35 changed files with 1212 additions and 130 deletions

View File

@@ -47,8 +47,8 @@
<select name="pid" class="form-control" style="width:auto;">
<option value="0">--一级导航--</option>
{volist name=":parse_field_bind('Channel',$info['pid'], 0)" id="item"}
{if condition="$item['id'] neq $info['id']"}
<option value="{$item['id']}" {if condition="$pid eq $item['id']"}selected{/if}>{$item['title_show']}</option>
{if $item['id'] != $info['id']}
<option value="{$item['id']}" {if $pid == $item['id']}selected{/if}>{$item['title_show']}</option>
{/if}
{/volist}
</select>
@@ -59,7 +59,7 @@
<div class="col-lg-2">
<select name="target" class="form-control" style="width:auto;">
<option value="0" ></option>
<option value="1" {eq name="info.target" value="1"}selected{/eq}>
<option value="1" {if isset($info['target']) && $info['target'] == 1}selected{/if}>
</option>
</select>
<span class="help-block">(是否新窗口打开链接)</span>