lvhao 6 天之前
父節點
當前提交
3fed61dd13
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/CoreApp/controllers/Power.php

+ 2 - 2
core/CoreApp/controllers/Power.php

@@ -83,8 +83,8 @@ class Power extends Start_Controller {
                 $final_list[$key]['title'] = $value['title'];
 
 				
-                $final_list[$key]['powertext'] = mb_strlen($value['powertext']) > 90? '<i class="method fa fa-list-ul" data-t="'.$value['powertext'].'"></i>'.mb_substr($value['powertext'],0,90) : $value['powertext'];
-                $final_list[$key]['exceltext'] = mb_strlen($value['exceltext']) > 70? '<i class="method fa fa-list-ul" data-t="'.$value['exceltext'].'"></i>'.mb_substr($value['exceltext'],0,70) : $value['exceltext'];
+                $final_list[$key]['powertext'] = mb_strlen($value['powertext']) > 90? '<i style="padding:3px;color:#66CC33" class="method fa fa-list-ul" data-t="'.$value['powertext'].'"></i>'.mb_substr($value['powertext'],0,90) : $value['powertext'];
+                $final_list[$key]['exceltext'] = mb_strlen($value['exceltext']) > 70? '<i style="padding:3px;color:#66CC33"  class="method fa fa-list-ul" data-t="'.$value['exceltext'].'"></i>'.mb_substr($value['exceltext'],0,70) : $value['exceltext'];
 				$final_list[$key]['sort'] = "<input value=".$value['sort']." onchange='edit_px(this)' data-id= '".$value['id']."' class='px_do' />"; 
             }
 		    $total = $this->power->find_count($where);