From d82733fc757f080c8910049ae12567454ee1aeac Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 29 五月 2024 17:02:30 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/English/view/components/chapter001.vue | 246 ++++++++++++++++++++++++++++++++++-------------- 1 files changed, 174 insertions(+), 72 deletions(-) diff --git a/src/books/English/view/components/chapter001.vue b/src/books/English/view/components/chapter001.vue index 68e18a3..a84b761 100644 --- a/src/books/English/view/components/chapter001.vue +++ b/src/books/English/view/components/chapter001.vue @@ -46,7 +46,27 @@ >鈪�.Write down the English words for the Chinese cultural symbols in the following pictures.</b > - <button @click="showAnswerTwo = !showAnswerTwo">鏄剧ず绛旀</button> + <span class="btn-box" @click="showAnswerTwo = !showAnswerTwo"> + <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> + <!-- <button + @click="showAnswerTwo = !showAnswerTwo" + class="parimary-btn" + > + 鏄剧ず绛旀 + </button> --> </p> <div class="fl ju-bt"> <div class="left" style="width: 48%"> @@ -262,12 +282,27 @@ </div> <p class="t0"> <b>鈪�.What other symbols can you think of?</b> - <button + <!-- <button class="parimary-btn" @click="showAnswerOne = !showAnswerOne" > 鏄剧ず绛旀 - </button> + </button> --> + <span class="btn-box" @click="showAnswerOne = !showAnswerOne"> + <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 class="t0"> <input @@ -326,12 +361,27 @@ </h3> <p> 1.How was Chinese culture introduced to the world in ancient times? - <button + <!-- <button class="parimary-btn" @click="showAnswerThree = !showAnswerThree" > 鏄剧ず绛旀 - </button> + </button> --> + <span class="btn-box" @click="showAnswerThree = !showAnswerThree"> + <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.one" @@ -351,12 +401,27 @@ <p> 2.China offers so much to see and explore.What took you by surprise about China? - <button + <!-- <button class="parimary-btn" @click="showAnswerFour = !showAnswerFour" > 鏄剧ず绛旀 - </button> + </button> --> + <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" @@ -385,16 +450,16 @@ </p> <p> My - <span class="word-bc" @click="saveWord('incredible')" + <span class="word-bc" @click="saveWord($event,'incredible')" >incredible</span > journey to China started in 2017 when I got selected as a foreign student for PhD studies at one university.When I arrived in China,I was like Alice in Alice in Wonderland.I was curious about the people,the culture,the - <span class="word-bc" @click="saveWord('cuisine')">cuisine</span> + <span class="word-bc" @click="saveWord($event,'cuisine')">cuisine</span> and of course the huge variety of - <span class="word-bc" @click="saveWord('landscapes')" + <span class="word-bc" @click="saveWord($event,'landscapes')" >landscapes</span >. </p> @@ -402,12 +467,12 @@ I found many great people and made several Chinese friends along the way.These friends made me see China through the eyes of the locals.I always found Chinese people very friendly and - <span class="word-bc" @click="saveWord('hospitable')" + <span class="word-bc" @click="saveWord($event,'hospitable')" >hospitable</span > towards foreigners.These Chinese friends made my understanding of Chinese culture and - <span class="word-bc" @click="saveWord('civilization')" + <span class="word-bc" @click="saveWord($event,'civilization')" >civilization</span > much easier,enjoyable and memorable.I consider China my second home @@ -415,7 +480,7 @@ </p> <p> You cannot - <span class="word-bc" @click="saveWord('explore')">explore</span> + <span class="word-bc" @click="saveWord($event,'explore')">explore</span> China properly if you do not try its delicious variety of food.If you ate </p> @@ -444,14 +509,14 @@ a new kind of food every day for one whole year,the list of Chinese food would still never end! Though I love to eat almost all kinds of Chinese cuisine,I found Sichuan and Hunan cuisine quite - <span class="word-bc" @click="saveWord('mouth-watering')" + <span class="word-bc" @click="saveWord($event,'mouth-watering')" >mouth-watering</span > and - <span class="word-bc" @click="saveWord('stimulating')" + <span class="word-bc" @click="saveWord($event,'stimulating')" >stimulating</span >.For a - <span class="word-bc" @click="saveWord('foodie')">foodie</span> like + <span class="word-bc" @click="saveWord($event,'foodie')">foodie</span> like me,China is a heaven.I simply cannot live without Chinese food. </p> <p> @@ -460,11 +525,11 @@ its own story and history.From the big and advanced cities like Shanghai or Guangzhou to the ancient cities like Xi鈥檃n and Hangzhou,each city has its - <span class="word-bc" @click="saveWord('unique')">unique</span> + <span class="word-bc" @click="saveWord($event,'unique')">unique</span> <span class="word-bc" style="margin-left: 5px" - @click="saveWord('atmosphere')" + @click="saveWord($event,'atmosphere')" >atmosphere</span > that attracts you.I visited more than a dozen cities and came across @@ -1096,10 +1161,13 @@ 5.if </p> <ul class="fl ju-ev" style="width: 50%"> - <li><button>鎻愪氦</button></li> - <li><button @click="setTestData">淇濆瓨</button></li> + <li><button class="btn-border btn-w">鎻愪氦</button></li> + <li><button @click="setTestData" class="btn-border btn-w">淇濆瓨</button></li> <li> - <button @click="showQuestionAnswer = !showQuestionAnswer"> + <button + @click="showQuestionAnswer = !showQuestionAnswer" + class="parimary-btn" + > 鏌ョ湅绛旀 </button> </li> @@ -1249,44 +1317,44 @@ </p> <div class="bk-wh"> <p class="dl-box"> - <span class="word-bc mr-20 dl-span" @click="saveWord('exquisite')" + <span class="word-bc mr-20 dl-span" @click="saveWord($event,'exquisite')" >exquisite</span > - <span class="word-bc mr-20 dl-span" @click="saveWord('ancient')" + <span class="word-bc mr-20 dl-span" @click="saveWord($event,'ancient')" >ancient</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('incredible')" + @click="saveWord($event,'incredible')" >incredible</span - ><span class="word-bc mr-20 dl-span" @click="saveWord('unique')" + ><span class="word-bc mr-20 dl-span" @click="saveWord($event,'unique')" >unique</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('traditional')" + @click="saveWord($event,'traditional')" >traditional</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('outstanding')" + @click="saveWord($event,'outstanding')" >outstanding</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('mouth-watering')" + @click="saveWord($event,'mouth-watering')" >mouth-watering</span - ><span class="word-bc mr-20 dl-span" @click="saveWord('diverse')" + ><span class="word-bc mr-20 dl-span" @click="saveWord($event,'diverse')" >diverse</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('hospitable')" + @click="saveWord($event,'hospitable')" >hospitable</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('enjoyable')" + @click="saveWord($event,'enjoyable')" >enjoyable</span ><span class="word-bc mr-20 dl-span" - @click="saveWord('memorable')" + @click="saveWord($event,'memorable')" >memorable</span - ><span class="word-bc mr-20 dl-span" @click="saveWord('charming')" + ><span class="word-bc mr-20 dl-span" @click="saveWord($event,'charming')" >charming</span > </p> @@ -1382,7 +1450,7 @@ style="width: 90%" v-if="showAnswerFive" > - 绛旀锛欳hinese knot + 绛旀锛歩ntercity train </p> </div> <div class="right" style="width: 48%"> @@ -1422,7 +1490,7 @@ style="width: 90%" v-if="showAnswerFive" > - 绛旀锛欳hinese knot + 绛旀锛歰nline shopping </p> </div> </div> @@ -1461,7 +1529,7 @@ style="width: 90%" v-if="showAnswerFive" > - 绛旀锛欳hinese knot + 绛旀锛歟lectronic payment </p> </div> <div class="right" style="width: 48%"> @@ -1501,7 +1569,7 @@ style="width: 90%" v-if="showAnswerFive" > - 绛旀锛欳hinese knot + 绛旀锛歴hared bike </p> </div> </div> @@ -1535,44 +1603,67 @@ </span> </p> </div> + <p + class="event-header-text-bc pd-5" + style="width: 90%" + v-if="showAnswerFive" + > + 绛旀锛歵ake-away service + </p> </div> <div class="right" style="width: 48%"> - <p class="center"> - <el-image - :src="imgTwelve" - :preview-src-list="[imgTwelve]" - style="width: 98%" - /> - </p> - <p class="center"> - 6. - <select v-model="dropdownData.six.value"> - <option - v-for="(item, index) in dropDownList" - :key="index" - :value="item" - > - {{ item }} - </option> - </select> - <span class="icon-box"> - <i - class="el-icon-check correct-icon" - v-if="dropdownData.six.isRight" - ></i> - <i - class="el-icon-close error-icon" - v-if="dropdownData.six.isRight == false" - ></i> - </span> + <div> + <p class="center"> + <el-image + :src="imgTwelve" + :preview-src-list="[imgTwelve]" + style="width: 98%" + /> + </p> + <p class="center"> + 6. + <select v-model="dropdownData.six.value"> + <option + v-for="(item, index) in dropDownList" + :key="index" + :value="item" + > + {{ item }} + </option> + </select> + <span class="icon-box"> + <i + class="el-icon-check correct-icon" + v-if="dropdownData.six.isRight" + ></i> + <i + class="el-icon-close error-icon" + v-if="dropdownData.six.isRight == false" + ></i> + </span> + </p> + </div> + <p + class="event-header-text-bc pd-5" + style="width: 90%" + v-if="showAnswerFive" + > + 绛旀锛歠acial recognition </p> </div> </div> - <div class="fl ju-ev" style="width: 50%"> - <button @click="setDropdownData">淇濆瓨</button> - <button>鎻愪氦</button> - <button @click="handleDropdown('judge')">鍒ゆ柇姝g‘</button> - <button @click="showAnswerFive = !showAnswerFive">鏌ョ湅绛旀</button> + <div class="fl ju-ev" style="width: 70%"> + <button @click="setDropdownData" class="btn-border btn-w"> + 淇濆瓨 + </button> + <button class="btn-border btn-w">鎻愪氦</button> + <button @click="handleDropdown('judge')" class="btn-border btn-w">鍒ゆ柇姝g‘</button> + <button + @click="showAnswerFive = !showAnswerFive" + class="parimary-btn" + > + 鏌ョ湅绛旀 + </button> </div> </div> </div> @@ -1585,6 +1676,7 @@ <script> import getResourcePath from "@/assets/methods/resources"; + export default { name: "chapter-one", data() { @@ -1794,8 +1886,8 @@ this.getPath(); }, methods: { - saveWord(word) { - this.$emit("saveCharacters", word); + saveWord(event,word) { + this.$emit("saveCharacters", event,word); }, setTestData() { localStorage.setItem("english-testOne", JSON.stringify(this.testData)); @@ -1905,4 +1997,14 @@ line-height: 20px; } } +.btn-w { + font-size: 14px; + border-width:1px; + min-width: 80px; + background-color:#fff; + &:hover { + background-color:#0bab87 ; + color: #fff; + } +} </style> -- Gitblit v1.9.1