diyurl 列表排序

[基礎(chǔ)用法]
標(biāo)簽:diyurl
描述:列表頁(yè)、搜索頁(yè)排序
用法:
Tag標(biāo)簽主頁(yè)URL:{eyou:diyurl type='tags' /}
登錄URL:{eyou:diyurl type='login' /}
注冊(cè)URL:{eyou:diyurl type='reg' /}

搜索主頁(yè)URL:{eyou:diyurl type='sindex' /}

多城市分站主頁(yè)URL:{eyou:diyurl type='citysite' /}


以下是列表的排序功能
<a {eyou:diyurl type='DefaultUrl' class='ey_active' /}>默認(rèn)</a>
<a {eyou:diyurl type='SalesUrl' class='ey_active' /}>銷量</a>
<a {eyou:diyurl type='PriceUrl' class='ey_active' /}>價(jià)格</a>
<a {eyou:diyurl type='NewUrl' class='ey_active' /}>新品</a>
<a {eyou:diyurl type='AppraiseUrl' class='ey_active' /}>評(píng)價(jià)</a>
<a {eyou:diyurl type='CollectionUrl' class='ey_active' /}>收藏</a>
<a {eyou:diyurl type='ClickUrl' class='ey_active' /}>點(diǎn)擊量</a>
<a {eyou:diyurl type='DownloadUrl' class='ey_active' /}>下載量</a>

 

屬性:
type='' 使用排序則固定值為以上8個(gè),排序效果對(duì)應(yīng)中文
class='' 按自身需要自行定義,無限制
 
涉及表字段:
請(qǐng)查閱易優(yōu)數(shù)據(jù)字典,找到表名 ey_archives

 

-------------------------------效果展示--------------------------------
模板調(diào)用標(biāo)準(zhǔn)代碼
<style type="text/css">
    .ey_active {color: red}
</style>
<a {eyou:diyurl type='DefaultUrl' class='ey_active' /}>默認(rèn)</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='SalesUrl' class='ey_active' /}>銷量</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='PriceUrl' class='ey_active' /}>價(jià)格</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='NewUrl' class='ey_active' /}>新品</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='AppraiseUrl' class='ey_active' /}>評(píng)價(jià)</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='CollectionUrl' class='ey_active' /}>收藏</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='ClickUrl' class='ey_active' /}>點(diǎn)擊量</a> &nbsp; &nbsp; &nbsp;
<a {eyou:diyurl type='DownloadUrl' class='ey_active' /}>下載量</a> &nbsp; &nbsp; &nbsp;

文檔最后更新時(shí)間:2023-10-23 17:35:45

文檔
目錄

深色
模式

切換
寬度