| | |
| | | </view> |
| | | </view> |
| | | <view class="questionA"> |
| | | <wux-radio-group name="a" data-index="{{index}}" value="{{ item.value || [] }}" bind:change="onChange1" wx:if="{{item.type == 'radio'}}"> |
| | | <wux-radio color="positive" title="{{item}}" value="{{item}}" wx:for="{{item.options}}" wx:key="{{index}}"> |
| | | <wux-radio-group name="a" data-index="{{index}}" data-questionId="{{item.questionId}}" value="{{ item.value || [] }}" bind:change="onChange1" wx:if="{{item.type == 'radio'}}"> |
| | | <wux-radio color="positive" title="{{item}}" data-index="{{index}}" value="{{item}}" wx:for="{{item.options}}" wx:key="{{index}}"> |
| | | {{item}} |
| | | </wux-radio> |
| | | </wux-radio-group> |
| | | |
| | | <wux-checkbox-group name="a" data-index="{{index}}" value="{{ item.value || [] }}" bind:change="onChange" wx:if="{{item.type == 'checkbox'}}"> |
| | | <wux-checkbox-group name="a" data-index="{{index}}" data-questionId="{{item.questionId}}" value="{{ item.value || [] }}" bind:change="onChange" wx:if="{{item.type == 'checkbox'}}"> |
| | | <wux-checkbox color="positive" title="{{item}}" value="{{item}}" wx:for="{{item.options}}" wx:key="{{index}}"> |
| | | {{item}} |
| | | </wux-checkbox> |