diff --git a/WebContent/WEB-INF/jsp/pc/report/fans.jsp b/WebContent/WEB-INF/jsp/pc/report/fans.jsp index 16278aa..a00992a 100644 --- a/WebContent/WEB-INF/jsp/pc/report/fans.jsp +++ b/WebContent/WEB-INF/jsp/pc/report/fans.jsp @@ -68,7 +68,7 @@ for(var i = 0; i < data.rows.length; i++) { str += '' + '' + ((data.page - 1) * data.pageSize + i + 1) + '' + - '' + data.rows[i].nickname + '' + + '' + isLogo(data.rows[i].logo, data.rows[i].nickname) +'' + '' + ToAddress(data.rows[i]) + '' + '' + data.rows[i].parentfansid + '' + '' + data.rows[i].miniopenid + '' + @@ -122,6 +122,16 @@ var d = data.district || "" return !!(p + c + d) ? (p + c + d) : "未知城市" } + + function isLogo(logo, nickname){ + var val = "" + if(logo != ""){ + val = '' + nickname + }else{ + val = ' 未授权' + } + return val; + } }) diff --git a/WebContent/WEB-INF/jsp/pc/report/prize.jsp b/WebContent/WEB-INF/jsp/pc/report/prize.jsp index f730019..5e01a41 100644 --- a/WebContent/WEB-INF/jsp/pc/report/prize.jsp +++ b/WebContent/WEB-INF/jsp/pc/report/prize.jsp @@ -108,7 +108,7 @@ str += '' + '' + ((data.page - 1) * data.pageSize + i + 1) + '' + '' + data.rows[i].turn + '' + - '' + data.rows[i].nickname + '' + + '' + isLogo(data.rows[i].logo, data.rows[i].nickname) +'' + '' + showMny(data.rows[i].mny) + '' + '' + showPrizeName(data.rows[i].mny, data.rows[i].prizeName) + '' + '' + showStatus(data.rows[i].status) + ''+ @@ -200,6 +200,16 @@ } return val; } + + function isLogo(logo, nickname){ + var val = "" + if(logo != ""){ + val = '' + nickname + }else{ + val = ' 未授权' + } + return val; + } }) diff --git a/WebContent/WEB-INF/res/images/default_img.png b/WebContent/WEB-INF/res/images/default_img.png new file mode 100644 index 0000000..e92d24d Binary files /dev/null and b/WebContent/WEB-INF/res/images/default_img.png differ