一,模板上要引入jq文件
<script language="JavaScript" type="text/javascript" src=http://www.dede58.com/"{dede:global.cfg_templets_skin/}/js/jQuery.js"></script>
二,模板
<div class="xl12 xm8 xb8 over-hidden">
<!-- 切换标签 -->
<style type="text/css">
.slideTxtBox{ width:100%; text-align:left; }
.slideTxtBox .hd{ height:38px; line-height:27px; position:relative; overflow:hidden }
.slideTxtBox .hd ul{left:10px; float:left; position:absolute; top:3px; height:39px;width:120%;}
.slideTxtBox .hd ul li{height:40px; float:left;color:#fff;padding:0px 7px 0px 6px; cursor:pointer; }
.slideTxtBox .hd ul li.on{background:url({dede:global.cfg_templets_skin/}/images/bg5.png) repeat-x;color:red }
.slideTxtBox .bd ul{ zoom:1;padding-bottom:50px;display:none;position:relative;}
.slideTxtBox .bd li{ height:24px; line-height:24px; }
#dede_qrcode_frame{ display:none;z-index:5;position:absolute;top:-117px;left:-40px ;}
</style>
<div id="slideTxtBox"class="slideTxtBox l-padding00"style="overflow:visible !important;">
<div class="hd bg-main">
<ul id="tab"class="border-top border-main border-big">
<li class="on">全部</li>
<li>商会</li></ul>
</div><br/>
<div class="bd"id="slideTxtBox-bd">
<ul id="all" class="show">
{dede:arclist row='9' titlelen='100'titlelen='100' orderby='id' }
<div class="bg-fff margin-big-bottom l-margin-bottom0 l-margin-top12 list2 width-100 ib pr"id="list">
<div class="xl4 padding20 l-padding00">
<span class="pr ib "><a target="_blank" class="width-100" href=http://www.dede58.com/"[field:arcurl/]">
<img src=http://www.dede58.com/"[field:litpic/]" width="100%"class="width-100" alt="[field:title/]">
</a>
<!-- 微博微信 -->