where="status>2"
只知道status="1" 代表只取审核过的数据,换成 2 只取推荐的数据,或是若是3星以上的推荐内容,如何专门调取呢,请赐教。
汗,刚刚搞错了。
2星级推荐:
{qb:tag name="web_touch_news_index_toutiao" type="cms" rows="5" order="id" by="desc" mid="1" status="3"} <li><a href="{$rs.url}" title="{$rs.title}">{$rs.title|get_word=85}</a></li> {/qb:tag}
3星级推荐:
{qb:tag name="web_touch_news_index_toutiao" type="cms" rows="5" order="id" by="desc" mid="1" status="4"} <li><a href="{$rs.url}" title="{$rs.title}">{$rs.title|get_word=85}</a></li> {/qb:tag}
以此类推,一直到8星级推荐,其实加上已审核,总共是9级推荐:
{qb:tag name="web_touch_news_index_toutiao" type="cms" rows="5" order="id" by="desc" mid="1" status="9"} <li><a href="{$rs.url}" title="{$rs.title}">{$rs.title|get_word=85}</a></li> {/qb:tag}