苹果cms vod_list修改

        <a {if-A:"{page:by}"="time"} class="this" {endif-A} href="{page:linkbytime}">时间</a>
        <a {if-A:"{page:by}"="hits"} class="this" {endif-A} href="{page:linkbyhits}">人气</a>
        <a {if-A:"{page:by}"="score"} class="this" {endif-A} href="{page:linkbyscore}">评分</a>

效果

        <a class="this" href="/index.php?m=vod-list-id-1-pg-1-order--by-time-class--year--letter--area--lang-.html">时间</a>
        <a href="/index.php?m=vod-list-id-1-pg-1-order--by-hits-class--year--letter--area--lang-.html">人气</a>
        <a href="/index.php?m=vod-list-id-1-pg-1-order--by-score-class--year--letter--area--lang-.html">评分</a>

 

该段代码意为

 

如果所在页面为 linkbytime(时间),linkbyhits(人气),linkbyscore(评分),则相应会出现class="this"

苹果cms vod_list修改

上一篇:Android开发——adb连接夜神模拟器


下一篇:interface21 - web - ContextLoaderListener(Spring Web Application Context加载流程)