Browse Source

动态列表修改

lizhen_gitee 4 days ago
parent
commit
974a728b6b

+ 1 - 1
application/admin/controller/Userwallet.php

@@ -136,7 +136,7 @@ class Userwallet extends Backend
         return $this->view->fetch();
     }
     /**
-     * 充值积分
+     * 充值收益
      */
     public function updatemoney(){
         $id = input('id');

+ 10 - 1
public/assets/js/backend/topicdongtai.js

@@ -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;