使用场景
迅睿模版制作的过程中,很多时候需要根据参数显示不同的效果。
代码示例
{if $get.zmttype==1}
{template "调用指定的"}
{else if $get.zmttype==2}
{template "调用指定的"}
{else}
{template "调用默认的"}
{/if}这样就可以实现迅睿模版的不同参数调用不同模版了。
迅睿模版制作的过程中,很多时候需要根据参数显示不同的效果。
迅睿模版制作的过程中,很多时候需要根据参数显示不同的效果。
{if $get.zmttype==1}
{template "调用指定的"}
{else if $get.zmttype==2}
{template "调用指定的"}
{else}
{template "调用默认的"}
{/if}这样就可以实现迅睿模版的不同参数调用不同模版了。