作者 景琛

后台快速检索

... ... @@ -6,6 +6,12 @@
<input id="c-title" class="form-control" name="row[title]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-color" type="color" class="form-control" name="row[color]">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
... ...
... ... @@ -12,6 +12,12 @@
<input id="c-score" class="form-control" step="0.01" name="row[score]" type="number" value="{$row.score|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-color" type="color" class="form-control" name="row[color]" value="{$row.color|htmlentities}">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
... ...
... ... @@ -33,6 +33,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{checkbox: true},
{field: 'id', title: __('Id'), operate: false},
{field: 'title', title: __('Title'), operate: 'LIKE'},
{field: 'color', title: __('Color'), operate: false},
{field: 'score', title: __('Score'), operate:'BETWEEN'},
{field: 'rank_text', title: __('排名'), operate: false},
//{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
... ...