在template/wap/index.html
找到代碼
<!--滾動公告開始-->
<div class="clear10"></div>
<div class="inewsnotice">
<div class="icon"></div>
<div class="line"></div>
<div class="text" id="islidenews"><ul class="islidearticle swiper-wrapper">
<!--${WebNews,1,0,5}<li class="swiper-slide"><a href="${kLink}">${kTitle,0}</a></li>${EndWebNews}-->
</ul></div>
<div class="more"><a href="/news">更多</a></div>
</div><script>
var mySwiper1 = new Swiper(''#islidenews'', {
direction: ''vertical'',height:22,
slidesPerView:''auto'',
autoplay:{delay: 3000, },
loop : true,
loopedSlides:3,
})
</script>
<!--滾動公告結束-->
${WebNews,1,0,5} 第一個數字改成要調用的分類ID