zoukankan      html  css  js  c++  java
  • 织梦栏目列表页第一个文章与其他文章不同样式

    栏目页第一个文章样式与其他文章样式不同效果

    不用改动任何程序文件,用标签实现方法

    {dede:list pagesize='10'}
    [field:array runphp=yes]
    ($GLOBALS[autoindex]==1) ? @me="<li><a href='{@me['arcurl']}' class='preview'><img src='{@me['litpic']}'/></a><a href='{@me['arcurl']}' class='title'>{@me['title']}</a><span class='info'><small>日期:</small>".GetDateTimeMK(@me['pubdate'])."<small>点击:</small>{@me['click']}<small>好评:</small>{@me['scores']}</span><p class='intro'>简介:{@me['description']}</p></li>":@me="<li><a href='{@me['arcurl']}' class='title'>{@me['title']}</a><span class='info'><small>日期:</small>".GetDateTimeMK(@me['pubdate'])."<small>点击:</small>{@me['click']}<small>好评:</small>{@me['scores']}</span><p class='intro'>简介:{@me['description']}</p></li>";[/field:array]
    {/dede:list}
  • 相关阅读:
    Linux基本命令
    LR之流程
    Jmeter&Ant构建自动化测试平台
    正则表达式
    搭建wordpress-安装xshell
    git本地文件提交
    Git基本操作
    python-之基本语法
    SQL语句之-简单查询
    postman之请求&断言
  • 原文地址:https://www.cnblogs.com/dedehtml/p/9902405.html
Copyright © 2011-2022 走看看