1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <!--pages/mistakes/mistakes.wxml-->
- <view class="container">
- <!-- 标题 -->
- <tarbar id="tarbar" />
- <!-- 内容 -->
- <view class="content">
- <scroll-view scroll-y="true" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true">
- <view class="recommend">
- <view class="answer-number">
- <view class="gross">
- <text>答题总量</text>
- <text>{{exponentData.sumAnswer}}</text>
- </view>
- <view class="error">
- <text>错误</text>
- <text>{{exponentData.sumWrongAnswer}}</text>
- </view>
- <view class="correct">
- <text>准确率</text>
- <text>{{exponentData.accuracy}}</text>
- </view>
- </view>
- <view class="course">
- <view class="course-head">
- <view class="subject {{courseIndex == index ? 'select' : ''}}" wx:for="{{course}}" wx:key="{{index}}" bindtap="tab" data-index="{{index}}">
- {{item.title}}
- </view>
- </view>
- <view class="course-content">
- <view class="error answer-content" wx:for="{{mistakesData}}" wx:key="index" >
- <image class="questions" mode="widthFix" src="{{item.questions.img}}"></image>
- <view class="answer" >
- <image class="analysis-box" src="{{item.wrongQuestionsAnalysis.analysis}}" mode="widthFix" style="width: 660rpx; " hidden="{{!course[courseIndex].flag[index]}}"></image>
- <view class="answer-txt">
- <text>你的答案:{{item.userQuestionResult.answer === "0" ? '不知道' : item.userQuestionResult.answer}}</text>
- <text>{{item.questions.answer == item.userQuestionResult.answer ? "" : "(错误)"}}</text>
- </view>
- <view class="analysis" data-flag="{{course[courseIndex].flag[index]}}" data-index="{{index}}" bindtap="particulars">
- <image class="analysis-img" src="../image/analysis_bottom.png" wx:if="{{!course[courseIndex].flag[index]}}"></image>
- <image class="analysis-img-top" src="../image/analysis_top.png" wx:else></image>
- </view>
- </view>
- </view>
- <view wx:if="{{mistakesData.length == 0}}" class="noerr">
- 你真棒没有错题!
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- <view hidden="{{flag}}">
- <dialog bindmyevent="jurisdiction"/>
- </view>
- <view class="mistakes-dialog" hidden='{{switchs}}'>
- <image class="error-questions" src="{{errorData.img}}" mode="widthFix"></image>
- <scroll-view scroll-y class='mistakes-dialog-scroll'>
- <image class="error-analysis" src="{{errorData.analysis}}" mode="widthFix"></image>
- </scroll-view>
- <image class="close" src="../image/close.png" bindtap='closeDialog'></image>
- </view>
- </view>
|