This commit is contained in:
haoouba 2021-01-27 19:50:40 +08:00
parent f72a710330
commit 00cc9585e7
5 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1965,6 +1965,9 @@ html[data-night='night'] {
color: var(--main); color: var(--main);
.author { .author {
margin-right: 10px; margin-right: 10px;
a {
color: #409eff;
}
} }
.owner { .owner {
background: var(--theme); background: var(--theme);

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -90,7 +90,7 @@
<span class="title"><?php echo $item['name']; ?></span> <span class="title"><?php echo $item['name']; ?></span>
<div class="content"> <div class="content">
<div class="desc"><?php echo $item['desc']; ?></div> <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> </div>
</a> </a>
</li> </li>

View File

@ -99,7 +99,7 @@ function threadedComments($comments, $options)
<li class="comment-list__item"> <li class="comment-list__item">
<div class="comment-list__item-contain" id="<?php $comments->theId(); ?>"> <div class="comment-list__item-contain" id="<?php $comments->theId(); ?>">
<div class="term"> <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="content">
<div class="user"> <div class="user">
<span class="author"><?php $comments->author(); ?></span> <span class="author"><?php $comments->author(); ?></span>