zblog教程 | 2020年03月22日15时15分26秒 | 评论:0
qq头像接口:
https://q4.qlogo.cn/headimg_dl?dst_uin=QQ号码&spec=100
zblog获取用户邮箱:
{$comment.Author.Email}
原ZBLOG评论显示头像代码:
<img src="{$comment.Author.Avatar}" alt="{$comment.Author.StaticName}" />
完整img代码:
<img src="https://q4.qlogo.cn/headimg_dl?dst_uin={$comment.Author.Email}&spec=100" alt="{$comment.Author.StaticName}" class="avatar" width="45"/>
样式可根据自己模板的要求来订,另外,文章页输出发布文章作者的QQ头像也是这样操作,文章页获取QQ头像:
{$article.Author.Email}
相关文章
网友点评
本文暂无评论 - 欢迎您
⎛⎝爱站云⎠⎞
AiZhanCloud.Com