From 816958aca8b87550ef7f6925e348c24e13ecb2f0 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期二, 11 六月 2024 16:34:29 +0800 Subject: [PATCH] 优化 --- src/books/lifeCare/view/components/chapter006.vue | 33 +++++++++++++++++---------------- 1 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/books/lifeCare/view/components/chapter006.vue b/src/books/lifeCare/view/components/chapter006.vue index 6e91455..47a3f34 100644 --- a/src/books/lifeCare/view/components/chapter006.vue +++ b/src/books/lifeCare/view/components/chapter006.vue @@ -3,7 +3,9 @@ <div class="page-box" page="104"> <div v-if="showPageList.indexOf(104) > -1"> <div class="bodystyle topImg"> - <h2 id="b006"><img class="img-0" alt="" src="../../image/dy6.jpg" /></h2> + <h2 id="b006"> + <img class="img-0" alt="" src="../../image/dy6.jpg" /> + </h2> <div class="bk"> <div class="bj1"> <p class="left"> @@ -623,12 +625,11 @@ </div> --> <p class="pic-wall chapter-006"> <span - >1.鏍规嵁浠ヤ笂鎯呭锛岄拡瀵规煇涓�骞撮緞娈碉紝浠ュ皬缁勫悎浣滅殑鏂瑰紡鍏卞悓璁捐涓�涓富棰樺楗帮紝浣垮┐骞煎効鑳藉叿浣撱�佺洿瑙傚湴鐪嬪埌鑷繁鐨勯ギ姘撮噺锛屽悓鏃朵篃渚夸簬鎵樿偛鍥搷浣溿�傚湪涓嬫柟鐢诲嚭璁捐鑽夊浘锛屽苟鍒朵綔瀹屾垚銆�</span - > - <span class="btnUpload-list btn" @click="handFile('fileThree')"> + >1.鏍规嵁浠ヤ笂鎯呭锛岄拡瀵规煇涓�骞撮緞娈碉紝浠ュ皬缁勫悎浣滅殑鏂瑰紡鍏卞悓璁捐涓�涓富棰樺楗帮紝浣垮┐骞煎効鑳藉叿浣撱�佺洿瑙傚湴鐪嬪埌鑷繁鐨勯ギ姘撮噺锛屽悓鏃朵篃渚夸簬鎵樿偛鍥搷浣溿�傚湪涓嬫柟鐢诲嚭璁捐鑽夊浘锛屽苟鍒朵綔瀹屾垚銆� <svg + @click="handFile('fileThree')" t="1717059899765" - class="icon" + class="icon btnUpload-chapter006" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" @@ -707,21 +708,21 @@ 涓诲叕楗按鐨勪範鎯� </td> <td> - <div contenteditable @blur="updateCell162($event,'text1')"> + <div contenteditable @blur="updateCell162($event, 'text1')"> {{ chapter006.tableData162.text1 }} </div> </td> </tr> <tr> <td> - <div contenteditable @blur="updateCell162($event,'text2')"> + <div contenteditable @blur="updateCell162($event, 'text2')"> {{ chapter006.tableData162.text2 }} </div> </td> </tr> <tr> <td> - <div contenteditable @blur="updateCell162($event,'text3')"> + <div contenteditable @blur="updateCell162($event, 'text3')"> {{ chapter006.tableData162.text3 }} </div> </td> @@ -731,21 +732,21 @@ 鎰挎剰鍠濈櫧寮�姘寸殑涔犳儻 </td> <td> - <div contenteditable @blur="updateCell162($event,'text4')"> + <div contenteditable @blur="updateCell162($event, 'text4')"> {{ chapter006.tableData162.text4 }} </div> </td> </tr> <tr> <td> - <div contenteditable @blur="updateCell162($event,'text5')"> + <div contenteditable @blur="updateCell162($event, 'text5')"> {{ chapter006.tableData162.text5 }} </div> </td> </tr> <tr> <td> - <div contenteditable @blur="updateCell162($event,'text6')"> + <div contenteditable @blur="updateCell162($event, 'text6')"> {{ chapter006.tableData162.text6 }} </div> </td> @@ -755,21 +756,21 @@ 鍏朵粬鑹ソ鐨勯ギ姘翠範鎯� </td> <td> - <div contenteditable @blur="updateCell162($event,'text7')"> + <div contenteditable @blur="updateCell162($event, 'text7')"> {{ chapter006.tableData162.text7 }} </div> </td> </tr> <tr> <td> - <div contenteditable @blur="updateCell162($event,'text8')"> + <div contenteditable @blur="updateCell162($event, 'text8')"> {{ chapter006.tableData162.text8 }} </div> </td> </tr> <tr> <td> - <div contenteditable @blur="updateCell162($event,'text9')"> + <div contenteditable @blur="updateCell162($event, 'text9')"> {{ chapter006.tableData162.text9 }} </div> </td> @@ -1573,9 +1574,9 @@ this.$set(this.chapter006.tableData161[rowIndex], cellIndex, value); localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); }, - updateCell162(e,val) { + updateCell162(e, val) { // 鏇存柊鍗曞厓鏍兼暟鎹� - this.chapter006.tableData162[val] = e.target.innerText + this.chapter006.tableData162[val] = e.target.innerText; localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); }, onBlurChange() { -- Gitblit v1.9.1