From b1a6c3365e46f29fdd12d8864848912eb46d3208 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 17 六月 2024 16:56:29 +0800 Subject: [PATCH] 优化 --- src/books/mathBook/view/components/chapter001.vue | 28 +++++++++++++ .env.product | 4 +- src/books/English/view/components/chapter001.vue | 15 +++++-- src/books/mathBook/assets/main.less | 23 +++++++++++ src/App.vue | 2 src/books/artAndDance/assets/main.less | 25 ++++++++++++ 6 files changed, 87 insertions(+), 10 deletions(-) diff --git a/.env.product b/.env.product index eb40f51..76a6d12 100644 --- a/.env.product +++ b/.env.product @@ -1,6 +1,6 @@ VUE_APP_ENV = 'product' VUE_APP_API_URL = "https://jsek.bnuic.com" VUE_APP_RESOURCE_CTX = 'https://jsek.bnuic.com/books/resource/' -VUE_APP_PUBLIC_PATH = 'https://jsek.bnuic.com/books/book/childHealth' +VUE_APP_PUBLIC_PATH = 'https://jsek.bnuic.com/books/book/mathBook' VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook" -VUE_APP_BOOK_ID = 'childHealth' \ No newline at end of file +VUE_APP_BOOK_ID = 'mathBook' \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 65f4077..58ee2a9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,7 +65,7 @@ process.env.VUE_APP_RESOURCE_CTX + (process.env.VUE_APP_ENV == "product" ? process.env.VUE_APP_BOOK_ID - : "childHealth") + : "mathBook") ); // 娴嬭瘯璇曡30椤� // this.activeBook.tryPageCount = 10; diff --git a/src/books/English/view/components/chapter001.vue b/src/books/English/view/components/chapter001.vue index 34edb72..bf3f4cc 100644 --- a/src/books/English/view/components/chapter001.vue +++ b/src/books/English/view/components/chapter001.vue @@ -826,15 +826,19 @@ </p> <div class="bkbj"> <p> - <i>making you feel more active and healthy</i> foodie /藞fu藧di/ - <i>n.</i> 鍚冭揣锛涚編椋熷 + <i>making you feel more active and healthy</i> </p> </div> - <p> - <i + <p>foodie /藞fu藧di/<i>n.</i> 鍚冭揣锛涚編椋熷</p> + <div class="bkbj"> + <p> + <i >a person who is very interested in cooking and eating different kinds of food</i > + </p> + </div> + <p> unique /ju<i>藞</i>ni藧k/ <i>adj.</i> 鍞竴鐨勶紱鐙竴鏃犱簩鐨� </p> <div class="bkbj"> @@ -2564,7 +2568,7 @@ "online shopping", "facial recognition", "electronic payment", - "intercity train", + "intercity train", "shared bike", "take-away service", ], @@ -2735,6 +2739,7 @@ item.value == item.answer ? (item.isRight = true) : (item.isRight = false); + console.log(item.value,item.answer); } } this.dropdownData = dropdownDatas; diff --git a/src/books/artAndDance/assets/main.less b/src/books/artAndDance/assets/main.less index b437c3d..6b92359 100644 --- a/src/books/artAndDance/assets/main.less +++ b/src/books/artAndDance/assets/main.less @@ -476,4 +476,27 @@ } } } -} \ No newline at end of file +} + + +::-webkit-scrollbar { + width: 8px; + height: 10px; +} + +::-webkit-scrollbar-track-piece { + background-color: rgba(0, 0, 0, 0.1); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:vertical { + height: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:horizontal { + width: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} diff --git a/src/books/mathBook/assets/main.less b/src/books/mathBook/assets/main.less index b390996..4fc2485 100644 --- a/src/books/mathBook/assets/main.less +++ b/src/books/mathBook/assets/main.less @@ -841,3 +841,26 @@ } } } + + +::-webkit-scrollbar { + width: 8px; + height: 10px; +} + +::-webkit-scrollbar-track-piece { + background-color: rgba(0, 0, 0, 0.1); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:vertical { + height: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:horizontal { + width: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} \ No newline at end of file diff --git a/src/books/mathBook/view/components/chapter001.vue b/src/books/mathBook/view/components/chapter001.vue index f0c2321..6715dee 100644 --- a/src/books/mathBook/view/components/chapter001.vue +++ b/src/books/mathBook/view/components/chapter001.vue @@ -576,11 +576,37 @@ <!-- 鍑芥暟鎺т欢寮圭獥 --> <el-dialog - title="" :visible.sync="dialogVisible" width="60%" :append-to-body="true" + :show-close="false" > + <div slot="title" style="padding: 0 0 15px 0;position: relative;"> + <svg + style="position: absolute; right:10px;cursor: pointer;" + @click="dialogVisible = false" + t="1718596022986" + class="icon" + viewBox="0 0 1024 1024" + version="1.1" + xmlns="http://www.w3.org/2000/svg" + p-id="4252" + width="20" + height="20" + xmlns:xlink="http://www.w3.org/1999/xlink" + > + <path + d="M176.661601 817.172881C168.472798 825.644055 168.701706 839.149636 177.172881 847.338438 185.644056 855.527241 199.149636 855.298332 207.338438 846.827157L826.005105 206.827157C834.193907 198.355983 833.964998 184.850403 825.493824 176.661601 817.02265 168.472798 803.517069 168.701706 795.328267 177.172881L176.661601 817.172881Z" + fill="#979797" + p-id="4253" + ></path> + <path + d="M795.328267 846.827157C803.517069 855.298332 817.02265 855.527241 825.493824 847.338438 833.964998 839.149636 834.193907 825.644055 826.005105 817.172881L207.338438 177.172881C199.149636 168.701706 185.644056 168.472798 177.172881 176.661601 168.701706 184.850403 168.472798 198.355983 176.661601 206.827157L795.328267 846.827157Z" + fill="#979797" + p-id="4254" + ></path> + </svg> + </div> <iframe src="https://www.geogebra.org/calculator" frameborder="0" -- Gitblit v1.9.1