yangzailu

导航

参数判断

<div style="width:820px;margin-left:178px;padding:5px 25px;" id="acontent">
            <if condition="$nid eq 'gonggao' OR $nid eq 'mtbd'">
                <if condition="$nid eq 'gonggao'">
                    <img src="/{:APP_PATH}Public/img/help/ptgg.png">
                <else/>
                    <img src="/{:APP_PATH}Public/img/help/hyxw.png">
                </if>
                <volist name="re" id="vo">
                    <ul style="border-bottom:1px dotted #999; line-height:41px;width:90%;">
                        <li>
                            <a style="color:#666666;">{$vo['name']}</a>
                        </li>
                    </ul>
                </volist>
                <div>{$page}</div>
             </if>
             <if condition="$nid eq 'qywh' OR $nid eq 'yuanli' OR $nid eq 'gywm' OR $nid eq 'partner'  OR $nid eq 'lianxi'">
                <if condition="$nid eq 'qywh'">
                    <img src="/{:APP_PATH}Public/img/help/qyjz.png">
                </if>
                <if condition="$nid eq 'yuanli'">
                    <img src="/{:APP_PATH}Public/img/help/gszz.png">
                </if>
                <if condition="$nid eq 'gywm'">
                    <img src="/{:APP_PATH}Public/img/help/zxns.png">
                </if>
                <if condition="$nid eq 'partner'">
                    <img src="/{:APP_PATH}Public/img/help/hzhb.png">
                </if>
                <if condition="$nid eq 'lianxi'" >
                    <img src="/{:APP_PATH}Public/img/help/lxwm.png">
                </if>
                {$content}
               </if>
        </div>

 

posted on 2016-09-05 14:17  飞离地平线  阅读(350)  评论(0编辑  收藏  举报