1.列表页里的html代码:
{:getfieldselect($cateid,$modelid)}
2.对应匹配的css代码:
.xiycms-filter{border:1px solid #f3f3f3;padding:6px 20px;margin-top:20px;padding:15px;}.xiycms-filter dl{margin:0;}.xiycms-filter dl dd{float:left;width:70px;font-weight:bold;font-size:14px;margin:0;padding-top:5px;}.xiycms-filter dl dt{margin:0 0 0 80px;}.xiycms-filter dl dt a{font-weight:normal;margin:0 5px 5px 0;padding:5px 10px;color:#666;font-size:14px;display:inline-block;}.xiycms-filter dl dt a:hover{background:#108dee;color:#fff;}.xiycms-filter dl dt .hover{background:#108dee;color:#fff;}
{rs id="rs" pagesize="$pagenum" table="xiy_content" where="$sqlwhere" join="LEFT JOIN xiy_model_news ON xiy_model_news.cid=xiy_content.id" order="ordernum asc,createdate desc,id desc" key="i" mod="3"}{:getsubstr($rs.title,0,40)}{if $i=2}当前输出第2条{/if}{if $mod==0}当前输出第36912条{/if}{/rs}
评论
发表