zhongshujie
15 小时以前 d11b7bf0ecbf1662ca96c127beda0581ecfd6853
src/books/toddlerGameImplementation/view/components/chapter005.vue
@@ -190,7 +190,7 @@
                                <span class="c-g"> 答案:{{ item.answer }}</span>
                                <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                    item.userAnswer
                                    }}</span>
                                }}</span>
                                <span class="icon-box-big fl al-c">
                                    <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                        version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -312,7 +312,7 @@
                        <p class="center mr-0"><span class="ls2">2020年中级育婴师考试真题</span></p>
                        <ul class="mr-0" v-for="(item, index) in exampleTwo.unitOne" :key="'exampleTwo' + index">
                            <li>
                               (单选题){{ item.txt }}。
                                (单选题){{ item.txt }}。
                            </li>
                            <li class="inputChoice" v-for="(citem, cindex) in item.option" :key="cindex">
                                <label>
@@ -325,7 +325,7 @@
                                <span class="c-g"> 答案:{{ item.answer }}</span>
                                <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                    item.userAnswer
                                }}</span>
                                    }}</span>
                                <span class="icon-box-big fl al-c">
                                    <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                        version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -643,7 +643,7 @@
                            <span class="c-g"> 答案:{{ item.answer }}</span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                item.userAnswer
                                }}</span>
                            }}</span>
                            <span class="icon-box-big fl al-c">
                                <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                    version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -692,7 +692,7 @@
                            <span class="c-g"> 答案:{{ item.answer }}</span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                item.userAnswer
                                }}</span>
                            }}</span>
                            <span class="icon-box-big fl al-c">
                                <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                    version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -724,7 +724,7 @@
                        </li>
                        <li v-if="unitQuestionOne.isShowAnswer" class="event-header-text-bc pd-5 fl jc-sa">
                            <span class="c-g"> 答案:<span v-for="(answer, dindex) in item.answer" :key="dindex">{{ answer
                            }}、</span></span>
                                    }}、</span></span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:<span
                                    v-for="(userAnswer, eindex) in item.userAnswer" :key="eindex">{{
                                        userAnswer }}、</span></span>
@@ -746,7 +746,7 @@
                            </span>
                        </li>
                    </ul>
                    <ul v-for="(item, index) in unitQuestionOne.unitOne.slice(2, 3)" :key="'unitQuestionOne' + index">
                    <ul v-for="(item, index) in unitQuestionOne.unitOne.slice(2, 3)" :key="'unitQuestionOne1' + index">
                        <li>
                            {{ index + 5 }}.(单选){{ item.txt }}
                        </li>
@@ -761,7 +761,7 @@
                            <span class="c-g"> 答案:{{ item.answer }}</span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                item.userAnswer
                                }}</span>
                            }}</span>
                            <span class="icon-box-big fl al-c">
                                <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                    version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -1116,7 +1116,7 @@
                            <span class="c-g"> 答案:{{ item.answer }}</span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                item.userAnswer
                                }}</span>
                            }}</span>
                            <span class="icon-box-big fl al-c">
                                <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                    version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -1390,7 +1390,7 @@
                                <span class="c-g"> 答案:{{ item.answer }}</span>
                                <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                    item.userAnswer
                                    }}</span>
                                }}</span>
                                <span class="icon-box-big fl al-c">
                                    <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                        version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -1537,7 +1537,7 @@
                            <span class="c-g"> 答案:{{ item.answer }}</span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:{{
                                item.userAnswer
                                }}</span>
                            }}</span>
                            <span class="icon-box-big fl al-c">
                                <svg v-if="item.isRight" t="1716986419862" class="icon" viewBox="0 0 1820 1024"
                                    version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18767"
@@ -1569,7 +1569,7 @@
                        </li>
                        <li v-if="unitQuestionThree.isShowAnswer" class="event-header-text-bc pd-5 fl jc-sa">
                            <span class="c-g"> 答案:<span v-for="(answer, dindex) in item.answer" :key="dindex">{{ answer
                            }}、</span></span>
                                    }}、</span></span>
                            <span :class="{ 'c-g': item.isRight, 'c-r': item.isRight == false }">您的答案:<span
                                    v-for="(userAnswer, eindex) in item.userAnswer" :key="eindex">{{
                                        userAnswer }}、</span></span>
@@ -1728,9 +1728,9 @@
            </div>
        </div>
        <preView :isClear="dialogVisible" :md5="p_md5" :pdfTitle="somePdfTitleValue" ref="pdfDialogRef"></preView>
        <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor"
            :cardList="interfaceQuestion[questionNum]" v-if="interfaceQuestion" :chapter="3" :page="questionNum"
            :questionTitle="questionTitleMain" ref="dialogRef">
        <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList"
            v-if="interfaceQuestion" :chapter="3" :page="questionNum" :questionTitle="questionTitleMain"
            ref="dialogRef">
        </dialogExaminations>
    </div>
</template>
@@ -1764,11 +1764,11 @@
            chapter001: {
                pdfMd5: {
                    1: {
                        md5: "1ce045d2c353c764db4dad0b78412f99",
                        md5: "637686d0f0daef38f12e9e6b27389008",
                        name: "模块五 岗位进阶训练",
                    },
                    2: {
                        md5: "5e32b18c5368c3a429719e5e7d990abe",
                        md5: "14c9474bcc2651dc4044302f944f5067",
                        name: "模块五 实训工作任务",
                    },
                },
@@ -1836,6 +1836,7 @@
            themeColor: "#6dcff6",
            questionNum: 0,
            questionTitleMain: "",
            cardArrayList: [],
            // 题目
            collectImg: require("../../assets/images/icon/heart.png"),
            collectCheck: require("../../assets/images/icon/heart-check.png"),
@@ -2387,6 +2388,17 @@
            },
        }
    },
    watch: {
        interfaceQuestion: {
            handler(newValue) {
                if (newValue[this.questionNum] != undefined) {
                    this.cardArrayList = newValue[this.questionNum];
                }
            },
            deep: true,
            immediate: true
        },
    },
    async mounted() {
        const bookQuestion = localStorage.getItem("toddleGame-book-chapter05-tableData");
        if (bookQuestion) {
@@ -2728,6 +2740,9 @@
            if (num) {
                this.questionNum = this.chapter001.question[num].questionNum;
                this.questionTitleMain = this.chapter001.question[num].questionTitleMain;
                                if (this.interfaceQuestion && this.interfaceQuestion[this.questionNum] != undefined) {
                    this.cardArrayList = this.interfaceQuestion[this.questionNum];
                }
                this.$refs.dialogRef.openDialogQuestion();
            }
        },