|
@@ -34,7 +34,16 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE'},
|
|
|
// {field: 'user.mobile', title: __('User.mobile'), operate: 'LIKE'},
|
|
|
{field: 'type', title: __('Type'), searchList: {"0":__('Type 0'),"1":__('Type 1'),"2":__('Type 2')}, formatter: Table.api.formatter.normal},
|
|
|
- {field: 'content', title: __('Content'), operate: 'LIKE'},
|
|
|
+ {field: 'content', title: __('Content'), operate: 'LIKE',
|
|
|
+ cellStyle: {css: {
|
|
|
+ "white-space": "break-spaces",
|
|
|
+ "max-width": "240px",
|
|
|
+ "min-width": "240px",
|
|
|
+ "line-height": "24px",
|
|
|
+ "text-align": "left !important"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
{field: 'images', title: '图片或视频', operate: false,events: Table.api.events.image,formatter: function (value,row,index){
|
|
|
if (row.type == '0'){
|
|
|
return value;
|