可运行
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{% for item in list %}
|
||||
<tr>
|
||||
<td>
|
||||
<img alt="image" class="img-circle" src="{{ item.member_info.avatar }}" style="width: 40px;height: 40px;">
|
||||
<img alt="image" class="img-circle" src="{{ buildImageUrl(item.member_info.avatar) if item.member_info.avatar else buildStaticUrl('/images/common/avatar.png') }}" style="width: 40px;height: 40px;">
|
||||
</td>
|
||||
<td>{{ item.member_info.nickname }}</td>
|
||||
<td>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
{% if list %}
|
||||
{% for item in list %}
|
||||
<tr>
|
||||
<td><img alt="image" class="img-circle" src="{{ item.avatar }}" style="width: 40px;height: 40px;"></td>
|
||||
<td><img alt="image" class="img-circle" src="{{ buildImageUrl(item.avatar) if item.avatar else buildStaticUrl('/images/common/avatar.png') }}" style="width: 40px;height: 40px;"></td>
|
||||
<td>{{ item.nickname }}</td>
|
||||
<td>{{ item.sex_desc }}</td>
|
||||
<td>{{ item.status_desc }}</td>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-2 text-center">
|
||||
<img class="img-circle circle-border" src="{{ info.avatar }}"
|
||||
<img class="img-circle circle-border" src="{{ buildImageUrl(info.avatar) if info.avatar else buildStaticUrl('/images/common/avatar.png') }}"
|
||||
width="100px" height="100px">
|
||||
</div>
|
||||
<div class="col-lg-10">
|
||||
|
||||
Reference in New Issue
Block a user