From c518fbd80639dfeebc74d128c7ee1b52a3341595 Mon Sep 17 00:00:00 2001 From: user1 <10901603+no-distractions1@user.noreply.gitee.com> Date: 星期二, 02 七月 2024 09:30:20 +0800 Subject: [PATCH] 艺术戏剧(整本) --- src/books/English/view/components/chapter001.vue | 835 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 632 insertions(+), 203 deletions(-) diff --git a/src/books/English/view/components/chapter001.vue b/src/books/English/view/components/chapter001.vue index db5f535..132d2eb 100644 --- a/src/books/English/view/components/chapter001.vue +++ b/src/books/English/view/components/chapter001.vue @@ -282,13 +282,14 @@ <span class="chapter-left-bc">MODULE 1</span> <span class="chapter-right-bc fw-bl chapter-right-cl">CHINA,A WONDERLAND</span> </li> - </ul>a + </ul> + a <div class="padding-102"> <div class="bodystyle"> <h3 id="c002" class="fl al-cn"> <span class="bjh3">Listening</span> <!--controlslist="noplaybackrate nodownload"鍚庨潰鐨勯煶棰戞鍔犲叆杩欎釜--> - <audio :src="resource.listenOne" controls controlslist="noplaybackrate nodownload" class="audio" @play="audioPlay"></audio> + <audio :src="resource.listenOne" controls controlslist="noplaybackrate nodownload" class="audio"></audio> </h3> <p> <b>Four foreigners are talking about their impressions on Chinese @@ -347,8 +348,10 @@ </svg> </span> </p> + <!-- 鏂囨湰妗� --> <textarea v-model="questionData.reading.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="6" style="margin-left: 40px; width: 92%" class="fz-16 fm-son" @change="setBookQuestion"></textarea> + <!-- 绛旀妗� --> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 91%" v-if="showAnswerFour"> 绛旀锛�(1)Various delicious food (2)Unique architectures (3)Beautiful (4)Intangible cultural heritage, such as Taichi, @@ -357,8 +360,7 @@ </p> <p class="center"><b>My Experience in Wonderland</b></p> <p class="center"> - <audio :src="resource.readingOne" controls controlslist="noplaybackrate nodownload" class="audio" @play="audioPlay"></audio> - + <audio :src="resource.readingOne" controls controlslist="noplaybackrate nodownload" class="audio"></audio> </p> <p class="block"> 鈥淪o how was your journey to China?鈥� asks Alexandra.鈥淗ighly @@ -451,8 +453,8 @@ <span class="zt-cs" style="font-size: 20px">Words & Expressions</span> <span class="line-border-box"></span> </p> - <audio :src="resource.readingTwo" controls controlslist="noplaybackrate nodownload" style="margin-left: 10px" class="audio" - @play="audioPlay"></audio> + <audio :src="resource.readingTwo" controls controlslist="noplaybackrate nodownload" + style="margin-left: 10px" class="audio"></audio> <p>wonderland /藞w蕦nd蓹l忙nd/ <i>n.</i> 鏈夎澶氬濡欎簨鐗╃殑鍦版柟</p> <div class="bkbj"> <p><i>land or place full of marvels or wonderful things</i></p> @@ -567,72 +569,251 @@ <p> A.Mark the items that made the author curious when she arrived in China. + </p> + <p> + <input type="checkbox" name="ball1" :disabled="testData.isComplete" value="Language" id="1" + v-model="testData.check.value" @change="setTestData" /> + Language <span> - <svg - v-if="testData.check.isRight" - t="1716986419862" - class="icon" - viewBox="0 0 1820 1024" - version="1.1" - xmlns="http://www.w3.org/2000/svg" - p-id="18767" - xmlns:xlink="http://www.w3.org/1999/xlink" - width="40" - height="20" - > + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Language' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> <path d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" - fill="#1AFA29" - p-id="18768" - ></path> + fill="#1AFA29" p-id="18768"></path> </svg> - <svg - v-if="testData.check.isRight == false" - t="1716987085767" - class="icon" - viewBox="0 0 1024 1024" - version="1.1" - xmlns="http://www.w3.org/2000/svg" - p-id="25745" - xmlns:xlink="http://www.w3.org/1999/xlink" - width="20" - height="20" - > + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Language' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> <path d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" - fill="#d81e06" - p-id="25746" - ></path> + fill="#d81e06" p-id="25746"></path> </svg> </span> </p> <p> - <input type="checkbox" name="ball1" value="Language" id="1" v-model="testData.check.value" @change="setTestData" /> - Language - </p> - <p> - <input type="checkbox" name="ball2" value="People" id="2" v-model="testData.check.value" @change="setTestData" /> + <input type="checkbox" name="ball2" :disabled="testData.isComplete" value="People" id="2" + v-model="testData.check.value" @change="setTestData" /> People + <span> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'People' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'People' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - <input type="checkbox" name="ball3" value="Culture" id="3" v-model="testData.check.value" @change="setTestData" /> + <input type="checkbox" name="ball3" :disabled="testData.isComplete" value="Culture" id="3" + v-model="testData.check.value" @change="setTestData" /> Culture + <span> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Culture' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Culture' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - <input type="checkbox" name="ball4" value="Cuisine" id="4" v-model="testData.check.value" @change="setTestData" /> + <input type="checkbox" name="ball4" :disabled="testData.isComplete" value="Cuisine" id="4" + v-model="testData.check.value" @change="setTestData" /> Cuisine + <span> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Cuisine' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Cuisine' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - <input type="checkbox" name="ball5" value="Folk" id="5" v-model="testData.check.value" @change="setTestData" /> + <input type="checkbox" name="ball5" :disabled="testData.isComplete" value="Folk art" id="5" + v-model="testData.check.value" @change="setTestData" /> Folk art + <span> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Folk art' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Folk art' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - <input type="checkbox" name="ball6" value="Landscapes" id="6" v-model="testData.check.value" @change="setTestData" /> + <input type="checkbox" name="ball6" :disabled="testData.isComplete" value="Landscapes" id="6" + v-model="testData.check.value" @change="setTestData" /> Landscapes + <span> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Landscapes' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Landscapes' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - <input type="checkbox" name="ball7" value="Transportation" id="7" v-model="testData.check.value" @change="setTestData" /> + <input type="checkbox" name="ball7" :disabled="testData.isComplete" value="Transportation" id="7" + v-model="testData.check.value" @change="setTestData" /> Transportation + <span> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Transportation' + ) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isShowRight( + testData.check.answer, + testData.check.value, + 'Transportation' + ) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p class="event-header-text-bc pd-5" style="margin-left: 35px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欳ulture,Cuisine,Landscapes @@ -661,36 +842,36 @@ B.Write down the answer to each question according to the passage. </p> <p>1.What鈥檙e the author鈥檚 comments about Chinese food?</p> - <textarea v-model="testData.tx.one" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <textarea :disabled="testData.isComplete" v-model="testData.tx.one" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欳hinese food is very delicious. Sichuan and Hunan cuisines are quite mouth-watering and stimulating. </p> <p>2.When and why did the author start her journey to China?</p> - <textarea v-model="testData.tx.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <textarea :disabled="testData.isComplete" v-model="testData.tx.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歐hen the author got selected as a foreign student for PhD studies at one university in 2017, she started her journey to China. </p> <p>3.What are the author鈥檚 expectations of her stay in China?</p> - <textarea v-model="testData.tx.three" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <textarea :disabled="testData.isComplete" v-model="testData.tx.three" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歍he author looks forward to exploring more during her stay. </p> <p>4.What did the author think of Chinese people?</p> - <textarea v-model="testData.tx.four" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <textarea :disabled="testData.isComplete" v-model="testData.tx.four" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歍he author thought the local Chinese were very friendly and hospitable. </p> <p>5.What鈥檚 the author鈥檚 impression of the cities in China?</p> - <textarea v-model="testData.tx.five" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <textarea :disabled="testData.isComplete" v-model="testData.tx.five" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欵ach city has its unique atmosphere with charming features and unique landscapes. @@ -701,60 +882,135 @@ <p> A.Fill in the blanks with the proper words in the passage.The initial letters of the words have been given. - <span> - <svg - v-if="testData.in.isRight" - t="1716986419862" - class="icon" - viewBox="0 0 1820 1024" - version="1.1" - xmlns="http://www.w3.org/2000/svg" - p-id="18767" - xmlns:xlink="http://www.w3.org/1999/xlink" - width="40" - height="20" - > - <path - d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" - fill="#1AFA29" - p-id="18768" - ></path> - </svg> - <svg - v-if="testData.in.isRight == false" - t="1716987085767" - class="icon" - viewBox="0 0 1024 1024" - version="1.1" - xmlns="http://www.w3.org/2000/svg" - p-id="25745" - xmlns:xlink="http://www.w3.org/1999/xlink" - width="20" - height="20" - > - <path - d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" - fill="#d81e06" - p-id="25746" - ></path> - </svg> - </span> </p> <p> In 2017,the author arrived in China.When she arrived,she was like Alice in <i>Alice in Wonderland</i>.She was curious about the - people,the culture,the c<input type="text" class="input-bottom-border" style="width: 60px" - v-model="testData.in.one" @change="setTestData" /> - ,and of course the huge variety of l<input v-model="testData.in.two" type="text" - class="input-bottom-border" style="width: 60px" @change="setTestData" />.Chinese friends helped her a lot in understanding - Chinese - culture and c<input v-model="testData.in.three" type="text" class="input-bottom-border" - style="width: 60px" @change="setTestData" />.The author believes that one cannot e<input type="text" - v-model="testData.in.four" class="input-bottom-border" style="width: 60px" @change="setTestData" />China properly if he/she - does not try its delicious variety of + people,the culture,the c<input :disabled="testData.isComplete" type="text" class="input-bottom-border" + style="width: 60px" v-model="testData.in.one" @change="setTestData" /> + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.one) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.one) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> + ,and of course the huge variety of l + <input :disabled="testData.isComplete" v-model="testData.in.two" type="text" class="input-bottom-border" + style="width: 60px" @change="setTestData" /> + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.two) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.two) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> + .Chinese friends helped her a lot in understanding Chinese culture + and c<input :disabled="testData.isComplete" v-model="testData.in.three" type="text" + class="input-bottom-border" style="width: 60px" @change="setTestData" /> + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.three) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.three) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> + .The author believes that one cannot e<input :disabled="testData.isComplete" type="text" + v-model="testData.in.four" class="input-bottom-border" style="width: 60px" @change="setTestData" /> + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.four) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.four) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> + China properly if he/she does not try its delicious variety of food.China has thousands of years of rich and beautiful - culture.Each city has its u<input v-model="testData.in.five" type="text" class="input-bottom-border" - style="width: 60px" @change="setTestData" />atmosphere that attracts people. + culture.Each city has its u<input :disabled="testData.isComplete" v-model="testData.in.five" type="text" + class="input-bottom-border" style="width: 60px" @change="setTestData" /> + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.five) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.in.answer, testData.in.five) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> + atmosphere that attracts people. </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歝uisine, landscapes, civilization, explore, unique @@ -763,47 +1019,37 @@ B.Underline the following expressions in the passage and make sentences with them. </p> - <p> - 1.get selected as - </p> - <textarea v-model="testData.line.one" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <p>1.get selected as</p> + <textarea :disabled="testData.isComplete" v-model="testData.line.one" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歋he got selected as the cultural ambassador to show Chinese culture on campus. </p> - <p> - 2.be curious about - </p> - <textarea v-model="testData.line.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <p>2.be curious about</p> + <textarea :disabled="testData.isComplete" v-model="testData.line.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歁any foreigners are curious about the amazing Chinese martial arts. </p> - <p> - 3.along the way - </p> - <textarea v-model="testData.line.three" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <p>3.along the way</p> + <textarea :disabled="testData.isComplete" v-model="testData.line.three" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欼 suggest that you go to Tibet by train so that you can enjoy the natural scenery along the way. </p> - <p> - 4.come across - </p> - <textarea v-model="testData.line.four" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <p>4.come across</p> + <textarea :disabled="testData.isComplete" v-model="testData.line.four" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欻e came across the temple fair in Beijing during the Spring Festival. </p> - <p> - 5.look forward to - </p> - <textarea v-model="testData.line.five" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" style="margin-left: 40px; width: 92%" - class="fz-16 textarea-text" @change="setTestData"></textarea> + <p>5.look forward to</p> + <textarea :disabled="testData.isComplete" v-model="testData.line.five" placeholder="璇疯緭鍏ュ唴瀹�" rows="4" + style="margin-left: 40px; width: 92%" class="fz-16 textarea-text" @change="setTestData"></textarea> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛歋he is looking forward to visiting the incredible cities in China. @@ -833,7 +1079,8 @@ people. </p> <p> - <input v-model="testData.ts.one" type="text" class="input-bottom-border" @change="setTestData" /> + <input :disabled="testData.isComplete" v-model="testData.ts.one" type="text" class="input-bottom-border" + @change="setTestData" /> </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛氬瓟瀛愬紑鍒涗簡骞虫皯鍖栫殑鏁欒偛銆� @@ -843,7 +1090,8 @@ greatly promoted the development of ancient Chinese civilization. </p> <p> - <input v-model="testData.ts.two" type="text" class="input-bottom-border" @change="setTestData" /> + <input :disabled="testData.isComplete" v-model="testData.ts.two" type="text" class="input-bottom-border" + @change="setTestData" /> </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛氬珮绁栧彂鏄庝簡涓浗缂笣鎶�鏈紝杩欐瀬澶у湴淇冭繘浜嗕腑鍥藉彜浠f枃鏄庣殑鍙戝睍銆� @@ -853,7 +1101,8 @@ tea culture in depth. </p> <p> - <input v-model="testData.ts.three" type="text" class="input-bottom-border" @change="setTestData" /> + <input :disabled="testData.isComplete" v-model="testData.ts.three" type="text" class="input-bottom-border" + @change="setTestData" /> </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛氶檰缇斤紝銆婅尪缁忋�嬬殑浣滆�咃紝瀵逛腑鍥借尪閬撹繘琛屼簡娣卞叆鐨勭爺绌躲�� @@ -863,7 +1112,8 @@ Chinese medical science. </p> <p> - <input v-model="testData.ts.four" type="text" class="input-bottom-border" @change="setTestData" /> + <input :disabled="testData.isComplete" v-model="testData.ts.four" type="text" class="input-bottom-border" + @change="setTestData" /> </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛氬紶浠叉櫙鏄竴浣嶅涓浗鍖诲鏈夌潃閲嶅ぇ褰卞搷鐨勫尰瀛﹀銆� @@ -887,7 +1137,8 @@ meal. </p> <p> - <b>If</b><input v-model="testData.gr.one" type="text" class="input-bottom-border" @change="setTestData" />. + <b>If</b><input :disabled="testData.isComplete" v-model="testData.gr.one" type="text" + class="input-bottom-border" @change="setTestData" />. </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欼f you try using sticks, you can enjoy the fun of having a @@ -898,7 +1149,8 @@ there. </p> <p> - <b>If</b><input v-model="testData.gr.two" type="text" class="input-bottom-border" @change="setTestData" />. + <b>If</b><input :disabled="testData.isComplete" v-model="testData.gr.two" type="text" + class="input-bottom-border" @change="setTestData" />. </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欼f you go to my Chinese New Year party, you will meet my @@ -906,7 +1158,8 @@ </p> <p>3.Drink some Longjing tea,and you will love it.</p> <p> - <b>If</b><input type="text" v-model="testData.gr.three" class="input-bottom-border" @change="setTestData" />. + <b>If</b><input :disabled="testData.isComplete" type="text" v-model="testData.gr.three" + class="input-bottom-border" @change="setTestData" />. </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欼f you drink some Longjing tea, you will love it. @@ -916,7 +1169,8 @@ warriors. </p> <p> - <b>If</b><input v-model="testData.gr.four" type="text" class="input-bottom-border" @change="setTestData" />. + <b>If</b><input :disabled="testData.isComplete" v-model="testData.gr.four" type="text" + class="input-bottom-border" @change="setTestData" />. </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛欼f I go to Xi鈥檃n one day, I will visit the terracotta @@ -927,7 +1181,8 @@ Chicken would possibly be in top three. </p> <p> - <b>If</b><input v-model="testData.gr.five" type="text" class="input-bottom-border" @change="setTestData" />. + <b>If</b><input :disabled="testData.isComplete" v-model="testData.gr.five" type="text" + class="input-bottom-border" @change="setTestData" />. </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛� If you ask foreigners about their favorite Chinese food, @@ -938,38 +1193,150 @@ <i>whether</i>. </p> <p> - 1.I was wondering<input v-model="testData.cm.one" type="text" class="input-bottom-border" - style="width: 60px" @change="setTestData" />to go for a walk in the Summer Palace. + 1.I was wondering<input :disabled="testData.isComplete" v-model="testData.cm.one" type="text" + class="input-bottom-border" style="width: 60px" @change="setTestData" />to go for a walk in the Summer + Palace. + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.one) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.one) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - 2.We can spend the afternoon on the beach<input v-model="testData.cm.two" type="text" - class="input-bottom-border" style="width: 60px" />the weather is fine. + 2.We can spend the afternoon on the beach<input :disabled="testData.isComplete" v-model="testData.cm.two" + type="text" class="input-bottom-border" style="width: 60px" />the weather is fine. + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.two) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.two) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - 3.I called Wang to find out<input v-model="testData.cm.three" type="text" class="input-bottom-border" - style="width: 60px" @change="setTestData" />or not he really went to see the Peking opera show. + 3.I called Wang to find out<input :disabled="testData.isComplete" v-model="testData.cm.three" type="text" + class="input-bottom-border" style="width: 60px" @change="setTestData" />or not he really went to see the + Peking opera show. + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.three) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.three) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - 4.We鈥檙e not interested in<input v-model="testData.cm.four" type="text" class="input-bottom-border" - style="width: 60px" @change="setTestData" />we get great jobs and that kind of thing. + 4.We鈥檙e not interested in<input :disabled="testData.isComplete" v-model="testData.cm.four" type="text" + class="input-bottom-border" style="width: 60px" @change="setTestData" />we get great jobs and that kind + of thing. + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.four) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.four) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p> - 5.<input v-model="testData.cm.five" type="text" class="input-bottom-border" style="width: 60px" @change="setTestData" />I go to - Sichuan,I will visit Chengdu Research Base of Giant + 5.<input :disabled="testData.isComplete" v-model="testData.cm.five" type="text" + class="input-bottom-border" style="width: 60px" @change="setTestData" />I go to Sichuan,I will visit + Chengdu Research Base of Giant Panda Breeding. + <span> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.five) + " t="1716986419862" class="icon" viewBox="0 0 1820 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="18767" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" + height="20"> + <path + d="M1439.374222 216.007111s-169.472 56.490667-367.179852 282.443852C888.604444 703.222519 846.241185 787.949037 775.632593 900.93037 768.568889 893.866667 662.651259 689.095111 380.207407 540.814222l148.290371-141.226666s134.162963 91.790222 225.953185 261.262222c0 0 233.016889-360.116148 684.923259-536.642371v91.799704z m0 0" + fill="#1AFA29" p-id="18768"></path> + </svg> + <svg v-if=" + testData.isComplete && + isTextRight(testData.cm.answer, testData.cm.five) == false + " t="1716987085767" class="icon" viewBox="0 0 1024 1024" version="1.1" + xmlns="http://www.w3.org/2000/svg" p-id="25745" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" + height="20"> + <path + d="M116.579135 38.64349531L38.703935 103.74399781c138.82075969 102.96027281 268.24660875 221.31426938 381.68489719 339.96758156C246.29374906 618.40145938 109.95003031 790.19602344 38.10817906 859.25288281l148.35573469 123.62658094c52.61360812-108.17625656 167.23381594-272.86683656 320.56281844-445.01635875 153.50744156 173.21056312 268.36844625 338.43166313 321.38977781 447.49243969 0 0 144.5682225-152.96636906 157.47435281-129.29729625-55.80632344-62.49011156-191.37776625-244.16501625-374.17990593-430.27403438 104.68422375-107.1132975 222.15274031-213.10127719 347.60304468-306.24740437L925.17746562 56.03842156C782.85412063 126.51895625 647.69328031 231.09093594 526.07845437 342.39755 403.34886594 226.82662719 264.46095125 116.16373719 116.579135 38.64349531L116.579135 38.64349531zM116.579135 38.64349531" + fill="#d81e06" p-id="25746"></path> + </svg> + </span> </p> <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 93%" v-if="showQuestionAnswer"> 绛旀锛� 1.whether 2.if 3.whether 4.whether 5.if </p> - <div class="w100 fl ju-cn"> - <ul class="fl ju-ev" style="width: 80%"> + <div class="w100 fl"> + <ul class="fl ju-ar w100"> <li> <button class="btn-border btn-w" @click="saveData"> 鎻愪氦 </button> - </li> - <li> </li> <li> <button @click="changeTestData" class="btn-border btn-w"> @@ -1292,7 +1659,8 @@ </p> <p class="center"> 1. - <select class="select-border" v-model="dropdownData.one.value" @change="setDropdownData"> + <select class="select-border" v-model="dropdownData.one.value" @change="setDropdownData" + :disabled="dropdownData.isComplete"> <option v-for="(item, index) in dropDownList" :key="index" :value="item"> {{ item }} </option> @@ -1326,7 +1694,8 @@ </p> <p class="center"> 2. - <select class="select-border" v-model="dropdownData.two.value" @change="setDropdownData"> + <select class="select-border" v-model="dropdownData.two.value" @change="setDropdownData" + :disabled="dropdownData.isComplete"> <option v-for="(item, index) in dropDownList" :key="index" :value="item"> {{ item }} </option> @@ -1363,7 +1732,8 @@ </p> <p class="center"> 3. - <select class="select-border" v-model="dropdownData.three.value" @change="setDropdownData"> + <select class="select-border" v-model="dropdownData.three.value" @change="setDropdownData" + :disabled="dropdownData.isComplete"> <option v-for="(item, index) in dropDownList" :key="index" :value="item"> {{ item }} </option> @@ -1397,7 +1767,8 @@ </p> <p class="center"> 4. - <select class="select-border" v-model="dropdownData.four.value" @change="setDropdownData"> + <select class="select-border" v-model="dropdownData.four.value" @change="setDropdownData" + :disabled="dropdownData.isComplete"> <option v-for="(item, index) in dropDownList" :key="index" :value="item"> {{ item }} </option> @@ -1434,7 +1805,8 @@ </p> <p class="center"> 5. - <select class="select-border" v-model="dropdownData.five.value" @change="setDropdownData"> + <select class="select-border" v-model="dropdownData.five.value" @change="setDropdownData" + :disabled="dropdownData.isComplete"> <option v-for="(item, index) in dropDownList" :key="index" :value="item"> {{ item }} </option> @@ -1468,7 +1840,8 @@ </p> <p class="center"> 6. - <select class="select-border" v-model="dropdownData.six.value" @change="setDropdownData"> + <select class="select-border" v-model="dropdownData.six.value" @change="setDropdownData" + :disabled="dropdownData.isComplete"> <option v-for="(item, index) in dropDownList" :key="index" :value="item"> {{ item }} </option> @@ -1532,15 +1905,50 @@ <div class="bodystyle"> <h3 id="c006"><span class="bjh3">Reading</span></h3> <p class="center"> - <img class="img-g" alt="" src="../../assets/images/0020-1.jpg" /> + </p> <p class="img"></p> <p> 1.We are witnessing the rapid development of modern society.What impresses you most? + <span class="btn-box" @click="showAnswerFour = !showAnswerFour"> + <svg xmlns="http://www.w3.org/2000/svg" width="20.501" height="20.501" viewBox="0 0 20.501 20.501"> + <path class="a" + d="M3344.717-15308.5H3337.4a10.186,10.186,0,0,1-7.25-3,10.185,10.185,0,0,1-3-7.25A10.262,10.262,0,0,1,3337.4-15329a10.26,10.26,0,0,1,10.249,10.248,10.129,10.129,0,0,1-2.2,6.341v3.177A.734.734,0,0,1,3344.717-15308.5Zm-9.606-7.29h4.493l.527,1.419c.071.182.156.386.254.608a2.428,2.428,0,0,0,.273.512.986.986,0,0,0,.315.262.971.971,0,0,0,.454.1,1.05,1.05,0,0,0,.773-.327,1.025,1.025,0,0,0,.319-.723,3.3,3.3,0,0,0-.277-1.051l-.062-.161-2.889-7.313c-.119-.321-.228-.607-.335-.873a2.972,2.972,0,0,0-.323-.616,1.56,1.56,0,0,0-.5-.469,1.552,1.552,0,0,0-.781-.181,1.535,1.535,0,0,0-.773.181,1.475,1.475,0,0,0-.5.477,3.674,3.674,0,0,0-.362.739l-.239.627-.054.135-2.824,7.355c-.095.229-.179.46-.25.688a1.529,1.529,0,0,0-.073.477.978.978,0,0,0,.323.72,1.039,1.039,0,0,0,.746.315.838.838,0,0,0,.716-.3,4.676,4.676,0,0,0,.466-.985l.062-.165.527-1.449Zm3.747-1.5h-3.293l1.812-5.124,1.481,5.123Z" + transform="translate(-3327.144 15329)" /> + </svg> + </span> </p> - <p>2.What will our life be like in ten or twenty years?</p> + <!-- 鏂囨湰妗� --> + <textarea v-model="questionData.reading.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="6" + style="margin-left: 40px; width: 92%" class="fz-16 fm-son" @change="setBookQuestion"></textarea> + <!-- 绛旀妗� --> + <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 91%" v-if="showAnswerFour"> + 绛旀锛�(1)intercitut rain(2)online shopping (3)electronic payment (4)shared bike (5)take-away service (6)facial recognition + (7)2022 Beijing Winter Olympics (8)2023 World University Games (9)Hong Kong-Zhuhai-Macao Bridge + (10)Scenery spots, such as Jiuzhaigou, the Palace Museum, the Great Wall + </p> + <p>2.What will our life be like in ten or twenty years? + <span class="btn-box" @click="showAnswerFour = !showAnswerFour"> + <svg xmlns="http://www.w3.org/2000/svg" width="20.501" height="20.501" viewBox="0 0 20.501 20.501"> + <path class="a" + d="M3344.717-15308.5H3337.4a10.186,10.186,0,0,1-7.25-3,10.185,10.185,0,0,1-3-7.25A10.262,10.262,0,0,1,3337.4-15329a10.26,10.26,0,0,1,10.249,10.248,10.129,10.129,0,0,1-2.2,6.341v3.177A.734.734,0,0,1,3344.717-15308.5Zm-9.606-7.29h4.493l.527,1.419c.071.182.156.386.254.608a2.428,2.428,0,0,0,.273.512.986.986,0,0,0,.315.262.971.971,0,0,0,.454.1,1.05,1.05,0,0,0,.773-.327,1.025,1.025,0,0,0,.319-.723,3.3,3.3,0,0,0-.277-1.051l-.062-.161-2.889-7.313c-.119-.321-.228-.607-.335-.873a2.972,2.972,0,0,0-.323-.616,1.56,1.56,0,0,0-.5-.469,1.552,1.552,0,0,0-.781-.181,1.535,1.535,0,0,0-.773.181,1.475,1.475,0,0,0-.5.477,3.674,3.674,0,0,0-.362.739l-.239.627-.054.135-2.824,7.355c-.095.229-.179.46-.25.688a1.529,1.529,0,0,0-.073.477.978.978,0,0,0,.323.72,1.039,1.039,0,0,0,.746.315.838.838,0,0,0,.716-.3,4.676,4.676,0,0,0,.466-.985l.062-.165.527-1.449Zm3.747-1.5h-3.293l1.812-5.124,1.481,5.123Z" + transform="translate(-3327.144 15329)" /> + </svg> + </span> + </p> + <!-- 鏂囨湰妗� --> + <textarea v-model="questionData.reading.two" placeholder="璇疯緭鍏ュ唴瀹�" rows="6" + style="margin-left: 40px; width: 92%" class="fz-16 fm-son" @change="setBookQuestion"></textarea> + <!-- 绛旀妗� --> + <p class="event-header-text-bc pd-5" style="margin-left: 40px; width: 91%" v-if="showAnswerFour"> + 绛旀锛�(1)population aging (2)worsening climate change + (3)more automation and Al,such as flying cars, driverless + </p> <p class="center"><b>The Great Progress in China</b></p> + <p class="center"> + <audio :src="resource.readingOne" controls controlslist="noplaybackrate nodownload" class="audio"></audio> + </p> <p> On August 31st,2012,as I landed my feet on Chinese ground,I started to breathe in the air coming from the breeze.It was @@ -1612,8 +2020,8 @@ <span class="zt-cs" style="font-size: 20px">Words & Expressions</span> <span class="line-border-box"></span> </p> - <audio :src="resource.readingTwo" controls controlslist="noplaybackrate nodownload" style="margin-left: 10px" class="audio" - @play="audioPlay"></audio> + <audio :src="resource.readingTwo" controls controlslist="noplaybackrate nodownload" + style="margin-left: 10px" class="audio"></audio> <p>breeze /bri藧z/ <i>n.</i> 寰锛涘拰椋�</p> <div class="bkbj"> <p><i>a light wind</i></p> @@ -1993,8 +2401,8 @@ <b>鈪�.Listen to Tom,an overseas student,talking about his journey to China and fill in the blanks with what you hear.</b> </p> - <audio :src="resource.readingTwo" controls controlslist="noplaybackrate nodownload" style="margin-left: 10px" class="audio" - @play="audioPlay"></audio> + <audio :src="resource.readingTwo" controls controlslist="noplaybackrate nodownload" + style="margin-left: 10px" class="audio"></audio> <p> After studying in China for almost three years by now,I call China my second homeland.I love the natural beauty,the 1.________,the @@ -2463,10 +2871,11 @@ }, }, testData: { + isComplete: false, check: { - isRight:null, - answer:["Culture","Cuisine","Landscapes"], - value:[] + isRight: null, + answer: ["Culture", "Cuisine", "Landscapes"], + value: [], }, tx: { one: "", @@ -2481,8 +2890,8 @@ three: "", four: "", five: "", - isRight:null, - answer:'cuisine,landscapes,civilization,explore,unique' + isRight: null, + answer: ["uisine", "andscapes", "ivilization", "xplore", "nique"], }, line: { one: "", @@ -2510,6 +2919,7 @@ three: "", four: "", five: "", + answer: ["whether", "if", "whether", "whether", "if"], }, }, resource: { @@ -2526,6 +2936,7 @@ "take-away service", ], dropdownData: { + isComplete: false, one: { value: "", isRight: null, @@ -2584,10 +2995,11 @@ changeTestData() { localStorage.removeItem("english-testOne"); this.testData = { + isComplete: false, check: { - isRight:null, - answer:["Culture","Cuisine","Landscapes"], - value:[] + isRight: null, + answer: ["Culture", "Cuisine", "Landscapes"], + value: [], }, tx: { one: "", @@ -2602,8 +3014,8 @@ three: "", four: "", five: "", - isRight:null, - answer:['uisine','andscapes','ivilization','xplore','nique'] + isRight: null, + answer: ["uisine", "andscapes", "ivilization", "xplore", "nique"], }, line: { one: "", @@ -2631,11 +3043,11 @@ three: "", four: "", five: "", + answer: ["whether", "if", "whether", "whether", "if"], }, }; }, setBookQuestion() { - console.log("淇濆瓨"); localStorage.setItem( "english-book-question-one", JSON.stringify(this.questionData) @@ -2693,23 +3105,29 @@ handleDropdown(type) { const dropdownDatas = this.dropdownData; for (let key in dropdownDatas) { - const item = dropdownDatas[key]; + let item = dropdownDatas[key]; if (type == "judge") { - item.value == item.answer - ? (item.isRight = true) - : (item.isRight = false); - console.log(item.value, item.answer); + if (key != "isComplete") { + item.value == item.answer + ? (item.isRight = true) + : (item.isRight = false); + } } } this.dropdownData = dropdownDatas; + this.$set(this.dropdownData, 'isComplete', true) + this.setDropdownData() }, changeDropdown() { localStorage.removeItem("english-dropdown-one"); for (let key in this.dropdownData) { - const item = this.dropdownData[key]; - item.value = ""; - item.isRight = null; + let item = this.dropdownData[key]; + if (key != 'isComplete') { + item.value = ""; + item.isRight = null; + } } + this.$set(this.dropdownData, 'isComplete', false) }, setDropdownData() { localStorage.setItem( @@ -2718,33 +3136,42 @@ ); }, saveData() { - const item = this.testData['check'] + const item = this.testData["check"]; const sortedArr1 = item.answer.slice().sort(); const sortedArr2 = item.value.slice().sort(); const isRight = sortedArr1.every( - (value, index) => value === sortedArr2[index] - ); - const inData = this.testData['in'] - let inString = [] + (value, index) => value === sortedArr2[index] + ); + const inData = this.testData["in"]; + let inString = []; for (let key in inData) { const citem = inData[key]; - if(key != 'answer' && key !== 'isRight') { + if (key != "answer" && key !== "isRight") { console.log(key); - inString.push(citem) + inString.push(citem); } - - } - const inRight = inData.answer == inString - console.log('in',inData.answer,inString); - this.$set(this.testData['in'],'isRight',inRight) - this.$set(this.testData['check'],'isRight',isRight) - this.setTestData() - console.log(this.testData); - + const inRight = inData.answer == inString; + console.log("in", inData.answer, inString); + this.$set(this.testData["in"], "isRight", inRight); + this.$set(this.testData["check"], "isRight", isRight); + this.$set(this.testData, "isComplete", true); + this.setTestData(); + this.showQuestionAnswer = true; }, - audioPlay() { - this.$emit("closeMiniAudio"); + isShowRight(answer, userAnswer, data) { + let flag = null; + if (userAnswer.indexOf(data) > -1) { + flag = answer.indexOf(data) > -1 ? true : false; + } + return flag; + }, + isTextRight(answer, data) { + let flag = null; + if (data) { + flag = answer.indexOf(data) > -1 ? true : false; + } + return flag; }, }, }; @@ -2824,11 +3251,13 @@ right: 0; background-color: red; } + .select-border { border: 0; border-bottom: 1px solid #767676; + &:focus { - outline: none; + outline: none; } } </style> -- Gitblit v1.9.1