123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!--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 select">
- 语文
- </view>
- <view class="subject">
- 数学
- </view>
- </view>
- <view class="course-content">
- <view class="error answer-content" wx:for="{{mistakesData}}" wx:key="index">
- <image class="questions" src="{{item.questions.img}}"></image>
- <view class="answer {{flag[index] ? 'unfold' : ''}}" animation="{{flag[index]? animationData : ''}}">
- <view class="answer-txt">
- <text>你的答案:{{item.userQuestionResult.answer === "" ? '不知道' : item.userQuestionResult.answer}}</text>
- <text>{{item.questions.answer == item.userQuestionResult.answer ? "" : "(错误)"}}</text>
- </view>
- <view class="analysis" bindtap="particulars" data-flag="{{flag[index]}}" data-index="{{index}}">
- <image class="analysis-img" src="../image/analysis_bottom.png" wx:if="{{!(flag[index])}}"></image>
- <image class="analysis-img-top" src="../image/analysis_top.png" wx:else></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
|