|
- <view class="container data-v-54d3589c"><block wx:if="{{currentQuestion}}"><view class="question data-v-54d3589c"><text class="question-text data-v-54d3589c">{{currentQuestion.text}}</text><view class="options data-v-54d3589c"><u-radio-group bind:input="__e" vue-id="45983bea-1" value="{{currentAnswer}}" data-event-opts="{{[['^input',[['__set_model',['','currentAnswer','$event',[]]]]]]}}" class="data-v-54d3589c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{currentQuestion.options}}" wx:for-item="option" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('45983bea-2-'+index)+','+('45983bea-1')}}" name="{{option}}" class="data-v-54d3589c" bind:__l="__l" vue-slots="{{['default']}}">{{''+option+''}}</u-radio></block></u-radio-group></view></view></block><view class="buttons data-v-54d3589c"><u-button vue-id="45983bea-3" type="primary" disabled="{{currentIndex===0}}" data-event-opts="{{[['^click',[['prevQuestion']]]]}}" bind:click="__e" class="data-v-54d3589c" bind:__l="__l" vue-slots="{{['default']}}">上一步</u-button><u-button vue-id="45983bea-4" type="primary" disabled="{{currentIndex===$root.g0-1}}" data-event-opts="{{[['^click',[['nextQuestion']]]]}}" bind:click="__e" class="data-v-54d3589c" bind:__l="__l" vue-slots="{{['default']}}">下一步</u-button></view></view>
|