From 4eba4a903cf4d4fecfa570e863e7c3f888bec9e0 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 14 六月 2024 16:56:56 +0800 Subject: [PATCH] 学前儿童bug修改 --- src/books/childHealth/view/content/components/chapter010.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter010.vue b/src/books/childHealth/view/content/components/chapter010.vue index b1385e8..15a32b6 100644 --- a/src/books/childHealth/view/content/components/chapter010.vue +++ b/src/books/childHealth/view/content/components/chapter010.vue @@ -344,7 +344,7 @@ <p>鍏ㄦ棩鍒跺辜鍎垮洯鍚勯」鐢ㄦ埧浣跨敤闈㈢Н鍜屽缓绛戦潰绉姹傚弬瑙佽〃10-1銆�</p> <p class="img"> 琛�10-1 鍏ㄦ棩鍒跺辜鍎垮洯鍚勯」鐢ㄦ埧浣跨敤闈㈢Н鍜屽缓绛戦潰绉竴瑙堣〃<a id="w1"></a - ><a href="chapter010.html#m1"><sup>[1]</sup></a> + ><a href="javascript: void(0)" @click="gotoLabel('childTen-labelOne')" class="cu-pr"><sup>[1]</sup></a> </p> <p class="center openImgBox"> <img src="../../../assets/images/chapterTen/0272-1.jpg" class="w100"> @@ -365,7 +365,7 @@ 妤兼搴旀寜鐓т繚闅滃畨鍏ㄣ�佷究浜庤璧板拰鐤忔暎鐨勫師鍒欐潵璁捐锛屾ゼ姊唴搴斿ぉ鐒堕噰鍏夈�傜枏鏁fゼ姊弗绂佷娇鐢ㄨ灪鏃嬪舰鎴栨墖褰㈣笍姝ャ�傛ゼ姊笍姝ラ潰搴旈噰鐢ㄩ槻婊戞潗鏂欙紝韪忔韪㈤潰涓嶅簲婕忕┖锛岃笍姝ラ潰搴� </p> <div class="annotation-border"></div> - <p class="note"> + <p class="note" id="childTen-labelOne"> <a id="m1"></a><a href="chapter010.html#w1">[1]</a> 鎽樿嚜銆婂辜鍎垮洯寤鸿鏍囧噯銆嬶紙寤烘爣175鈥�2016锛夈�� </p> @@ -1488,6 +1488,9 @@ this.$data.pathOne = await getResourcePath("3f507f73eb9d8c2af4dfcfb032ae696e"); this.$data.pathTwo = await getResourcePath("93d4edcc8ef4f947ebfb0cee38ccaa71"); }, + gotoLabel(id) { + (this.container ? this.container : document).getElementById(id).scrollIntoView() + } }, }; </script> -- Gitblit v1.9.1