|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
|
|
|
mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
|
|
|
- <view class="ezy-result-page">
|
|
|
+ <view class="ezy-result-page" :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
|
|
|
<view class="icon-title-navBar-box">
|
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
|
<view class="nav-bar-title">成绩</view>
|
|
@@ -66,6 +66,7 @@
|
|
|
import {
|
|
|
useQuestionTools
|
|
|
} from "@/components/question/useQuestionTools.js";
|
|
|
+ import cacheManager from "@/utils/cacheManager";
|
|
|
|
|
|
const {
|
|
|
getLetterByIndex
|
|
@@ -79,6 +80,10 @@
|
|
|
list: {
|
|
|
type: Array,
|
|
|
},
|
|
|
+ cardId: {
|
|
|
+ type: [String,Number],
|
|
|
+ default: 1
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
const emits = defineEmits(['back'])
|
|
@@ -142,9 +147,23 @@
|
|
|
return item.reply
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ function courseBjFun() {
|
|
|
+ const cardId = Number(props.cardId);
|
|
|
+ switch (cardId) {
|
|
|
+ case 1:
|
|
|
+ return 'static/images/course/couse-shuxue-bj.png'
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ return 'static/images/course/course-yingyu-bj.png'
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
defineExpose({
|
|
|
showPopup,
|
|
|
- closePopup
|
|
|
+ closePopup
|
|
|
})
|
|
|
</script>
|