作者 王智

daima

... ... @@ -16,5 +16,6 @@ return [
'Is_show 1' => '是',
'Is_show 0' => '否',
'Createtime' => '创建时间',
'Updatetime' => '更改时间'
'Updatetime' => '更改时间',
'Weight' => '权重',
];
... ...
... ... @@ -80,6 +80,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Quanzhong')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-quanzhong" data-rule="required" class="form-control" name="row[quanzhong]" type="text">
</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">
... ...
... ... @@ -80,6 +80,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Quanzhong')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-quanzhong" data-rule="required" class="form-control" name="row[quanzhong]" type="text" value="{$row.quanzhong|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">
... ...
... ... @@ -35,6 +35,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'opentime', title: __('Opentime')},
{field: 'mobile', title: __('Mobile')},
{field: 'is_show', title: __('Is_show'), searchList: {"1":__('Is_show 1'),"0":__('Is_show 0')}, formatter:Table.api.formatter.toggle},
{field: 'weight', title: __('Weight')},
// {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
... ...