网友真实露脸自拍10p,成人国产精品秘?久久久按摩,国产精品久久久久久无码不卡,成人免费区一区二区三区

taglib_arctype 指定欄目

[基礎用法]

標簽:taglib_arctype

備注:用 taglib_url 也可以正常輸出

描述:獲取指定的欄目信息(找工作、找人才、找公司)
用法:
{eyou:weapptaglib name="('Recruits', 'taglib_arctype', ['type'=>'zhaogongzuo'])" id='field'}
<a href="{$field.typeurl}">{$field.typename}</a>
{/eyou:weapptaglib }

 屬性:

type='' 指定具體欄目標識

-----type='zhaogongzuo' 找工作的欄目標識

-----type='zhaorencai' 找人才的欄目標識

-----type='zhaogongsi' 找公司的欄目標識

id='' 可以任意指定循環里的變量名替代field,假設id='field1',模板調用如:{$field.typename} 變成 {$field1.typename}
涉及標字段:
請查閱易優數據字典,找到表名 ey_arctype

【更多示例】
-------------------------------示例1--------------------------------
描述:輸出找工作的欄目名稱鏈接
{eyou:weapptaglib name="('Recruits', 'taglib_arctype', ['type'=>'zhaogongzuo'])" id='field'}
<li> <a href="{$field.typeurl}">{$field.typename}</a> </li>
{/eyou:weapptaglib}

-------------------------------示例2--------------------------------

描述:輸出找人才的欄目名稱鏈接
{eyou:weapptaglib name="('Recruits', 'taglib_arctype', ['type'=>'zhaorencai'])" id='field'}
<li> <a href="{$field.typeurl}">{$field.typename}</a> </li>
{/eyou:weapptaglib}

-------------------------------示例3--------------------------------

描述:輸出找公司的欄目名稱鏈接
{eyou:weapptaglib name="('Recruits', 'taglib_arctype', ['type'=>'zhaogongsi'])" id='field'}
<li> <a href="{$field.typeurl}">{$field.typename}</a> </li>
{/eyou:weapptaglib}


文檔最后更新時間:2023-11-23 09:34:07

文檔
目錄

深色
模式

切換
寬度