国产亚洲欧美人成在线,免费视频爱爱太爽了无码,日本免费一区二区三区高清视频 ,国产真实伦对白精彩视频

歡迎您光臨深圳塔燈網(wǎng)絡(luò)科技有限公司!
電話圖標(biāo) 余先生:13699882642

易優(yōu)cms(eyoucms)uichannel 欄目列表可視化標(biāo)簽

發(fā)表日期:2018-12 文章編輯:小燈 瀏覽次數(shù):3431

【基礎(chǔ)用法】
名稱:uichannel
功能:文檔列表編輯,比uitext、uihtml、uiupload標(biāo)簽多了一個typeid屬性,使用時結(jié)合html一起才能完成可視化布局,只針對具有可視化功能的模板。
語法:
<div class="eyou-edit" e-id="文件模板里唯一的數(shù)字ID" e-page='文件模板名' e-type="channel">
{eyou:uichannel typeid='欄目ID' e-id='必須與上面的數(shù)字ID一致' e-page='必須與上面的文件模板名一致' id='field'}
這里嵌套模板標(biāo)簽代碼
{/eyou:uichannel}
</div>
參數(shù):
typeid='' 欄目ID
e-id='' 每個模板文件里唯一的數(shù)字ID,必須與uihtml標(biāo)簽外層的html元素標(biāo)簽e-id保持一致
e-page='' 頁面分組,假設(shè)模板文件是index.htm,那么e-page的值是index
id='' 可以任意指定循環(huán)里的變量名替代field,假設(shè)id='field1',模板調(diào)用如:{$field.value} 變成 {$field1.value}
底層字段:
【更多示例】
-------------------------------示例1--------------------------------
描述:在模板文件index.htm中調(diào)用uichannel標(biāo)簽,實現(xiàn)指定欄目下的欄目列表可視化切換的效果。
<!DOCTYPE html>
<html>
<head>
<title>EyouCms企業(yè)建站系統(tǒng)</title>
</head>
<body>
<div>
<div class="eyou-edit" e-id="600" e-page='index' e-type="channel">
<!-- uichannel可視化標(biāo)簽調(diào)用 start -->
{eyou:uichannel typeid='2' e-id='600' e-page='index' id='field'}
<!-- 顯示欄目 start -->
{eyou:type type='self' empty='欄目不存在時,顯示這里的文案'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:type}
<!-- 顯示欄目 end -->
<!-- 顯示欄目的下級欄目列表 start -->
{eyou:channel type='son' row='10'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:channel}
<!-- 顯示欄目的下級欄目列表 end -->
{/eyou:uichannel}
<!-- uichannel可視化標(biāo)簽調(diào)用 end -->
</div>
</div>
<!-- 可視化模板必須引入的ui標(biāo)簽 start -->
{eyou:ui open='off' /}
<!-- 可視化模板必須引入的ui標(biāo)簽 end -->
</body>
</html>
-------------------------------示例2--------------------------------
描述:在模板文件lists_article.htm中調(diào)用uichannel標(biāo)簽,實現(xiàn)指定欄目下的欄目列表可視化切換的效果。
<!DOCTYPE html>
<html>
<head>
<title>EyouCms企業(yè)建站系統(tǒng)</title>
</head>
<body>
<div>
<div class="eyou-edit" e-id="600" e-page='lists_article' e-type="channel">
<!-- uichannel可視化標(biāo)簽調(diào)用 start -->
{eyou:uichannel typeid='2' e-id='600' e-page='lists_article' id='field'}
<!-- 顯示欄目 start -->
{eyou:type type='self' empty='欄目不存在時,顯示這里的文案'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:type}
<!-- 顯示欄目 end -->
<!-- 顯示欄目的下級欄目列表 start -->
{eyou:channel type='son' row='10'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:channel}
<!-- 顯示欄目的下級欄目列表 end -->
{/eyou:uichannel}
<!-- uichannel可視化標(biāo)簽調(diào)用 end -->
</div>
</div>
<!-- 可視化模板必須引入的ui標(biāo)簽 start -->
{eyou:ui open='off' /}
<!-- 可視化模板必須引入的ui標(biāo)簽 end -->
</body>
</html>
-------------------------------示例3--------------------------------
描述:在模板文件index.htm中,多處調(diào)用uichannel標(biāo)簽的寫法。
<!DOCTYPE html>
<html>
<head>
<title>EyouCms企業(yè)建站系統(tǒng)</title>
</head>
<body>
<div>
<!-- 第一次調(diào)用uichannel標(biāo)簽 start -->
<div class="eyou-edit" e-id="600" e-page='index' e-type="channel">
<!-- uichannel可視化標(biāo)簽調(diào)用 start -->
{eyou:uichannel typeid='2' e-id='600' e-page='index' id='field'}
<!-- 顯示欄目 start -->
{eyou:type type='self' empty='欄目不存在時,顯示這里的文案'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:type}
<!-- 顯示欄目 end -->
<!-- 顯示欄目的下級欄目列表 start -->
{eyou:channel type='son' row='10'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:channel}
<!-- 顯示欄目的下級欄目列表 end -->
{/eyou:uichannel}
<!-- uichannel可視化標(biāo)簽調(diào)用 end -->
</div>
<!-- 第一次調(diào)用uichannel標(biāo)簽 end -->
<!-- 第二次調(diào)用uichannel標(biāo)簽 start -->
<div class="eyou-edit" e-id="601" e-page='index' e-type="channel">
<!-- uichannel可視化標(biāo)簽調(diào)用 start -->
{eyou:uichannel e-id='601' e-page='index' id='field'}
<!-- 顯示欄目 start -->
{eyou:type type='self' empty='欄目不存在時,顯示這里的文案'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:type}
<!-- 顯示欄目 end -->
<!-- 顯示欄目的下級欄目列表 start -->
{eyou:channel type='son' row='10'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:channel}
<!-- 顯示欄目的下級欄目列表 end -->
{/eyou:uichannel}
<!-- uichannel可視化標(biāo)簽調(diào)用 end -->
</div>
<!-- 第二次調(diào)用uichannel標(biāo)簽 end -->
</div>
<!-- 可視化模板必須引入的ui標(biāo)簽 start -->
{eyou:ui open='off' /}
<!-- 可視化模板必須引入的ui標(biāo)簽 end -->
</body>
</html>
-------------------------------示例4--------------------------------
描述:在模板文件index.htm中,多處調(diào)用uichannel標(biāo)簽的寫法,只在html最外層元素指定一次e-page屬性值。
<!DOCTYPE html>
<html>
<head>
<title>EyouCms企業(yè)建站系統(tǒng)</title>
</head>
<body>
<div e-page='index'> <!-- 最外層指定e-page屬性值,里面html元素<a>可以不再指定e-page屬性值 -->
<!-- 第一次調(diào)用uichannel標(biāo)簽 start -->
<div class="eyou-edit" e-id="600" e-type="channel">
<!-- uichannel可視化標(biāo)簽調(diào)用 start -->
{eyou:uichannel typeid='2' e-id='600' e-page='index' id='field'}
<!-- 顯示欄目 start -->
{eyou:type type='self' empty='欄目不存在時,顯示這里的文案'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:type}
<!-- 顯示欄目 end -->
<!-- 顯示欄目的下級欄目列表 start -->
{eyou:channel type='son' row='10'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:channel}
<!-- 顯示欄目的下級欄目列表 end -->
{/eyou:uichannel}
<!-- uichannel可視化標(biāo)簽調(diào)用 end -->
</div>
<!-- 第一次調(diào)用uichannel標(biāo)簽 end -->
<!-- 第二次調(diào)用uichannel標(biāo)簽 start -->
<div class="eyou-edit" e-id="601" e-type="channel">
<!-- uichannel可視化標(biāo)簽調(diào)用 start -->
{eyou:uichannel e-id='601' e-page='index' id='field'}
<!-- 顯示欄目 start -->
{eyou:type type='self' empty='欄目不存在時,顯示這里的文案'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:type}
<!-- 顯示欄目 end -->
<!-- 顯示欄目的下級欄目列表 start -->
{eyou:channel type='son' row='10'}
<a href="{$field.typeurl}" title="{$field.typename}">{$field.typename}</a>
{/eyou:channel}
<!-- 顯示欄目的下級欄目列表 end -->
{/eyou:uichannel}
<!-- uichannel可視化標(biāo)簽調(diào)用 end -->
</div>
<!-- 第二次調(diào)用uichannel標(biāo)簽 end -->
</div>
<!-- 可視化模板必須引入的ui標(biāo)簽 start -->
{eyou:ui open='off' /}
<!-- 可視化模板必須引入的ui標(biāo)簽 end -->
</body>
</html>

本頁內(nèi)容由塔燈網(wǎng)絡(luò)科技有限公司通過網(wǎng)絡(luò)收集編輯所得,所有資料僅供用戶參考了本站不擁有所有權(quán),如您認(rèn)為本網(wǎng)頁中由涉嫌抄襲的內(nèi)容,請及時與我們聯(lián)系,并提供相關(guān)證據(jù),工作人員會在5工作日內(nèi)聯(lián)系您,一經(jīng)查實,本站立刻刪除侵權(quán)內(nèi)容。本文鏈接:http://m.jstctz.cn/10899.html
相關(guān)cms文章
 八年  行業(yè)經(jīng)驗

多一份參考,總有益處

聯(lián)系深圳網(wǎng)站公司塔燈網(wǎng)絡(luò),免費獲得網(wǎng)站建設(shè)方案及報價

咨詢相關(guān)問題或預(yù)約面談,可以通過以下方式與我們聯(lián)系

業(yè)務(wù)熱線:余經(jīng)理:13699882642

Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.