<template>

  <div class="result-box">

    <view class="score">
      {{ data.userScore }}<span>分</span>
    </view>

    <view>
      {{ data.thanks }}
    </view>
	
	<view v-if="data.hasSaq && data.state==1 " style="color: #ff8000; font-weight: 700">
	     该试卷还有主观题，主观题分数将在阅卷后累计到总成绩，请知晓！
	</view>

  </div>

</template>

<script>

export default {
  name: 'ResultThanksScore',
  props: {
    data: Object
  },
  data() {
    return {
    }
  },
  created() {

  },
  methods: {

  }
}
</script>

<style scoped>

.result-box{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 50px;
  min-height: 50vh;
}

.result-box .score{
  font-size: 60px;
  font-weight: 700;
  color: #0a84ff
}

.result-box .score span{
  font-size: 20px
}

/deep/
.main-bg{
  background: transparent !important;
}

</style>
