Commit 2bbad10c by 施宇

轮播

parent d5a18b08
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
<div class="fl time ellipsis"> <div class="fl time ellipsis">
<span>上次登录时间:<em class="last_login_time">--</em></span> <span>上次登录时间:<em class="last_login_time">--</em></span>
</div> </div>
{:dump($roll_banners)}
</div> </div>
</div> </div>
</div> </div>
...@@ -60,15 +59,15 @@ ...@@ -60,15 +59,15 @@
</div> </div>
</div> </div>
<!-- 轮播部分 --> <!-- 轮播部分 -->
<if condition="empty($roll_banners) neq true"> <if condition="!empty($roll_banners['data'])">
<div class="sy-carousel"> <div class="sy-carousel">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<volist name="roll_banners" id="vo" key="k"> <volist name="roll_banners['data']" id="vo">
<a class="swiper-slide" href="www.baidu.com"></a> <a class="swiper-slide" href="{$vo['url']}"
<a class="swiper-slide" href="www.baidu.com"></a> style="background:url({$vo['images']}) center center no-repeat;"
<a class="swiper-slide" href="www.baidu.com"></a> target="{$vo['window_open'] > 0 ? '_blank' : '_self'}"
<a class="swiper-slide" href="www.baidu.com"></a> title="{$vo['title']}"></a>
<a class="swiper-slide" href="www.baidu.com"></a> </volist>
</div> </div>
<!-- Add Pagination --> <!-- Add Pagination -->
<div class="sy-pagination"></div> <div class="sy-pagination"></div>
......
...@@ -132,8 +132,6 @@ ...@@ -132,8 +132,6 @@
border-radius: 4px; border-radius: 4px;
} }
.home_content .sy-carousel .swiper-slide { .home_content .sy-carousel .swiper-slide {
background: url('http://img.icsales.com/test/images/icsales/201909/12/fa7488c3e772f4f72032d95bf93cb00f.png') no-repeat;
background-size: cover;
cursor: pointer; cursor: pointer;
display: block; display: block;
} }
......
...@@ -164,8 +164,6 @@ ...@@ -164,8 +164,6 @@
position: relative; position: relative;
border-radius:4px; border-radius:4px;
.swiper-slide { .swiper-slide {
background: url('http://img.icsales.com/test/images/icsales/201909/12/fa7488c3e772f4f72032d95bf93cb00f.png') no-repeat;
background-size: cover;
cursor: pointer; cursor: pointer;
display: block; display: block;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment