<section id="<?php echo $dhtrigger;?>" class="nodeslick01  <?php echo $cssname;?>" <?php echo $stylev;?>>
	 <ul>
	 <?php 
     foreach($result['data'] as $k=>$v){
         // pre($v);
        $title = $v['title']; $titlestyle = $v['titlestyle']; 
         $kvsm= $v['kvsm'];        
        $img = get_img($kvsm);  $dateday  =   $v['dateday'];
        $desp  =   $v['desp'];
        $titlestylev=$titlestyle<>''?' style="'.$titlestyle.'" ':'';   
 
            $link = $v['link'];          
            $nodeurl = linkhref($link).$titlestylev; 
 
// $nodebtnmore = $nodebtnmore==''?'查看详情':$nodebtnmore;
   $kjia = $k+1; 
  $kyu = $kjia%$cus_columns;
  
  $haswowv ='';
if(is_int(strpos($cssname,'haswow'))) $haswowv = 'wow fadeInUp ';
$datev ='';
if(is_int(strpos($cssname,'hasdate'))) $datev = '<span class="date">'.$dateday.'</span>';

?>
 
	 <li class="<?php echo $haswowv.$cus_columnsv;?>">  				 
		<div class="img">
			<a <?php echo $nodeurl;?>><img src="<?php echo $img;?>" alt="<?php echo $title;?>" /></a>
		</div>
		<div class="text">
			<a <?php echo $nodeurl;?>><h4><?php echo $title;?></h4></a>			
			 <?php echo $datev;?> 
			<div  class="desp"><?php echo $desp;?></div>			
			  <?php 
              
               if($nodebtnmore<>''){               
              ?>
              <div class="tc dmbtn morexs  ptb10">
                 <a  class="more"  <?php echo $nodeurl;?>><?php echo $nodebtnmore;?>  </a>
              </div>              
               <?php 
               }
              ?>
			  
		</div>
	</li>
<?php 
 }
 ?>
</ul>
<div class="c"> </div>
 
  <?php 
if($linktitle<>'')  echo  '<div class="dmbtn mt10 tc"><a class="more" '.linkhref($linkurl).'>'.$linktitle.'</a></div>'; 
  ?>
  
</section>

 
<?php 
if(is_int(strpos($cssname,'sliderenable'))){

 
$ifdots = 'true';
$ifarrows = 'true';
 if(is_int(strpos($cssname,'dotsfalse'))) $ifdots = 'false';
if(is_int(strpos($cssname,'arrowsfalse'))) $ifarrows = 'false'; 
 
$num800 = $cus_columns<=3?$cus_columns:3;
$num600 = $cus_columns<=2?$cus_columns:2;
?>
<script>
$(function(){
    

    $('#<?php echo $dhtrigger?>>ul').slick({ 
 
         infinite: true,
              slidesToShow: <?php echo $cus_columns;?>,
              slidesToScroll: <?php echo $cus_columns;?>,
              autoplay:true,
              dots: <?php echo $ifdots;?>, 
               arrows:  <?php echo $ifarrows;?>,
                responsive: [                                 
                  {
                    breakpoint: 800,
                    settings: {
                      slidesToShow: <?php echo $num800;?>,
                      slidesToScroll:  <?php echo $num800;?>,
                    }
                  },
                   {
                    breakpoint: 600,
                    settings: {
                      slidesToShow: <?php echo $num600;?>,
                      slidesToScroll:  <?php echo $num600;?>,
                    }
                  },
                  {
                    breakpoint: 480,
                    settings: {
                      slidesToShow: 1,
                      slidesToScroll: 1,
                    }
                  }
                  ]
 });
});
</script>
<?php 
}
?>
