1.radio选中 ~~~ <input type="radio" name="sex" value="1" title="男" {if condition="$ulist.sex==1"} checked="checked"{/if}> <input type="radio" name="sex" value="2" title="女" {if condition="$ulist.sex==2"} checked="checked"{/if}> <input type="radio" name="sex" value="0" title="变种人" {if condition="$ulist.sex==0"} checked="checked"{/if}> ~~~ 2.select中option选中 ~~~ <select name="groupid"> <option value="0"></option> {foreach name="glist" item="vo"} <option value="{$vo.id}" {if condition="$ulist.groupid==$vo['id']"} selected="selected"{/if}>{$vo.title}</option> {/foreach} </select> ~~~