Commit 8c3ff34b authored by gxx's avatar gxx

团队成员显示完善

parent 66dbca2d
...@@ -102,6 +102,10 @@ ...@@ -102,6 +102,10 @@
<div class="active tab-pane" id="activity" style="overflow: hidden"> <div class="active tab-pane" id="activity" style="overflow: hidden">
@if(count($groups->usergroup) == 0)
<h3> 团队还没有成员加入 </h3>
@else
@foreach($groups->usergroup as $user) @foreach($groups->usergroup as $user)
<div style="float: left;margin-left: 50px;"> <div style="float: left;margin-left: 50px;">
...@@ -109,7 +113,8 @@ ...@@ -109,7 +113,8 @@
<h3 class="profile-username text-center">{{$user->users[0]['user_name']}}</h3> <h3 class="profile-username text-center">{{$user->users[0]['user_name']}}</h3>
</div> </div>
@endforeach @endforeach
@endif
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment