index.wxml
<radio-group bindchange="radioChange"> <label wx:for="{{items}}"> <radio value="{{item.name}}" checked="{{item.checked}}" />{{item.value}} </label> </radio-group>
index.js
Page({ data: { items: [{ name: 'man', value: '男', checked: 'true' }, { name: 'women', value: '女' } ] }, radioChange: function (e) { console.log('radio发生change事件,携带value值为:', e.detail.value) } }