23 lines
1.9 KiB
HTML
23 lines
1.9 KiB
HTML
{{if !empty($module_data) and !empty($module_data['user'])}}
|
|
<img src="{{$module_data.user.avatar}}" alt="{{$module_data.user.user_name_view}}" class="am-img-thumbnail am-radius am-align-left am-margin-right-xs am-margin-bottom-0" width="35" height="35" />
|
|
<ul class="user-base">
|
|
<li class="am-text-truncate">{{$module_data.user.user_name_view}}</li>
|
|
<li>
|
|
{{if !empty($module_data['user']['username'])}}
|
|
<a href="javascript:;" class="am-icon-user am-text-grey am-margin-right-sm" data-am-popover="{content: '账号:{{$module_data.user.username}}{{if !empty($module_data['user']['nickname'])}}<br />昵称:{{$module_data.user.nickname}}{{/if}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
|
{{/if}}
|
|
{{if !empty($module_data['user']['number_code'])}}
|
|
<a href="javascript:;" class="am-icon-qrcode am-text-grey am-margin-right-sm" data-am-popover="{content: '{{$module_data.user.number_code}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
|
{{/if}}
|
|
{{if !empty($module_data['user']['mobile'])}}
|
|
<a href="javascript:;" class="am-icon-phone-square am-text-grey am-margin-right-sm" data-am-popover="{content: '{{$module_data.user.mobile}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
|
{{/if}}
|
|
{{if !empty($module_data['user']['email'])}}
|
|
<a href="javascript:;" class="am-icon-envelope am-text-grey am-margin-right-sm" data-am-popover="{content: '{{$module_data.user.email}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
|
{{/if}}
|
|
{{if !empty($module_data['user']['gender_text'])}}
|
|
<a href="javascript:;" class="am-icon-child am-text-grey" data-am-popover="{content: '{{$module_data.user.gender_text}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
|
{{/if}}
|
|
</li>
|
|
</ul>
|
|
{{/if}} |