轮播增加跳转

This commit is contained in:
2021-12-01 09:18:58 +08:00
parent a84417c167
commit 52f73b3bc3

View File

@@ -37,7 +37,7 @@
<div class="swiper-wrapper">
@if (getArticlesByPosition(1)->isNotEmpty())
@foreach (getArticlesByPosition(1) as $article)
<div class="swiper-slide">
<div class="swiper-slide" data-href="{{ $article->link }}">
<div class="ce-img indexImg-img">
<span style="background-image: url({{ $article->cover_path }});"></span>
<div class="ce-nowrap indexImg-title">