因为迅睿XUNRUICMS程序中的{$key}初始值为0。所以隔两行加style代码如下:

{if ($key+1)%2==0} style=" margin-right:0"{else}{/if}