作者 开飞机的舒克

后台优化

@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 <div class="form-group"> 23 <div class="form-group">
24 <label class="control-label col-xs-12 col-sm-2">{:__('Details')}:</label> 24 <label class="control-label col-xs-12 col-sm-2">{:__('Details')}:</label>
25 <div class="col-xs-12 col-sm-8"> 25 <div class="col-xs-12 col-sm-8">
26 - <textarea id="c-details" class="form-control " rows="5" name="row[details]" cols="50"></textarea> 26 + <textarea id="c-details" class="form-control editor" rows="5" name="row[details]" cols="50"></textarea>
27 </div> 27 </div>
28 </div> 28 </div>
29 <div class="form-group layer-footer"> 29 <div class="form-group layer-footer">
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 <div class="form-group"> 23 <div class="form-group">
24 <label class="control-label col-xs-12 col-sm-2">{:__('Details')}:</label> 24 <label class="control-label col-xs-12 col-sm-2">{:__('Details')}:</label>
25 <div class="col-xs-12 col-sm-8"> 25 <div class="col-xs-12 col-sm-8">
26 - <textarea id="c-details" class="form-control " rows="5" name="row[details]" cols="50">{$row.details|htmlentities}</textarea> 26 + <textarea id="c-details" class="form-control editor" rows="5" name="row[details]" cols="50">{$row.details|htmlentities}</textarea>
27 </div> 27 </div>
28 </div> 28 </div>
29 <div class="form-group layer-footer"> 29 <div class="form-group layer-footer">
@@ -55,7 +55,7 @@ class Screen extends Api @@ -55,7 +55,7 @@ class Screen extends Api
55 $res = db('study_score_log')->where('campus_id',$item['campus_id'])->sum('score'); 55 $res = db('study_score_log')->where('campus_id',$item['campus_id'])->sum('score');
56 $item['score'] = floor($item['sum_score']); 56 $item['score'] = floor($item['sum_score']);
57 $item['percent'] = round($item['score'] / $res * 100,2); 57 $item['percent'] = round($item['score'] / $res * 100,2);
58 - $item['study'] = db('study')->where('team_id',$item['team_id'])->field('name,earn_score')->select(); 58 + $item['study'] = db('study')->where('team_id',$item['team_id'])->field('name,earn_score')->order('earn_score','desc')->select();
59 return $item; 59 return $item;
60 }); 60 });
61 $this->success('获取成功',$list); 61 $this->success('获取成功',$list);
@@ -4973,7 +4973,7 @@ @@ -4973,7 +4973,7 @@
4973 4973
4974 </div> 4974 </div>
4975 <div class="col-md-6" align="right"> 4975 <div class="col-md-6" align="right">
4976 - Generated on 2023-03-15 15:39:40 <a href="./" target="_blank">校园活动</a> 4976 + Generated on 2023-03-15 15:53:52 <a href="./" target="_blank">校园活动</a>
4977 </div> 4977 </div>
4978 </div> 4978 </div>
4979 4979