From 2ee8ddb1ecac7df4198e54e08ec7f22daf4b07c0 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期五, 03 一月 2025 16:57:38 +0800 Subject: [PATCH] 111 --- packageBookService/pages/psychologyAnswer/questionList/index.js | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/packageBookService/pages/psychologyAnswer/questionList/index.js b/packageBookService/pages/psychologyAnswer/questionList/index.js index e6934a4..d1681b1 100644 --- a/packageBookService/pages/psychologyAnswer/questionList/index.js +++ b/packageBookService/pages/psychologyAnswer/questionList/index.js @@ -39,13 +39,12 @@ } }, observers: {}, - detached() { - if (innerAudioContext) { - innerAudioContext.stop(); - innerAudioContext.destroy(); - } - - }, + // detached() { + // if (innerAudioContext) { + // innerAudioContext.stop(); + // innerAudioContext.destroy(); + // } + // }, /** * 缁勪欢鐨勫垵濮嬫暟鎹� */ @@ -69,9 +68,11 @@ ready() { const query = wx.createSelectorQuery().in(this); query.select('#question-title').boundingClientRect((rect) => { - this.setData({ - height: 'calc(100% - 30px - ' + rect.height + 'px)' - }) + if (rect) { + this.setData({ + height: 'calc(100% - 30px - ' + rect.height + 'px)' + }) + } }).exec(); }, @@ -130,6 +131,7 @@ } // 瑙﹀彂浜嬩欢鐨勯�夐」 this.triggerEvent('onChangeRadio', myEventDetail, myEventOption) }, + // 澶氶�夎Е鍙� onChangeCheck(e) { var myEventDetail = { -- Gitblit v1.9.1