提交 fb074796 编写于 作者: huangxuan258's avatar huangxuan258

调整移动端轮播图尺寸

上级 254f9273
......@@ -19,7 +19,7 @@ div[carousel-item]>* {
<div class="layui-carousel" id="test1" lay-filter="test1">
<div carousel-item="">
<div class=""><a href="https://wenda.whatsns.com/" target="_blank"> <img style="height: 280px;" src="{SITE_URL}static/responsive_lovestu/1.jpg"></a></div>
<div class=""><a href="https://wenda.whatsns.com/" target="_blank"> <img {if is_mobile()}style="height: 140px;" {else}style="height: 280px;" {/if} src="{SITE_URL}static/responsive_lovestu/1.jpg"></a></div>
<div class=""><a href="https://wenda.whatsns.com/" target="_blank"><img style="height: 280px;" src="{SITE_URL}static/responsive_lovestu/2.jpg"></a></div>
......@@ -36,7 +36,7 @@ layui.use(['carousel', 'form'], function(){
,arrow: 'always',
width: '100%'
{if is_mobile()}
,height: '100px'
,height: '140px'
{else}
,height: '280px'
{/if}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册