77 lines
3.1 KiB
PHP
77 lines
3.1 KiB
PHP
<style>
|
||
.performance-content{
|
||
display: inline-flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
justify-content: center;
|
||
align-items: center;
|
||
font-size: 20px;
|
||
font-weight: bold;
|
||
}
|
||
.performance-content .min-performance{
|
||
font-size: 12px;
|
||
font-weight: unset;
|
||
margin-left: 10px;
|
||
background-color: #f56c6c;
|
||
border-color: #f56c6c;
|
||
color: #fff;
|
||
height: 20px;
|
||
line-height: 20px;
|
||
padding: 0 5px;
|
||
border-radius: 5px;
|
||
}
|
||
.performance-content .max-performance{
|
||
font-size: 12px;
|
||
font-weight: unset;
|
||
margin-left: 10px;
|
||
background-color: #67c23a;
|
||
border-color: #67c23a;
|
||
color: #fff;
|
||
height: 20px;
|
||
line-height: 20px;
|
||
padding: 0 5px;
|
||
border-radius: 5px;
|
||
}
|
||
</style>
|
||
<div class="w1200 m0a" id="storeManagerIndex">
|
||
<div class="panel panel-default">
|
||
<div class="panel-body" style="padding-top: 0;margin-bottom: 30px;overflow: auto;padding-right: 30px;">
|
||
<table class="table" style="min-width:1200px;overflow: auto;">
|
||
<thead>
|
||
<tr>
|
||
<th style="text-align:center;">用户信息</th>
|
||
<th style="text-align:center;">当前团队人数</th>
|
||
<th style="text-align:center;">团队业绩</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach ($line_list as $item)
|
||
<tr style="height: 50px;">
|
||
<td style="text-align:center;" >
|
||
<div class="user">
|
||
<div class="user-avatar">
|
||
<img class="avatar-image" src="{{$user_list[$item['sub_uid']]['avatar_image']}}" />
|
||
</div>
|
||
<div class="user-info">
|
||
<div class="user-nickname">{{ $user_list[$item['sub_uid']]['username'] ? : $user_list[$item['sub_uid']]['nickname'] }}</div>
|
||
<div class="user-status">ID:{{ $user_list[$item['sub_uid']]['uid'] }}</div>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
<td style="text-align:center;">{{ count(explode(',',$item['line_all_uid'])) }}</td>
|
||
<td style="text-align:center;">
|
||
<div class="performance-content">
|
||
{{ $item['performance'] }}
|
||
@if(count($line_list) > 1)
|
||
@if($item['sub_uid'] == $min_line['sub_uid'])<span class="min-performance"> 最大业绩 </span>@endif
|
||
@if($item['sub_uid'] == $max_line['sub_uid'])<span class="max-performance"> 最小业绩 </span>@endif
|
||
@endif
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
@endforeach
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div> |