易优CMS判断后台输出栏目图片-模板代码使用说明

 

{eyou:assign name='toplitpic' value='$eyou.field.typeid|gettoptype=###,"litpic"'}
 {eyou:empty name='$toplitpic'}
   <img src="{eyou:global name='web_templets_pc' /}/skin/img/banner.jpg"  height="134" border=0 >
 {eyou:else /}
   <img src="{$eyou.field.typeid|gettoptype=###,'litpic'}"  height="134" border=0 >
{/eyou:empty}

 

posted @ 2024-07-10 16:51  黄文Rex  阅读(80)  评论(0)    收藏  举报