更新
This commit is contained in:
parent
f72a710330
commit
00cc9585e7
File diff suppressed because one or more lines are too long
@ -1965,6 +1965,9 @@ html[data-night='night'] {
|
||||
color: var(--main);
|
||||
.author {
|
||||
margin-right: 10px;
|
||||
a {
|
||||
color: #409eff;
|
||||
}
|
||||
}
|
||||
.owner {
|
||||
background: var(--theme);
|
||||
|
BIN
assets/img/lazyload_avatar.jpg
Normal file
BIN
assets/img/lazyload_avatar.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
@ -90,7 +90,7 @@
|
||||
<span class="title"><?php echo $item['name']; ?></span>
|
||||
<div class="content">
|
||||
<div class="desc"><?php echo $item['desc']; ?></div>
|
||||
<img class="avatar" src="<?php echo $item['avatar']; ?>" alt="<?php echo $item['name']; ?>" />
|
||||
<img class="avatar lazyload" src="<?php _getAvatarLazyload(); ?>" onerror="javascript: this.src = '<?php _getAvatarLazyload(); ?>'" data-original="<?php echo $item['avatar']; ?>" alt="<?php echo $item['name']; ?>" />
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
@ -99,7 +99,7 @@ function threadedComments($comments, $options)
|
||||
<li class="comment-list__item">
|
||||
<div class="comment-list__item-contain" id="<?php $comments->theId(); ?>">
|
||||
<div class="term">
|
||||
<img class="avatar lazyload" src="<?php _getAvatarLazyload() ?>" data-original="<?php _getAvatarByMail($comments->mail); ?>" alt="<?php $comments->author(); ?>" />
|
||||
<img class="avatar lazyload" onerror="javascript: this.src = '<?php _getAvatarLazyload(); ?>'" src="<?php _getAvatarLazyload() ?>" data-original="<?php _getAvatarByMail($comments->mail); ?>" alt="头像" />
|
||||
<div class="content">
|
||||
<div class="user">
|
||||
<span class="author"><?php $comments->author(); ?></span>
|
||||
|
Loading…
Reference in New Issue
Block a user