From e900c6b30a1ad94b39c431988284fd7b997f4fa8 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 13 十二月 2024 18:53:11 +0800
Subject: [PATCH] 样式问题调整

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

diff --git a/packageBookService/pages/psychologyAnswer/questionList/index.js b/packageBookService/pages/psychologyAnswer/questionList/index.js
index 50596c2..95e115a 100644
--- a/packageBookService/pages/psychologyAnswer/questionList/index.js
+++ b/packageBookService/pages/psychologyAnswer/questionList/index.js
@@ -62,8 +62,23 @@
       type: 'fraction'
     },
     showIndex: 0,
-    isPlay: false
+    isPlay: false,
+    height: 0
   },
+
+  ready() {
+    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