questionResult.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view class="container">
  2. <van-image width="750rpx" height="1150rpx" src="/images/ic_exam_bg.png" class="exam-bg"/>
  3. <van-image width="690rpx" height="90vh" src="/images/ic_exam_page.png" class="page-bg"/>
  4. <view class="content">
  5. <edu-mark text="我的答题" custom-class="title"/>
  6. <view class="card-container">
  7. <view class="card" wx:for="{{questions}}" wx:key="index">
  8. <view class="no">{{index + 1}}</view>
  9. <view class="card-content">
  10. <view class="question">
  11. {{item.stem}}
  12. </view>
  13. <view class="answer" wx:if="{{!item.isQAQ}}">
  14. <view class="answer-key">问题选项:</view>
  15. <view class="space">
  16. <view class="answer-ok" wx:for="{{item.allOptions}}" wx:key="index">
  17. {{item.opt}}. {{item.answer}}
  18. </view>
  19. </view>
  20. </view>
  21. <view class="answer">
  22. <view class="answer-key">我的回答:</view>
  23. <view class="answer-my" wx:if="{{item.myAnswer}}">
  24. {{item.myAnswer}}
  25. </view>
  26. <view class="space" wx:else>
  27. <view class="answer-my" wx:for="{{item.myAnswers}}" wx:key="index">
  28. {{item.opt}}. {{item.answer}}
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>