From 3bc1c9bc880697288e5be99f8a25fd6373651bc3 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 05 七月 2024 18:51:17 +0800
Subject: [PATCH] 英语(图片显示)

---
 src/books/English/view/components/chapter005.vue |   87 ++++++++++++++++++++++++++++++++++++-------
 1 files changed, 73 insertions(+), 14 deletions(-)

diff --git a/src/books/English/view/components/chapter005.vue b/src/books/English/view/components/chapter005.vue
index c7de6b3..77ecde3 100644
--- a/src/books/English/view/components/chapter005.vue
+++ b/src/books/English/view/components/chapter005.vue
@@ -344,7 +344,20 @@
                         <p>4.The Beijing 2022 Winter Olympics is in line with its concept of delivering a green and
                             sustainable Games.</p>
                         <p>____________________________________________________</p>
-                        <p><b>鈪�.Grammar focus:The present perfect tense.</b></p>
+                        <p><b>鈪�.Grammar focus:The present perfect tense.</b>
+                            <span class="btn-box" @click="showAnswer('showImg')">
+                                <svg t="1717037443722" class="icon" viewBox="0 0 1024 1024" version="1.1"
+                                    xmlns="http://www.w3.org/2000/svg" p-id="30864"
+                                    xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20">
+                                    <path
+                                        d="M387.2 471.152l-154.768 258.72v103.488h515.792V626.384l-149.12 103.488z m283.712-51.744a77.632 77.632 0 1 0 77.392 77.616 77.504 77.504 0 0 0-77.472-77.616zM640 0H160.72A96.736 96.736 0 0 0 64 96.72V927.36a96.736 96.736 0 0 0 96.72 96.64h702.56A96.704 96.704 0 0 0 960 927.36V298.016z m7.808 94.736l226.544 211.008h-146.544a80.08 80.08 0 0 1-80-80zM896 927.36a32.688 32.688 0 0 1-32.72 32.64h-702.56A32.704 32.704 0 0 1 128 927.36V96.72A32.752 32.752 0 0 1 160.72 64l423.088 0.384v161.44a144.176 144.176 0 0 0 144 143.92H896z"
+                                        p-id="30865"></path>
+                                </svg>
+                            </span>
+                        </p>
+                        <div class="openImgBox" v-if="showImg">
+                            <img class="w100" :src="imgThirteen" />
+                        </div>
                         <p>A.Mark the correct form of the words in the brackets.</p>
                         <p>1.Some shops in India have (begin,began,begun) to exchange recyclable things for groceries.
                         </p>
@@ -492,29 +505,57 @@
                         <p>Every morning,I wake up,and just moments after my feet hit this floor,I鈥檓 reaching for a
                             sports bra and tying my shoelaces.It鈥檚 time to go running.</p>
                         <p>Sometimes,I鈥檓 alone.Other times,I鈥檓 with a friend.I鈥檓 a runner,and for me,there鈥檚 nothing
-                            better than a crisp morning,when the air is fresh,the sun is peaking over the horizon,and my
+                            better than a
+                            <span class="word-bc" @click="saveWord($event, 'crisp')">crisp</span>
+                            morning,when the air is fresh,the sun is
+                            <span class="word-bc" @click="saveWord($event, 'peak')"> peak</span>
+                            ing over the
+                            <span class="word-bc" @click="saveWord($event, 'horizon')">horizon</span>
+                            ,and my
                             legs are light.But some days,when an air quality warning shows on my phone,I know running
-                            outdoors will be unpleasant.</p>
+                            outdoors will be unpleasant.
+                        </p>
                         <p>Most of us would love to cut our carbon footprints in half鈥擨 know I would鈥攂ut it just isn鈥檛
                             convenient.We want to drive in cars,fly in planes,and eat fruits that only grow on the other
                             side of the world.I鈥檓 lucky enough to live in a city with great public transportation and a
-                            wealth of ecofriendly ride-sharing options.But actually,not all of us have these choices.
+                            wealth of
+                            <span class="word-bc" @click="saveWord($event, 'ecofriendly')">ecofriendly </span> &nbsp;
+                            <span class="word-bc" @click="saveWord($event, 'ride-sharing')">ride-sharing </span>
+                            options.But actually,not all of us have these choices.
                         </p>
                         <p>So,if we can鈥檛 take millions of cars off the road,what can we do right now,on an individual
                             level,to reduce our carbon footprint?</p>
-                        <p>Well,everybody eats.We eat to celebrate,to grow,and to survive.We also eat selectively.It
-                            seems like everyone has a dietary restriction these days.Most of the dietary choices are
+                        <p>Well,everybody eats.We eat to celebrate,to grow,and to
+                            <span class="word-bc" @click="saveWord($event, 'survive')">survive</span>
+                            .We also eat
+                            <span class="word-bc" @click="saveWord($event, 'selectively')">selectively</span>
+                            .It
+                            seems like everyone has a
+                            <span class="word-bc" @click="saveWord($event, 'dietary')">dietary</span> &nbsp;
+                            <span class="word-bc" @click="saveWord($event, 'restriction')">restriction</span>
+                            these days.Most of the dietary choices are
                             made for personal,health-related reasons,but what I鈥檝e learned recently is that the food we
-                            eat doesn鈥檛 just impact us; it impacts the planet big time.</p>
+                            eat doesn鈥檛 just impact us; it impacts the planet big time.
+                        </p>
                         <p>Just this summer,a group of researchers in the UK published a study comparing the carbon
-                            footprints connected with different diets:meat-eaters,fish-eaters,and vegans.It turns out
-                            that eliminating meat from your diet can reduce your carbon emissions by half.A vegan diet
+                            footprints connected with different diets:meat-eaters,fish-eaters,and
+                            <span class="word-bc" @click="saveWord($event, 'vegans')">vegans</span>
+                            .It turns out
+                            that
+                            <span class="word-bc" @click="saveWord($event, 'eliminat')">eliminat</span>
+                            ing meat from your diet can reduce your carbon
+                            <span class="word-bc" @click="saveWord($event, 'emissions')">emissions</span>
+                            by half.A vegan diet
                             was connected with the least amount of greenhouse gas emissions鈥�99 percent to 102 percent
                             less than meateaters鈥攂ut even switching from meat to fish can reduce your dietary emissions
-                            by 50 percent.</p>
+                            by 50 percent.
+                        </p>
                         <p>Before learning about this study,I never thought about how my diet impacted anyone but
-                            myself.I always figured that what I put into my body was a personal decision,but it鈥檚 a
-                            public concern.</p>
+                            myself.I always
+                            <span class="word-bc" @click="saveWord($event, 'figured')">figured</span>
+                            that what I put into my body was a personal decision,but it鈥檚 a
+                            public concern.
+                        </p>
                         <p>Every night before sleeping,I lay there for a moment,reflecting on the day,and thinking about
                             my next meatless meal.As I close my eyes,I hope for a crisp morning with fresh air,the sun
                             peaking over the horizon,a lightness in my legs.I am looking forward to the next day鈥檚 run.
@@ -683,7 +724,20 @@
                 <!-- 鍐呭 -->
                 <div class="padding-93">
                     <div class="bodystyle">
-                        <p><b>鈪�.Grammar focus:The infinitive.</b></p>
+                        <p><b>鈪�.Grammar focus:The infinitive.</b>
+                            <span class="btn-box" @click="showAnswer('showImgOne')">
+                                <svg t="1717037443722" class="icon" viewBox="0 0 1024 1024" version="1.1"
+                                    xmlns="http://www.w3.org/2000/svg" p-id="30864"
+                                    xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20">
+                                    <path
+                                        d="M387.2 471.152l-154.768 258.72v103.488h515.792V626.384l-149.12 103.488z m283.712-51.744a77.632 77.632 0 1 0 77.392 77.616 77.504 77.504 0 0 0-77.472-77.616zM640 0H160.72A96.736 96.736 0 0 0 64 96.72V927.36a96.736 96.736 0 0 0 96.72 96.64h702.56A96.704 96.704 0 0 0 960 927.36V298.016z m7.808 94.736l226.544 211.008h-146.544a80.08 80.08 0 0 1-80-80zM896 927.36a32.688 32.688 0 0 1-32.72 32.64h-702.56A32.704 32.704 0 0 1 128 927.36V96.72A32.752 32.752 0 0 1 160.72 64l423.088 0.384v161.44a144.176 144.176 0 0 0 144 143.92H896z"
+                                        p-id="30865"></path>
+                                </svg>
+                            </span>
+                        </p>
+                        <div class="openImgBox" v-if="showImgOne">
+                            <img class="w100" :src="imgThirteenOne" />
+                        </div>
                         <p>Rewrite the following sentences using the infinitive symbol 鈥渢o鈥�.</p>
                         <p>1.We work hard.</p>
                         <p>We want to make a better life.</p>
@@ -1029,13 +1083,15 @@
     },
     data() {
         return {
-            imgThirteen: require("../../assets/images/grammar.jpg"),
+            imgThirteen: require("../../assets/images/grammar5-1.png"),
+            imgThirteenOne: require("../../assets/images/grammar5-2.png"),
             showAnswerOne: false,
             showAnswerTwo: false,
             showAnswerThree: false,
             showAnswerFour: false,
             showAnswerFive: false,
             showImg: false,
+            showImgOne: false,
             showQuestionAnswer: false,
             rawData: {
                 left: [
@@ -1374,7 +1430,10 @@
         showAnswer(type) {
             if (type == "showImg") {
                 this.showImg = !this.showImg;
+            } else if (type == "showImgOne") {
+                this.showImgOne = !this.showImgOne;
             }
+            setTimeout(() => { this.$emit("initViewer", "") }, 500)
         },
         handleQuestion(type) {
             if (type == "one") {

--
Gitblit v1.9.1