From 2115fa126543700a7a15235bf3e5fceeb7e39e00 Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期三, 18 十二月 2024 10:57:22 +0800
Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master

---
 packageBookService/pages/psychologyAnswer/questionList/index.js |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/packageBookService/pages/psychologyAnswer/questionList/index.js b/packageBookService/pages/psychologyAnswer/questionList/index.js
index 7df872e..95e115a 100644
--- a/packageBookService/pages/psychologyAnswer/questionList/index.js
+++ b/packageBookService/pages/psychologyAnswer/questionList/index.js
@@ -62,11 +62,23 @@
       type: 'fraction'
     },
     showIndex: 0,
-    isPlay: false
+    isPlay: false,
+    height: 0
   },
+
   ready() {
-    console.log(this.properties.questionList, "questionList");
+    const query = wx.createSelectorQuery().in(this);
+    query.select('#question-title').boundingClientRect((rect) => {
+      this.setData({
+        height: 'calc(100% - 30px - ' + rect.height + 'px)'
+      })
+    }).exec();
+
+
   },
+
+
+
   /**
    * 缁勪欢鐨勬柟娉曞垪琛�
    */

--
Gitblit v1.9.1