From 8f6329a8ea3f85b6bc9f751449109cba06b73591 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期一, 03 六月 2024 17:33:21 +0800 Subject: [PATCH] 体育与健康 --- src/books/lifeCare/view/chapter005.vue | 137 ++++++++++++++++++++++++++++++++++++--------- 1 files changed, 108 insertions(+), 29 deletions(-) diff --git a/src/books/lifeCare/view/chapter005.vue b/src/books/lifeCare/view/chapter005.vue index 812bcc1..1988aab 100644 --- a/src/books/lifeCare/view/chapter005.vue +++ b/src/books/lifeCare/view/chapter005.vue @@ -383,8 +383,12 @@ </div> <p><br /></p> <p>3.灏忕粍璁ㄨ鍒嗘瀽鍚勪綅鎴愬憳鐨勪竴鏃ラ璋憋紝璇勫嚭鏈�浣充竴鏃ラ璋便��</p> - <p class="pic-wall">锛�1锛夎鐢ㄥ浘鐗囧舰寮忓憟鐜帮紝骞惰创鍦ㄤ笅闈€��<span class="btnUpload-list" @click="handFile('fileTwo')"> - <svg + <p class="pic-wall"> + 锛�1锛夎鐢ㄥ浘鐗囧舰寮忓憟鐜帮紝骞惰创鍦ㄤ笅闈€��<span + class="btnUpload-list" + @click="handFile('fileTwo')" + > + <svg t="1717059899765" class="icon" viewBox="0 0 1024 1024" @@ -402,8 +406,7 @@ <path d="M796.366227 796.430223v-142.199112a28.414224 28.414224 0 0 1 56.892444 0v142.199112h142.199113a28.414224 28.414224 0 0 1 0 56.828448h-142.199113v142.263109a28.414224 28.414224 0 0 1-56.95644 0v-142.263109h-142.135116a28.414224 28.414224 0 0 1 0-56.828448h142.199112z" p-id="2635" - > - </path> + ></path> </svg> </span> </p> @@ -2598,23 +2601,79 @@ <thead> <tr> <th>濠村辜鍎垮鍚�</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text1" + @blur="changeThVal($event, 'text1')" + /> + </td> <th>鎬у埆</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text2" + @blur="changeThVal($event, 'text2')" + /> + </td> <th>骞撮緞</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text3" + @blur="changeThVal($event, 'text3')" + /> + </td> <th>鐝骇</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text4" + @blur="changeThVal($event, 'text4')" + /> + </td> </tr> <tr> <th>瀹堕暱濮撳悕</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text5" + @blur="changeThVal($event, 'text5')" + /> + </td> <th>鑱旂郴鏂瑰紡</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text6" + @blur="changeThVal($event, 'text6')" + /> + </td> <th>瀹跺涵浣忓潃</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text7" + @blur="changeThVal($event, 'text7')" + /> + </td> <th>璁板綍鏃堕棿</th> - <th></th> + <td> + <textarea + rows="2" + style="min-width: 80px;max-width:80px;font-size: 14px" + v-model="chapter005.textTh.text8" + @blur="changeThVal($event, 'text8')" + /> + </td> </tr> </thead> <tbody> @@ -2642,6 +2701,13 @@ </template> <template v-else> <input + :readonly=" + cell == '闂琛ㄧ幇' || + cell == '鍘熷洜鍒嗘瀽' || + cell == '閲囧彇鎺柦' || + cell == '鏁堟灉鍒嗘瀽' || + cell == '鍚庣画寤鸿' + " type="text" :value="chapter005.tableData156[rowIndex][cellIndex]" @blur=" @@ -2658,6 +2724,7 @@ </tbody> </table> </div> + <p><br/></p> <h3 id="c020"> <span class="bk-h3" ><span class="bj1-h3">鍏�</span>銆�銆�椁愬悗淇濊偛銆�</span @@ -3436,7 +3503,7 @@ ["", "", "", ""], ], // 1-5-3 - headers153: ["閫傚悎鏈堥緞", "7-2鏈堥緞", "13-24鏈堥緞", "24浠ヤ笂鏈堥緞"], // 琛ㄥご + headers153: ["閫傚悎鏈堥緞", "7-12鏈堥緞", "13-24鏈堥緞", "24浠ヤ笂鏈堥緞"], // 琛ㄥご tableData153: [ // 浜岀淮鏁扮粍浣滀负琛ㄦ牸鏁版嵁 ["椋熺墿鍚嶇О", "", "", ""], @@ -3458,7 +3525,7 @@ headers155: [ "鍠傚吇鍘熷垯", "閫傚悎鏈堥緞", - "7-2鏈堥緞", + "7-12鏈堥緞", "13-24鏈堥緞", "24浠ヤ笂鏈堥緞", ], @@ -3479,6 +3546,7 @@ ], textAreaItem: {}, radio: {}, + textTh: {}, }, }; }, @@ -3491,26 +3559,26 @@ if (localData) { this.chapter005 = { ...Object.assign(this.chapter005, localData) }; } - this.chapter005.videOneUrl = getResourcePath( + this.chapter005.videOneUrl = await getResourcePath( "439b0bde62a5098875c77e2492676577" ); - this.chapter005.videoTwoUrl = getResourcePath( + this.chapter005.videoTwoUrl = await getResourcePath( "1a878261410b01ee8e4e0602a1fe935f" ); - this.chapter005.videoFourUrl = getResourcePath( + this.chapter005.videoFourUrl = await getResourcePath( "6cf2619beb704b3d79de04f0775c8ba3" ); - this.chapter005.videoFiveUrl = getResourcePath( + this.chapter005.videoFiveUrl = await getResourcePath( "8400384441ad9236d5eab24f500ec2c7" ); - this.chapter005.videOneUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; - this.chapter005.videoTwoUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; - this.chapter005.videoFourUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; - this.chapter005.videoFiveUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; + // this.chapter005.videOneUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; + // this.chapter005.videoTwoUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; + // this.chapter005.videoFourUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; + // this.chapter005.videoFiveUrl = + // "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; }, methods: { activityOne() { @@ -3643,6 +3711,11 @@ this.$set(this.chapter005.tableData155[rowIndex], cellIndex, value); localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); }, + updateCell156(rowIndex, cellIndex, value) { + // 鏇存柊鍗曞厓鏍兼暟鎹� + this.$set(this.chapter005.tableData156[rowIndex], cellIndex, value); + localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); + }, onBlurChange() { localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); }, @@ -3676,8 +3749,8 @@ if (type == "3") { that.chapter005.pictrueListThree.push(getPublicImage(e)); } - that.isLoding = false; - localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); + that.$emit('Upload_initViewer',"") + localStorage.setItem("chapter005", JSON.stringify(that.chapter005)); }, 1000); }) .catch((e) => { @@ -3686,13 +3759,19 @@ }); }, handFile(str) { - let dom = (this.container ? this.container : document).getElementById(str); + let dom = (this.container ? this.container : document).getElementById( + str + ); dom.click(); }, drawflowDataClick(val) { this.chapter005.drawData = val; localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); }, + changeThVal(e, val) { + this.chapter005.textTh[val] = e.target.value; + localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); + }, }, }; </script> -- Gitblit v1.9.1