<link rel="stylesheet" href="/css/<?# webTemplates ?>/banner.css" />
<div id="banner">
	<div class="main-slider">
		<php:repeater id="listP">
		<template>
		<div class="item">
			<a href="<?# Link ?>" title="<?# Title ?>" target="_blank"></a>
			<div class="info">
				<div class="text-box">
					<h3><?# Title ?></h3>
					<h3><?# Title ?></h3>
				</div>
				<p><?# DanDesc ?></p>
			</div>
			<div class="img"<?# Image2 ?>><?# video ?></div>
		</div>
		</template>
		</php:repeater>
	</div>
</div>
<script>
$(function(){
	$('#banner .main-slider').slick({
		arrows: false,
		dots: false,
		pauseOnHover: false,
		autoplay: true,
		autoplaySpeed: 5000,
		speed: 600,
		fade: true,
		cssEase: 'linear',
		adaptiveHeight: true
	});
});
</script>