diff --git a/app/wechat/view/fans/index.html b/app/wechat/view/fans/index.html index 96fa4a3c2..3dfa588fe 100644 --- a/app/wechat/view/fans/index.html +++ b/app/wechat/view/fans/index.html @@ -30,8 +30,14 @@ sort: {field: 'subscribe_time', type: 'desc'}, cols: [[ {checkbox: true}, - {field: 'nickname', title: '微信昵称', minWidth: 100, align: 'center'}, - {field: 'province', title: '所在区域', minWidth: 120, templet: '
{{d.country}} {{d.province}} {{d.city}}
'}, + { + field: 'headimg', title: '头像', width: 65, align: "center", templet: function (d) { + d.headimgurl = d.headimgurl || ''; + return d.headimgurl ? '
' : ''; + } + }, + {field: 'nickname', title: '微信昵称', align: "center", minWidth: 100}, + {field: 'province', title: '所在区域', align: "center", minWidth: 120, templet: '
{{d.country}} {{d.province}} {{d.city}}
'}, {field: 'sex', title: '性别', align: 'center', minWidth: 80, templet: '
{{d.sex==1 ? "男" : (d.sex==2 ? "女" : "未知")}}
'}, {field: 'language', title: '使用语言', align: 'center', minWidth: 100, templet: '
{{d.language}}
'}, {