From 63a7d4f2bb7fdeaa1e6ed616a14c213d91d25a99 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期五, 27 十二月 2024 15:21:21 +0800 Subject: [PATCH] 轮播图优化 --- src/books/civilAviation/view/components/chapter001.vue | 41 +++++++++++++---------------------------- 1 files changed, 13 insertions(+), 28 deletions(-) diff --git a/src/books/civilAviation/view/components/chapter001.vue b/src/books/civilAviation/view/components/chapter001.vue index 3c7d956..c695b60 100644 --- a/src/books/civilAviation/view/components/chapter001.vue +++ b/src/books/civilAviation/view/components/chapter001.vue @@ -1679,23 +1679,10 @@ <textarea v-model="questionData.reading.four" placeholder="璇疯緭鍏ュ唴瀹�" rows="6" class="textarea-box-left" @change="setBookQuestion" :class="{ 'textarea-focused': isFocused == 'four' }" @focus="handleFocus('four')" @blur="handleBlur()"></textarea> - <!-- 棰樼洰 --> + <!-- 棰樼洰 --> <!-- <div class="bk-ztgs"> <p class="bj1-ztgs">姘戣埅姒傝璇曢01</p> </div> --> - </div> - </div> - </div> - <!-- 37椤� --> - <div class="page-box" page="44"> - <div v-if="showPageList.indexOf(44) > -1"> - <ul class="fl al-c pad-t-55 pad-l-60 mb-45"> - <li class="header-left-Number">036</li> - <li class="header-left-text">姘戣埅姒傝锛堢 2 鐗堬級</li> - </ul> - <div class="bodystyle"> - <div style="min-height:800px"><iframe :src="iframSrc" frameborder="0" - style="width: 100%; height: 800px"></iframe></div> </div> </div> </div> @@ -1719,7 +1706,6 @@ data() { return { pdfDialogRef: "", - iframSrc: "", showChoiceAnswer: false, showQuestionAnswer: false, showCheckAnswer: false, @@ -1792,7 +1778,6 @@ if (CheckQuestion) { this.questionData.check = JSON.parse(CheckQuestion); } - this.getModel() }, methods: { toUrl(val) { @@ -1885,17 +1870,6 @@ this.questionData.check.isComplete = false this.showCheckAnswer = false }, - // 涓夌淮妯″瀷 - getModel() { - const ctx = 'https://jsek.bnuic.com' - let localStr = - './static/modelView/index.html?md5=e405ef70e49088f167a0fd613b85b7b3' + - '&name=je' + - '&domain=' + - ctx + - '&target=iframe' - this.iframSrc = localStr - } } } @@ -1916,7 +1890,8 @@ margin: 0 !important; font-size: 16px !important; position: absolute !important; - left: 40% !important; + left: 50% !important; + transform: translateX(-50%); bottom: -2% !important; } @@ -1928,4 +1903,14 @@ .choice { padding: 0% !important; } + + +hr { + margin-left: 0; + margin-bottom: 4px; + width: 15.5%; + border: none; + height: 2px; + background-color: #000; +} </style> \ No newline at end of file -- Gitblit v1.9.1