系统标签
| 名称 | 字段 | 调用代码 |
|---|
| SEO标题 | seo_title | <yunu:config name="seo_title"> |
| SEO关键词 | seo_keywords | <yunu:config name="seo_keywords"> |
| SEO描述 | seo_description | <yunu:config name="seo_description"> |
| 网站名称 | site_title | <yunu:config name="site_title"> |
| 网站域名 | site_url | <yunu:config name="site_url"> |
| 网站LOGO | site_logo | <yunu:config name="site_logo"> |
| 网站ICO | site_ico | <yunu:config name="site_ico"> |
| 底部版权 | site_copyright | <yunu:config name="site_copyright"> |
| 手机LOGO | wap_logo | <yunu:config name="wap_logo"> |
| 手机版权信息 | wap_copyright | <yunu:config name="wap_copyright"> |
| 获取PC链接 | pcurl | <yunu:config name="pcurl"> |
| 获取WAP链接 | wapurl | <yunu:config name="wapurl"> |
导航标签
| 名称 | 调用代码 |
|---|
| 导航名称 | {$nav.title} |
| 导航副标题 | {$nav.subtitle} |
| 导航封面图 | {$nav.pic} |
| 导航链接 | {$nav.url} |
| 链接新窗口 | {$nav.target} |
| 导航子栏目 | {$nav.child} |
标签参数
| 参数名 | 名称 | 默认 | 说明 |
|---|
| typeid | 类型 | 1 | 1主导航,2尾导航,3全部 |
| limit | 显示数量 | 10 |
|
示范调用
一级导航
<yunu:nav typeid="1" limit="100"><li><ahref="{$nav.url}"target="{$nav.target}">{$nav.title}</a></li></yunu:nav>
二级导航
<yunu:nav typeid="1" limit="100"><li><ahref="{$nav.url}"target="{$nav.target}">{$nav.title}</a><volistname="nav['child']"id="v"><ul><li><ahref="{$v.url}">{$v.title}</a></li></ul></volist></li></yunu:nav>
三级导航
<yunu:nav typeid="1" limit="100"><li><ahref="{$nav.url}">{$nav.title}</a><volistname="nav['child']"id="v"><ul><li><ahref="{$v.url}">{$v.title}</a><dlclass="nav-sub2"><volistname="v['child']"id="vv"><dd><ahref="{$vv.url}"class="v3">{$vv.title}</a></dd></volist></dl></li></ul></volist></li></yunu:nav>
导航高亮的调用方法
<?php $cateparent = 0;?><if condition="$cid"><yunu:catlist cid="$cid" type="parent"><?php $cateparent = $catlist['pid'] != 0 ? $catlist['pid'] : $cateparent ;?></yunu:catlist></if> <?php $navpid = $cateparent ? $cateparent : $cid;?><yunu:nav typeid='1'><li <eq name="$nav['id']" value="$navpid">class="on"</eq>> <i class="arr"></i> <a href="{$nav.url}">{$nav.title}</a> <div class="dropdown-box"><volist name="nav['child']" id="v"> <a href="{$v.url}">{$v.title}</a></volist> </div></li></yunu:nav>
幻灯片标签
| 名称 | 调用代码 |
|---|
| 幻灯片名称 | {$banner.title} |
| 幻灯片主图 | {$banner.pic} |
| 幻灯片副图 | {$banner.fpic} |
| 幻灯片链接 | {$banner.url} |
标签参数
| 参数名 | 名称 | 默认 | 说明 |
|---|
| typeid | 类型 | 1 | 1电脑,2手机,0全部 |
| orderby | 排序 | id,desc | asc正序,desc倒序 |
| limit | 显示数量 | 10 |
|
示范调用
电脑幻灯片调用
<yunu:banner type="1" limit="10" orderby="sort desc"><li><ahref="{$banner.url}"><imgsrc="{$banner.pic}"alt="{$banner.title}"></a></li></yunu:banner>
手机幻灯片调用
<yunu:banner type="2" limit="10" orderby="sort desc"><li><ahref="{$banner.url}"><imgsrc="{$banner.pic}"alt="{$banner.title}"></a></li></yunu:banner>
栏目标签
| 名称 | 调用代码 | 说明 |
|---|
| 栏目名称 | {$catlist.title} |
|
| 栏目副标题 | {$catlist.subtitle} |
|
| 栏目封面图 | {$catlist.pic} |
|
| 栏目链接 | {$catlist.url} |
|
| 上级栏目ID | {$catlist.pid} |
|
| 栏目子栏目 | {$catlist.child} |
|
标签参数
| 参数名 | 名称 | 默认 | 说明 |
|---|
| cid | 栏目id |
| $cid为当前id |
| type | 类型 | son | son-下级栏目 self-同级栏目 top-**栏目(此类型下cid可忽略) parent-当前栏目的**栏目 current-获取cid指定的栏目列表(v2.2.6) |
| limit | 显示数量 | 10 |
|
| flag | 标示 | 1 | 0-不显示外部链接和单页 1-全部 |
示范调用
调用cid指定栏目
<yunu:catlist cid="1,2,3" type="current"><li><ahref="{$catlist.url}">{$catlist.title}</a></li></yunu:catlist>
调用当前栏目的**栏目
<yunu:catlist cid="1" type="parent" limit="100"><li><ahref="{$catlist.url}">{$catlist.title}</a><volistname="catlist['child']"id="v"><ul><li><ahref="{$v.url}">{$v.title}</a></li></ul></volist></li></yunu:catlist>
说明:cid="1"代表后台指定的栏目id
调用循环列表
<yunu:catlist cid="$category['id']" type="parent" limit="20"> <h3><ahref="{$catlist.url}">更多</a><span>{$catlist.title}</span></h3> <ul> <yunu:listcid="$catlist['id']"orderby="sort desc"limit="5"><li><ahref="{$list.url}"><span>{$list.create_time|date='Y-m-d',###}</span>{$list.title}</a></li></yunu:list></ul></yunu:catlist>
说明:通常使用在封面页,需要循环调用多个栏目的场景下
内页栏目三级循环
<yunu:catlist cid="$category['id']" limit="20" type="parent" orderby="sort desc"> <li <ifcondition="$catlist['id'] eq $cid || $catlist['id'] eq $category['pid']">class="on"</if>> <ahref="{$catlist.url}"class="v1"><span>{$catlist.title}</span></a><ifcondition="$catlist.child"><dlclass="snv-index-sub1"><volistname="catlist['child']"id="v"><dd <ifcondition="$v['id'] eq $cid || $v['id'] eq $category['pid']">class="ok"</if>> <ahref="{$v.url}" <ifcondition="$v.child">class="v2"</if>>{$v.title}</a><ifcondition="$v.child"><dlclass="snv-index-sub2"><volistname="v['child']"id="vv"><dd <ifcondition="$vv['id'] eq $cid || $vv['id'] eq $category['pid']">class="ok"</if>> <ahref="{$vv.url}"class="v3">{$vv.title}</a></dd></volist></dl></if></dd></volist></dl></if></li></yunu:catlist>
二级栏目套列表
<yunu:catlist cid="$category['id']" type="parent" limit="200"><h3class=""><ahref="{$catlist.url}">{$catlist.title}</a><em>>></em></h3> <ul><volistname="catlist['child']"id="v"><li><ahref="{$v.url}">{$v.title}</a></li></volist></ul> <ul> <yunu:listcid="$catlist['id']"orderby="sort desc"limit="5"><li><ahref="{$list.url}"><span>{$list.create_time|date='Y-m-d',###}</span>{$list.title}</a></li></yunu:list></ul></yunu:catlist>
单页标签
| 名称 | 调用代码 |
|---|
| 栏目名称 | {$type.title} |
| 栏目副标题 | {$type.subtitle} |
| 栏目封面图 | {$type.pic} |
| 栏目链接 | {$type.url} |
| 栏目子栏目 | {$type.child} |
| 栏目简介 | {$type.desc} |
| 栏目内容 | {$type.content} |
标签参数
| 参数名 | 名称 | 默认 | 说明 |
|---|
| typeid | 栏目id |
| $cid为当前id |
| type | 类型 | parent | parent-当前栏目的**栏目 |
示范调用
调用指定栏目名称及链接
<yunu:type typeid='21' type="parent"> <ahref="{$type.url}">{$type.title}</a></yunu:type>
在详情页调用二级栏目信息
<yunu:type typeid="$parent['id']" type="self"><ahref="{$type.url}">{$type.title}</a></yunu:type>
栏目页调用当前栏目缩略图
<yunu:type typeid="$category['id']"><divclass="banner-sub"style="background-image:url({$type.pic})"></div></yunu:type>
栏目页调用上级栏目缩略图
<yunu:type typeid="$category['id']" type="parent"><divclass="banner-sub"style="background-image:url({$type.pic})"></div></yunu:type>
使用场景
调用单个栏目的简介,正文,链接等信息
列表标签
| 名称 | 调用代码 |
|---|
| 标题 | {$list.title} |
| 副标题 | {$list.ftitle} |
| 缩略图 | {$list.pic} |
| 多图**张 | {$list.content|str2img='1'} |
| 简介截取 | {$list.desc|str2sub=60, true} |
| 内容截取 | {$list.content|str2sub=60, true} |
| 来源 | {$list.source} |
| 作者 | {$list.author} |
| 浏览量 | {$list.click} |
| 创建时间 | {$list.create_time|date='Y-m-d',###} |
| 更新时间 | {$list.update_time|date='Y-m-d',###} |
| 链接 | {$list.url} |
参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| cid | 栏目ID | number | 必填 | 后台非单页模型栏目ID 或者 $cid-当前栏目id |
| titlelen | titlelen | number | 0 | 0-不截取 |
| orderby | 排序 | string | id,desc | sort asc-排序正序 sort desc-排序倒序 create_time asc-创建时间正序 create_time desc-创建时间倒序 update_time asc-更新时间正序 update_time desc-更新时间倒序 click desc-点击量排序 istop desc-推荐优先排序 rand()-随机 |
| keyword | 关键词 | string | 空 | 模糊查询title(标题)字段 |
| limit | 显示数量 | number | 10 | 当设置了pagesize时,该参数无效 |
| pagesize | 分页数 | number | 0 | 配合{$page}使用,生成分页 |
| flag | 标示 | number | 0 | 1-推荐 0-全部 |
| top | 头条 | number | 0 | 0-非头条 1-一级头条 … 9-九级头条 |
| tag | 标签 | string | 空 | 增加list标签筛选条件,可直接输入中文,或使用"$content['tag']"使用当前详情页的 |
| sql | 分类范围 | string | 空 | 例如"131 and 132 and 133"and/or 必须配合field标签组合使用 |
| area | 指定地区 | string | 空 | 指定地区分类ID,获取该地区内容列表 |
| image | 获取带图内容 | number | `` | 默认获取所有,1获取带图内容 |
| pagecss | 分页样式 | string | 1 | 1-带分页样式,0-不带分页样式 |
| time | 时间 | number | 0 | 筛选一定修改时间内的内容,值填写时间戳,比如5天内值为:432000(秒分小时*天) |
调用非当前栏目信息
<yunu:list cid="1" orderby="sort desc" limit="10"><li><ahref="{$list.url}"title="{$list.title}"><divclass="date">{$list.create_time|date='Y-m-d H:i:s',###}</div><divclass="text"><h4>{$list.title}</h4><p><ifcondition="$list['desc']">{$list.desc|str2sub=140, true}<else/>{$list.content|str2sub=140, true}</if></p></div></a></li></yunu:list>
说明:非当前栏目需要指定栏目cid,需在后台栏目管理查看栏目id
调用当前栏目信息
<yunu:list cid="$cid" titlelen="20" limit="10"><li><divclass="text"><h3><yunu:typetypeid="$list['cid']"><ahref="{$type.url}">{$type.title}</a></yunu:type></h3><h4><ahref="{$list.url}"title="{$list.title}">{$list.title}</a></h4></div></li></yunu:list>
调用当前栏目信息含TAG
<yunu:list cid="$cid" titlelen="20" limit="10"><li> <div class="text"> <h3><yunu:type typeid="$list['cid']"><a href="{$type.url}">{$type.title}</a></yunu:type></h3> <h4><a href="{$list.url}" title="{$list.title}">{$list.title}</a></h4> <p>TAG:<yunu:tag title="$list['tag']"><a href="{$tag.url}">{$tag.title}</a></yunu:tag></p> </div> </li></yunu:list>
调用关联信息
<yunu:list cid="$cid" tag="$content['tag']" titlelen="20" limit="10"><li><divclass="text"><h4><ahref="{$list.url}"title="{$list.title}">{$list.title}</a></h4><p><yunu:tagtitle="$list['tag']"><ahref="{$tag.url}">{$tag.title}</a></yunu:tag></p></div></li></yunu:list>
说明:通常用于在详情页根据文章tag调用相关信息
调用含分页的列表信息
<yunu:list cid="$cid" pagesize="6" limit="10"><li><divclass="text"><h3><yunu:typetypeid="$list['cid']"><ahref="{$type.url}">{$type.title}</a></yunu:type></h3><h4><ahref="{$list.url}"title="{$list.title}">{$list.title}</a></h4></div></li></yunu:list><divclass="pages">{$page}</div>
修改分页数量方法:app\index\model\ContentModel.php 中搜索:$pagearr[‘var_link_rows’] = 7;把7改成需要的数字
栏目页标签
| 名称 | 调用代码 |
|---|
| 栏目名称 | {$category.title} |
| 栏目副标题 | {$category.subtitle} |
| 栏目封面图 | {$category.pic} |
| 栏目链接 | {$category.url} |
| 栏目子栏目 | {$category.child} |
| 栏目简介 | {$category.desc} |
| 栏目内容 | {$category.content} |
详情页标签
| 别名 | 调用代码 |
|---|
| 标题 | {$content.title} |
| 副标题 | {$content.ftitle} |
| 缩略图 | {$content.pic} |
| 简介截取 | {$content.desc|str2sub=60, true} |
| 内容带锚文本 | {$content.content|sitelink} |
| 内容不带锚文本 | {$content.content} |
| 内容截取 | {$content.content|str2sub=60, true} |
| 来源 | {$content.source} |
| 作者 | {$content.author} |
| 浏览量 | {$content.click} |
| 创建时间 | {$content.create_time|date='Y-m-d',###} |
| 更新时间 | {$content.update_time|date='Y-m-d',###} |
| 链接 | {$content.url} |
| 上一篇 | {$content.prev} |
| 下一篇 | {$content.next} |
| 上一篇链接 | {$content.prevurl} |
| 上一篇标题 | {$content.prevtitle} |
| 下一篇链接 | {$content.nexturl} |
| 下一篇标题 | {$content.nexttitle} |
| 未经处理的原始标题 | {$content.ys_title} |
| 调用当前分类信息 | {$category.字段名} |
| 调用当前分类上级分类的信息 | {$parent.字段名} |
多图调用**张
<volist name="$content.piclist|str2arr='***'" id="v" key="k"><ifcondition="$k eq 0">< imgsrc="{$v}"></if></volist>
城市分站标签
| 名称 | 调用代码 | 说明 |
|---|
| 标题 | {$area.title} |
|
| 原始标题 | {$area.ys_title} | 只保留城市名称 |
| 副标题 | {$area.stitle} |
|
| 原始副标题 | {$area.ys_stitle} |
|
| 链接 | {$area.url} |
|
| 原始链接 | {$area.ys_url} |
|
参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| pid | 上级id | number | 0 | 设置未指定pid时默认使用pid 0-读取所有**地区 |
| top | 是否推荐 | bool | false | false-全部 true-开启推荐 |
| con | 独立内容 | bool | false | false-全部 true-开启独立内容 |
| url | 二级域名 | bool | false | false-全部 true-开启二级域名 |
| limit | 显示数量 | number | 10 | - |
| type | 只读取当前地区信息 | string | group | group-梯度显示 current-当前地区 level-平级 province-获取当前城市省份 |
| conurl | 生成 | number | 0 | 0-根据当前页面自动生成URL 1-根据首页URL情况生成 |
| topzm | 头字母 | string | 空 | 根据地区首字母筛选地区列表 |
示范调用
分站调用
<yunu:area top="1" con="1" url="1" limit="20" type="group"><ahref="{$area.url}">{$area.title}</a></yunu:area>
top="1"筛选出后台设置为推荐的
con="1"筛选出后台设置为独立内容的
url="1"筛选出后台设置为二级域名的
limit="20"显示20条信息
type="group"显示当前地区及子地区
所有城市调用
<yunu:area pid="0" limit="50" conurl="1"><dl><dt><ahref="{$area.url}">{$area.title}</a></dt><dd ><yunu:areapid="$area['id']"conurl="1"limit="50"><ahref="{$area.url}">{$area.title}</a></yunu:area></dd></dl></yunu:area>
分站只显示地区
<yunu:area type="current">{$area.ys_title}</yunu:area>
主站及分站判断
<if condition="!config('sys.sys_area')">主站<else/><yunu:areatype="current">{$area.ys_title}</yunu:area></if>
友情链接标签
| 名称 | 调用代码 |
|---|
| 名称 | {$link.title} |
| 图片 | {$link.pic} |
| 链接 | {$link.url} |
参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| type | 类型 | number | 1 | 1-首页 2-内页 3-其他 |
| orderby | 排序 | string | id,desc | asc-正序 desc-倒序 |
| limit | 显示数量 | number | 10 | - |
| flag | 标示 | bool | 不限制 | true-有图片 false-无图片 |
示范调用
<yunu:link type="1" limit="35" orderby="sort desc" flag="1" ><ahref="{$link.url}"target="_blank">{$link.title}</a></yunu:link>
自定义参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| name | 标题 | string | 必填 | 自定义块名称 |
| infolen | 内容长度 | number | 0 | 0-不截取 注意:图片或丰富类型自定义块勿使用此属性 |
| textflag | 内容类型 | bool | false | true-输出为img false-输出内容 |
示范调用
<yunu:block name="文字自定义块1" infolen="100" /><yunu:block name="丰富自定义块1" /><yunu:block name="图片自定义块1" textflag="false" /><img class="" src="<yunu:block name="图片自定义块2" />" alt="">
面包屑参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| cid | 栏目ID | number | 必填 | 后台栏目ID 或者 $cid-当前栏目id |
| sname | 末尾链接名称 | string | 空 | - |
| surl | 末尾链接地址 | string | 空 | - |
| delimiter | 分隔符 | string | >> | 设置所有链接之间的间隔符 |
示范调用
<span>您的当前位置:</span><yunu:position cid="$cid" sname="当前页面" surl="javascript:;" delimiter="-" />
表单标签
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| fid | 表单ID | number | 空 | 对应后台的表单ID |
| orderby | 排序 | string | 无 | - |
| top | 推荐 | number | 无 | 0-不推荐 1-推荐 |
| pagesize | 分页 | number | 无 | - |
| limit | 显示数量 | number | 无 | - |
示范调用
<yunu:form fid="1"></yunu:form>
fid="1"获取后台表单ID为1的信息
{$form.contents}为前台显示留言内容标签
TAG标签
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| title | tag值 | string | `` | 可填写单个tag值或多个使用,逗号间隔 可为空,为空获取全站tag属性 |
| limit | 显示数量 | number | 10 | - |
| type | 类型 | number | 1 | 默认获取站内内容tag统计,为2,获取tag管理内的tag信息 |
| orderby | 排序 | string | id DESC | 获取后台tag管理时,控制排序类型,id desc最新排序,click desc点击次数排序 |
字段
| 字段名 | 别名 |
|---|
| {$tag.url} | URL |
| {$tag.title} | 单个tag值 |
| {$tag.num} | tag出现次数 |
| {$title} | tag |
| {$tag.url} | tag页面URL |
| {$tag.seo_title} | tag自定义SEO标题 |
| {$tag.seo_keywords} | tag自定义SEO关键词 |
| {$tag.seo_description} | tag自定义SEO描述 |
按指定TAG调用
<yunu:tag title="测试标签1,测试标签2,测试标签3"> <ahref="{$tag.url}"><span>{$tag.title}[{$tag.num}]</span></a></yunu:tag>
按全部TAG调用
<yunu:tag type="2" limit="10000"> <ahref="{$tag.url}"><span>{$tag.title}[{$tag.num}]</span></a></yunu:tag>
tag_index模板TDK调用示范
<title><ifcondition="isset($tag['seo_title'])">{$tag.seo_title}<else/><ifcondition="$title">{$title}-tag标签列表<else/>tag标签列表</if>-<yunu:configname="site_title"/></if></title><meta name="keywords" content="<if condition="strlen($tag['seo_keywords']) neq 0">{$tag.seo_keywords}<else/><yunu:config name='seo_keywords'/></if>"><meta name="description" content="<if condition="strlen($tag['seo_description']) neq 0">{$tag.seo_description|str2sub=160, true}<else/><yunu:config name='seo_description'/></if>">
tag_index模板列表调用示范
<yunu:list tag="$title" cid="37" limit="24" orderby="sort asc" > <li><ahref="{$list.url}"><divclass="imgauto1"><imgsrc="{$list.pic}"alt="{$list.title}"></div><span>{$list.title}</span></a></li></yunu:list>
筛选标签
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| id | 自定义字段ID | number | 必填 | 模型内自定义字段ID |
| group | 分组 | string | 必填 | ID分组 例如131,132,133 |
| noset | 不限 | bool | true | true-显示"不限" false-不显示"不限" |
| active | 活动 | string | active | 选中状态的class名 |
字段
| 字段名 | 别名 |
|---|
| {$field.url} | 链接 |
| {$field.actice} | 选中状态class名 |
| {$field.name} | 名称 |
示范调用
<yunu:field id="131" group="131,132,133" noset="true" active="active"> <ahref="{$field.url}"class="{$field.active}">{$field.name}</a></yunu:field>
id="131"自定义字段ID为131的信息
group="131,132,133"ID分组为[131,132,133]
noset="true"显示"不限"链接
active="active"活动链接的class名为"active"
长尾词标签
| 名称 | 调用代码 |
|---|
| 长尾词名称 | {$cwkeywords.name} |
| 长尾词链接 | {$cwkeywords.url} |
参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| type | 类型设置 | string | cd | 类型设置 cd(标题+长尾)/bc(词头+标题)/bcd(词头+标题+长尾) 三种模式 |
| limit | 显示数量 | number | - | - |
示范调用
词头+标题
<yunu:cwkeywords type="bc" limit="100"> <ahref="{$cwkeywords.url}">{$cwkeywords.name}</a></yunu:cwkeywords>
标题+词尾
<yunu:cwkeywords type="cd" limit="100"> <ahref="{$cwkeywords.url}">{$cwkeywords.name}</a></yunu:cwkeywords>
词头+标题+词尾
<yunu:cwkeywords type="bcd" limit="100"> <ahref="{$cwkeywords.url}">{$cwkeywords.name}</a></yunu:cwkeywords>
信息标签
| 名称 | 调用代码 |
|---|
| 信息标题 | {$info.title} |
| 信息链接 | {$info.url} |
参数
| 参数名 | 别名 | 类型 | 默认值 | 说明 |
|---|
| conid | 内容ID | number | 必填 | 内容ID |
| type | 类型 | string | 必填 | prev(获取上一个)/next(获取下一个) |
| orderby | 排序条件 | string | id | 排序条件 |
示范调用
<yunu:info conid="$content['id']" type="prev" orderby="id"> 上一篇:<a href="{$info.url}">{$info.title}</a></yunu:info><yunu:infoconid="$content['id']"type="next"orderby="id"> 下一篇:<ahref="{$info.url}">{$info.title}</a></yunu:info>
搜索标签
示范调用
<form action="<yunu:url name='search'/>" method="post"> <inputtype="text"name="key"placeholder="请输入查询的关键字"><buttontype="submit">搜索</button></form>
搜结果页
模板名称:search_index.html
搜索结果标签:{$keyword}
示范调用
<yunu:listorderby="sort desc"keyword="$keyword"><li><ahref="{$list.url}"title="{$list.title}"><divclass="img-center"><imgsrc="<if condition="$list['pic']">{$list.pic}<else/>{$list.content|str2img='1'}</if>" onerror="javascript:this.src='__PUBLIC__/images/nopic.jpg';" alt="{$list.title}"></div><divclass="text"><h4><span>{$list.create_time|date='Y-m-d H:i:s',###}</span>{$list.title} </h4><p><ifcondition="$list['desc']">{$list.desc|str2sub=140, true}<else/>{$list.content|str2sub=140, true}</if>...</p><spanclass="more">了解详情</span></div></a></li></yunu:list>