You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.2 KiB
23 lines
1.2 KiB
<view class="question">
|
|
<view class="index hint"><text class="gap">第{{data.q_position}}题</text><text class="ques-score">{{data.question_score}}分</text></view>
|
|
<rich-md my-class="title" nodes="{{data.question_title}}"/>
|
|
<view wx:for="{{data.multi_count}}" class="input-wrap">
|
|
<text class="hint">第{{index+1}}空</text>
|
|
<input class="null-input" disabled="{{user_exercise_status==1 || user_exercise_status==4}}"
|
|
placeholder="输入第{{index+1}}空的答案"
|
|
data-question_id="{{data.question_id}}"
|
|
data-exercise_choice_id="{{index+1}}"
|
|
value="{{data.user_answer[index].answer_text||''}}"
|
|
bindblur="answer_null_question">
|
|
</input>
|
|
</view>
|
|
<view class="outcome" wx:if="{{data.user_score}}">
|
|
得分:<text class="score-num">{{data.user_score}}</text><text class="gap">/{{data.question_score}}</text>
|
|
</view>
|
|
<view wx:if="{{data.standard_answer}}" class="outcome">
|
|
<view wx:for="{{data.standard_answer}}" wx:for-item="answer" class="mg">
|
|
<text>第{{answer.choice_id}}空答案:</text>
|
|
<text class="stand-answer">{{answer.answer_text}}</text>
|
|
</view>
|
|
</view>
|
|
</view> |