优化后台UI

This commit is contained in:
2020-04-07 21:42:06 +08:00
parent 0bb97cd9a9
commit f8c58b15cd
81 changed files with 180 additions and 27402 deletions

View File

@@ -2,11 +2,7 @@
{block name="body"}
<div class="box box-primary">
<div class="box-header with-border">
<div class="pull-left">
<h2>
{$info['id']?'编辑':'新增'}导航
</h2>
</div>
<h3 class="box-title">{$meta_title}</h3>
</div>
<div class="box-body">
<form method="post" class="form form-horizontal" role="form">
@@ -34,7 +30,7 @@
<div class="form-group">
<label class="col-lg-2 control-label">导航类型</label>
<div class="col-lg-8">
<select name="type" id="type" class="form-control" style="width:auto;">
<select name="type" id="type" class="form-control selectpicker" style="width:auto; min-width: 150px;">
{volist name="config['nav_type_list']" id="item"}
<option value="{$key}" {if isset($info['type']) && $info['type'] == $item['key']}selected{/if}>{$item['label']}</option>
{/volist}
@@ -44,7 +40,7 @@
<div class="form-group">
<label class="col-lg-2 control-label">父导航</label>
<div class="col-lg-5">
<select name="pid" class="form-control" style="width:auto;">
<select name="pid" class="form-control selectpicker" style="width:auto; min-width: 150px;">
<option value="0">--一级导航--</option>
{volist name=":parse_field_bind('Channel',$info['pid'], 0)" id="item"}
{if $item['id'] != $info['id']}
@@ -56,8 +52,8 @@
</div>
<div class="form-group">
<label class="col-lg-2 control-label">新窗口打开</label>
<div class="col-lg-2">
<select name="target" class="form-control" style="width:auto;">
<div class="col-lg-8">
<select name="target" class="form-control selectpicker" style="width:auto; min-width: 150px;">
<option value="0" ></option>
<option value="1" {if isset($info['target']) && $info['target'] == 1}selected{/if}>
</option>
@@ -81,21 +77,21 @@
</div>
<div class="form-group">
<label class="col-lg-2 control-label">文字颜色</label>
<div class="col-lg-2">
<div class="col-lg-8">
<input type="text" class="form-control" name="color" value="{$info['color']|default=''}">
<span class="help-block">右上角的标志点颜色支持各类css表示方式</span>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label">标志点颜色</label>
<div class="col-lg-2">
<div class="col-lg-8">
<input type="text" class="form-control" name="band_color" value="{$info['band_color']|default=''}">
<span class="help-block">右上角的标志点颜色支持各类css表示方式</span>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label">标志点文字</label>
<div class="col-lg-3">
<div class="col-lg-8">
<input type="text" class="form-control" name="band_text" value="{$info['band_text']|default=''}">
<span class="help-block">(右上角的标志点文字,不要太长,没有自动隐藏)</span>
</div>