|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
|
|
<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
|
|
mask-background-color="rgba(255, 255, 255, 0.6);">
|
|
mask-background-color="rgba(255, 255, 255, 0.6);">
|
|
- <view class="exam-score-dialog" :class="getDialogClass">
|
|
|
|
|
|
+ <view class="exam-score-dialog" :class="getDialogClass()">
|
|
<view class="score-content-box">
|
|
<view class="score-content-box">
|
|
<view>答对:<text class="text-red">{{data.right}}</text>题 答错:<text class="text-red">{{data.wrong}}</text>题</view>
|
|
<view>答对:<text class="text-red">{{data.right}}</text>题 答错:<text class="text-red">{{data.wrong}}</text>题</view>
|
|
<view class="text-score" v-if="!studyFlag">{{data.jifen}}</view>
|
|
<view class="text-score" v-if="!studyFlag">{{data.jifen}}</view>
|
|
@@ -56,6 +56,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
function getDialogClass(){
|
|
function getDialogClass(){
|
|
|
|
+ console.log('333',props.studyFlag === 0)
|
|
if(props.studyFlag === 0){
|
|
if(props.studyFlag === 0){
|
|
return 'score-study-dialog';
|
|
return 'score-study-dialog';
|
|
}else{
|
|
}else{
|