1个回答
展开全部
首先找一个JS幻灯片效果,然后套一下标签,详情请看下面代码:推荐位ID自己换,
{pc:content action="position" posid="1" num="5" order="listorder DESC"}
{loop $data $rs}
{pc:get sql="SELECT pictureurls FROM v9_news_data where id='$rs[id]'"}
{loop $data $r}
{loop string2array($r[pictureurls]) $pic_k $v}
<img src="{$v['url']}" alt="{$rs['title']}" border="0" />
{/loop}
{/loop}
{/pc}
{/loop}
{/pc}
{pc:content action="position" posid="1" num="5" order="listorder DESC"}
{loop $data $rs}
{pc:get sql="SELECT pictureurls FROM v9_news_data where id='$rs[id]'"}
{loop $data $r}
{loop string2array($r[pictureurls]) $pic_k $v}
<img src="{$v['url']}" alt="{$rs['title']}" border="0" />
{/loop}
{/loop}
{/pc}
{/loop}
{/pc}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询