From b7d6ab90c8de00f44b73501c27130556ef8dfb96 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 31 五月 2024 18:39:03 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/lifeCare/index.vue | 2 +- src/books/lifeCare/view/chapter010.vue | 3 --- src/books/lifeCare/css/default.less | 12 ++++++++---- src/books/lifeCare/view/chapter007.vue | 9 +++++++-- src/books/lifeCare/view/front001.vue | 6 +++--- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/src/books/lifeCare/css/default.less b/src/books/lifeCare/css/default.less index 92a8357..060fc08 100644 --- a/src/books/lifeCare/css/default.less +++ b/src/books/lifeCare/css/default.less @@ -28,6 +28,7 @@ text-indent: 2em; max-width: 630px; min-height: 100px; + font-size: 16px; } .coverImg { @@ -440,6 +441,10 @@ overflow: hidden; white-space: pre-line; + input { + font-size: 14px; + } + textarea { width: 100%; min-height: 20px; @@ -563,9 +568,8 @@ } .btnUpload { - width: 60px; - height: 60px; - border: 2px dashed #f49a4c; + width: 30px; + height: 30px; display: flex; justify-content: center; align-items: center; @@ -1100,7 +1104,7 @@ } .imz { - width: 96%; + width: 100%; text-align: center; } diff --git a/src/books/lifeCare/index.vue b/src/books/lifeCare/index.vue index 6d97b95..6491730 100644 --- a/src/books/lifeCare/index.vue +++ b/src/books/lifeCare/index.vue @@ -186,7 +186,7 @@ }, mounted() { // 榛樿鍔犺浇绔犺妭 - this.showCatalogList = [8]; + this.showCatalogList = [1]; // 婊氬姩鐩戝惉鑺傛祦 this.throttledScrollHandler = _.throttle( this.scrollFun, diff --git a/src/books/lifeCare/view/chapter007.vue b/src/books/lifeCare/view/chapter007.vue index ed6877b..f98b3eb 100644 --- a/src/books/lifeCare/view/chapter007.vue +++ b/src/books/lifeCare/view/chapter007.vue @@ -2234,8 +2234,8 @@ :style="{ width: index == chapter007.headersData173.length - 1 - ? '300px' - : '', + ? '350px' + : index == 0?'60px':'', }" v-for="(header, index) in chapter007.headersData173" :key="index" @@ -2899,6 +2899,11 @@ this.$set(this.chapter007.tableData161[rowIndex], cellIndex, value); localStorage.setItem("chapter007", JSON.stringify(this.chapter007)); }, + updateCell173(rowIndex, cellIndex, value) { + // 鏇存柊鍗曞厓鏍兼暟鎹� + this.$set(this.chapter007.tableData173[rowIndex], cellIndex, value); + localStorage.setItem("chapter007", JSON.stringify(this.chapter007)); + }, onBlurChange() { localStorage.setItem("chapter007", JSON.stringify(this.chapter007)); }, diff --git a/src/books/lifeCare/view/chapter010.vue b/src/books/lifeCare/view/chapter010.vue index aca968e..477031d 100644 --- a/src/books/lifeCare/view/chapter010.vue +++ b/src/books/lifeCare/view/chapter010.vue @@ -406,9 +406,6 @@ </div> </div> <div class="bodystyle"> - <p class="center openImgBox"> - <img class="img-a" alt="" src="../image/0168-1.jpg" /> - </p> <h4 class="h4-zt" id="d099">锛堜簩锛夊悎鐞嗙殑涓�鏃ョ敓娲荤殑鎰忎箟</h4> <h5 class="h5-zt" id="e089">1.淇冭繘濠村辜鍎垮吇鎴愯壇濂界殑涔犳儻</h5> <p> diff --git a/src/books/lifeCare/view/front001.vue b/src/books/lifeCare/view/front001.vue index 1cf6466..3137212 100644 --- a/src/books/lifeCare/view/front001.vue +++ b/src/books/lifeCare/view/front001.vue @@ -12,7 +12,7 @@ <div class="page-box" page="2"> <div v-if="showPageList.indexOf(2) > -1"> <div class="bodystyle"> - <p class="center"> + <p class="center coverImg"> <img alt="" class="imz" src="../image/SMY.jpg" /> </p> </div> @@ -215,9 +215,9 @@ <div class="page-box" page="9"> <div v-if="showPageList.indexOf(9) > -1"> <div class="bodystyle"> - <h1 id="a007"> + <p class="center coverImg"> <img class="imz" alt="" src="../image/0011-1.jpg" /> - </h1> + </p> </div> </div> </div> -- Gitblit v1.9.1