提交
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
<view class="p14 wp100">
|
||||
<GradesChart :titleName="rightPencentDesc" :actualValue="Number(rightPencent)" />
|
||||
<view class="top_box flex jc-c" style="flex-direction: column;">
|
||||
<view class="wp100 text-center" >
|
||||
<text>太棒了!正确率很高了!</text>
|
||||
<view class="wp100 text-center" style="margin-top: -80px;">
|
||||
<text v-if="Number(rightPencent)>=90">太棒了!正确率很高了!</text>
|
||||
<text v-else>继续努力吧,正确率有点低~</text>
|
||||
<view class="flex ai-c jc-c mt10">
|
||||
<view class="text-center wp50" @tap="toQuestionBank">
|
||||
<view>{{wrongList.length}}/{{allDoNum}}</view>
|
||||
@@ -25,7 +26,7 @@
|
||||
<view class="flex ai-c jc-sb">
|
||||
<view>
|
||||
<text class="fs18 cor-000 fw600">累计练题</text>
|
||||
<text class="fs14 cor-666 ml10">33题</text>
|
||||
<text class="fs14 cor-666 ml10">{{allRightList.length+allWrongList.length}}题</text>
|
||||
</view>
|
||||
<text class="fs14 cor-666">未做题{{getNotDoNum}}题</text>
|
||||
</view>
|
||||
@@ -80,7 +81,7 @@
|
||||
}
|
||||
if(op.wrongList){
|
||||
this.wrongList=JSON.parse(op.wrongList)
|
||||
this.rightPencent=((this.allDoNum-this.wrongList.length)/this.allDoNum).toFixed(2)
|
||||
this.rightPencent=this.allDoNum>0?((this.allDoNum-this.wrongList.length)/this.allDoNum).toFixed(2):0
|
||||
this.rightPencentDesc=(this.rightPencent*100).toFixed(0)+'%'
|
||||
}
|
||||
if(op.subject){
|
||||
|
||||
Reference in New Issue
Block a user