更新
This commit is contained in:
parent
98c7f73c6b
commit
d1d5214d49
@ -57,7 +57,7 @@
|
|||||||
<?php foreach ($carousel as $item) : ?>
|
<?php foreach ($carousel as $item) : ?>
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide">
|
||||||
<a class="item" href="<?php echo $item['url'] ?>" target="_blank" rel="noopener noreferrer nofollow">
|
<a class="item" href="<?php echo $item['url'] ?>" target="_blank" rel="noopener noreferrer nofollow">
|
||||||
<img class="thumbnail" onerror="<?php _getLazyload() ?>" src="<?php echo $item['img'] ?>" alt="<?php echo $item['title'] ?>" width="100%" height="100%" />
|
<img class="thumbnail" onerror="javascript: this.src='<?php _getLazyload() ?>';" src="<?php echo $item['img'] ?>" alt="<?php echo $item['title'] ?>" width="100%" height="100%" />
|
||||||
<div class="title"><?php echo $item['title'] ?></div>
|
<div class="title"><?php echo $item['title'] ?></div>
|
||||||
<svg class="icon" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="18" height="18">
|
<svg class="icon" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="18" height="18">
|
||||||
<path d="M784.299475 1007.961156a33.200407 33.200407 0 0 1-27.105646-9.061947l-216.524395-144.349597-108.903751 108.262198c-9.061947 9.061947-36.167593 18.0437-45.229541 9.061947a49.720417 49.720417 0 0 1-27.105646-45.229541v-198.881666A33.200407 33.200407 0 0 1 368.893414 700.656903l343.070875-370.577492a44.748375 44.748375 0 0 1 63.273239 63.27324L441.068212 754.868196v72.174799l63.27324-54.211293a42.583131 42.583131 0 0 1 54.211293-9.061947L757.193829 890.155846l153.652126-749.81596-759.198684 370.497298 171.695826 108.50278c18.0437 9.061947 27.105646 45.22954 9.061946 63.27324-9.061947 18.0437-45.22954 27.105646-63.273239 18.043699L34.082544 547.004777C25.100791 538.023025 16.038844 529.281854 16.038844 510.837184s9.061947-27.105646 27.105647-36.167594l903.788863-451.814237c18.0437-9.061947 36.167593-9.061947 45.229541 0C1010.447177 32.077688 1010.447177 49.960999 1010.447177 68.004699l-180.757773 903.788864c0 18.0437-9.061947 27.105646-27.105646 36.167593z"></path>
|
<path d="M784.299475 1007.961156a33.200407 33.200407 0 0 1-27.105646-9.061947l-216.524395-144.349597-108.903751 108.262198c-9.061947 9.061947-36.167593 18.0437-45.229541 9.061947a49.720417 49.720417 0 0 1-27.105646-45.229541v-198.881666A33.200407 33.200407 0 0 1 368.893414 700.656903l343.070875-370.577492a44.748375 44.748375 0 0 1 63.273239 63.27324L441.068212 754.868196v72.174799l63.27324-54.211293a42.583131 42.583131 0 0 1 54.211293-9.061947L757.193829 890.155846l153.652126-749.81596-759.198684 370.497298 171.695826 108.50278c18.0437 9.061947 27.105646 45.22954 9.061946 63.27324-9.061947 18.0437-45.22954 27.105646-63.273239 18.043699L34.082544 547.004777C25.100791 538.023025 16.038844 529.281854 16.038844 510.837184s9.061947-27.105646 27.105647-36.167594l903.788863-451.814237c18.0437-9.061947 36.167593-9.061947 45.229541 0C1010.447177 32.077688 1010.447177 49.960999 1010.447177 68.004699l-180.757773 903.788864c0 18.0437-9.061947 27.105646-27.105646 36.167593z"></path>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
<?php $this->widget('Widget_Archive@' . $cid, 'pageSize=1&type=post', 'cid=' . $cid)->to($item); ?>
|
<?php $this->widget('Widget_Archive@' . $cid, 'pageSize=1&type=post', 'cid=' . $cid)->to($item); ?>
|
||||||
<figure class="item">
|
<figure class="item">
|
||||||
<a class="thumbnail" href="<?php $item->permalink() ?>" title="<?php $item->title() ?>">
|
<a class="thumbnail" href="<?php $item->permalink() ?>" title="<?php $item->title() ?>">
|
||||||
<img class="lazyload" onerror="<?php _getLazyload() ?>" src="<?php _getLazyload(); ?>" data-original="<?php _getThumbnail($item); ?>" alt="<?php $item->title() ?>" width="100%" />
|
<img class="lazyload" onerror="javascript: this.src='<?php _getLazyload() ?>';" src="<?php _getLazyload(); ?>" data-original="<?php _getThumbnail($item); ?>" alt="<?php $item->title() ?>" width="100%" />
|
||||||
</a>
|
</a>
|
||||||
<figcaption class="information">
|
<figcaption class="information">
|
||||||
<span class="information_type">推荐</span>
|
<span class="information_type">推荐</span>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
<a class="link" href="<?php $item->permalink(); ?>" title="<?php $item->title(); ?>">
|
<a class="link" href="<?php $item->permalink(); ?>" title="<?php $item->title(); ?>">
|
||||||
<figure class="inner">
|
<figure class="inner">
|
||||||
<span class="views"><?php _getViews($item); ?></span>
|
<span class="views"><?php _getViews($item); ?></span>
|
||||||
<img class="image lazyload" onerror="<?php _getLazyload() ?>" src="<?php _getLazyload(); ?>" data-original="<?php _getThumbnail($item); ?>" alt="<?php $item->title(); ?>" />
|
<img class="image lazyload" onerror="javascript: this.src='<?php _getLazyload() ?>';" src="<?php _getLazyload(); ?>" data-original="<?php _getThumbnail($item); ?>" alt="<?php $item->title(); ?>" />
|
||||||
<figcaption class="title"><?php $item->title(); ?></figcaption>
|
<figcaption class="title"><?php $item->title(); ?></figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
</a>
|
</a>
|
||||||
@ -118,7 +118,7 @@
|
|||||||
<?php if ($index_ad) : ?>
|
<?php if ($index_ad) : ?>
|
||||||
<div class="joe_index__ad">
|
<div class="joe_index__ad">
|
||||||
<a class="joe_index__ad-link" href="<?php echo $index_ad['url'] ?>" target="_blank" rel="noopener noreferrer nofollow">
|
<a class="joe_index__ad-link" href="<?php echo $index_ad['url'] ?>" target="_blank" rel="noopener noreferrer nofollow">
|
||||||
<img class="image lazyload" onerror="<?php _getLazyload() ?>" src="<?php _getLazyload() ?>" data-original="<?php echo $index_ad['image'] ?>" alt="<?php echo $index_ad['url'] ?>" width="100%" />
|
<img class="image lazyload" onerror="javascript: this.src='<?php _getLazyload() ?>';" src="<?php _getLazyload() ?>" data-original="<?php echo $index_ad['image'] ?>" alt="<?php echo $index_ad['url'] ?>" width="100%" />
|
||||||
<span class="icon">广告</span>
|
<span class="icon">广告</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<aside class="joe_aside">
|
<aside class="joe_aside">
|
||||||
<?php if (in_array('author', $this->options->JAside)) : ?>
|
<?php if (in_array('author', $this->options->JAside)) : ?>
|
||||||
<section class="joe_aside__item author">
|
<section class="joe_aside__item author">
|
||||||
<img class="image" onerror="<?php _getLazyload() ?>" src="<?php $this->options->JAside_Author_Image() ?>" alt="<?php $this->author->screenName(); ?>" />
|
<img class="image" onerror="javascript: this.src='<?php _getLazyload() ?>';" src="<?php $this->options->JAside_Author_Image() ?>" alt="<?php $this->author->screenName(); ?>" />
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<img class="avatar lazyload" src="<?php _getAvatarLazyload(); ?>" onerror="javascript: this.src = '<?php _getAvatarLazyload(); ?>'" data-original="<?php _getAvatarByMail($this->author->mail) ?>" alt="<?php $this->author->screenName(); ?>" />
|
<img class="avatar lazyload" src="<?php _getAvatarLazyload(); ?>" onerror="javascript: this.src = '<?php _getAvatarLazyload(); ?>'" data-original="<?php _getAvatarByMail($this->author->mail) ?>" alt="<?php $this->author->screenName(); ?>" />
|
||||||
<a class="link" href="<?php $this->options->JAside_Author_Link() ?>" target="_blank" rel="noopener noreferrer nofollow"><?php $this->author->screenName(); ?></a>
|
<a class="link" href="<?php $this->options->JAside_Author_Link() ?>" target="_blank" rel="noopener noreferrer nofollow"><?php $this->author->screenName(); ?></a>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
<li class="item">
|
<li class="item">
|
||||||
<a class="link" href="<?php $item->permalink(); ?>" title="<?php $item->title(); ?>">
|
<a class="link" href="<?php $item->permalink(); ?>" title="<?php $item->title(); ?>">
|
||||||
<i class="sort"><?php echo $index; ?></i>
|
<i class="sort"><?php echo $index; ?></i>
|
||||||
<img class="image lazyload" onerror="<?php _getLazyload() ?>" src="<?php _getLazyload(); ?>" data-original="<?php _getThumbnail($item); ?>" alt="<?php $item->title() ?>" />
|
<img class="image lazyload" onerror="javascript: this.src='<?php _getLazyload() ?>';" src="<?php _getLazyload(); ?>" data-original="<?php _getThumbnail($item); ?>" alt="<?php $item->title() ?>" />
|
||||||
<div class="describe">
|
<div class="describe">
|
||||||
<h6><?php $item->title(); ?></h6>
|
<h6><?php $item->title(); ?></h6>
|
||||||
<span><?php _getViews($item); ?> 阅读 - <?php $item->date('m/d'); ?></span>
|
<span><?php _getViews($item); ?> 阅读 - <?php $item->date('m/d'); ?></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user