博客评论

This commit is contained in:
结发受长生
2018-05-07 10:39:14 +08:00
parent 7aff3b6bf8
commit 2894c24b96
9 changed files with 42 additions and 19 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

+2 -2
View File
@@ -213,7 +213,7 @@ var JELON = window.JELON || {};
box: {
tpl: [
'<section class="box" id="JELON__commentBox">',
'<div class="com-avatar"><img id="JELON__loginAvatar" src="/img/unsigned_avatar.jpg" alt="avatar"></div>',
'<div class="com-avatar"><img id="loginAvatar" src="/img/loading.gif" alt="avatar"></div>',
'<div class="com-text">',
'<div class="main">',
'<textarea class="text-area-edited show" id="JELON__editBox" placeholder="欢迎评论!"></textarea>',
@@ -235,7 +235,7 @@ var JELON = window.JELON || {};
userInfo = {};
}
// 默认头像路径 /img/jelon.jpg
$('JELON__loginAvatar').src = userInfo.avatar_url || '/img/unsigned_avatar.jpg';
$('loginAvatar').src = userInfo.avatar_url || '/img/unsigned_avatar.png';
}
},
list: {