<input type="radio" value="1" name="radiogender-man" />
<label>女</label>
<input type="radio" value="2" name="radiogender-woman" />
不行哇,现在这样是错的,要改成
<input type="radio" value="1" name="radiogender" />
<label>女</label>
<input type="radio" value="2" name="radiogender" />
<input type="radio" value="1" name="radiogender" />
<label>女</label>
<input type="radio" value="2" name="radiogender" />
value取值要相同