From f9d4b09377c5471e1202be2fef2c89de27b6654d Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期三, 13 三月 2024 19:50:42 +0800
Subject: [PATCH] feat(撒): 的

---
 pages/bibliographyList/index.js |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/pages/bibliographyList/index.js b/pages/bibliographyList/index.js
index cab19a3..d3fee23 100644
--- a/pages/bibliographyList/index.js
+++ b/pages/bibliographyList/index.js
@@ -26,13 +26,12 @@
       this.vocationalGet()
       this.teacherGet()
 
-
-      //鑾峰彇绯荤粺淇℃伅锛岀姸鎬佹爮楂樺害涓簊ysInfo['statusBarHeight'];
-      let sysInfo = wx.getSystemInfoSync();
-      let menu = wx.getMenuButtonBoundingClientRect(); //鑳跺泭淇℃伅
-      let navBarHeight = (menu.top - sysInfo.statusBarHeight) * 2 + menu.height; // 瀵艰埅鏍忛珮搴� 
+      const systInfo = wx.getSystemInfoSync();
+      const menu = wx.getMenuButtonBoundingClientRect(); // 鑳跺泭淇℃伅
+      const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 瀵艰埅鏍忛珮搴�
       this.setData({
-        BarHeight: sysInfo.statusBarHeight, navBarHeight: navBarHeight
+        navBarHeight: navBarHeight,
+        barHeight: systInfo.statusBarHeight,
       })
 
 
@@ -264,6 +263,8 @@
     },
 
 
-
+    goBack() {
+      wx.navigateBack();
+    },
 
   })
\ No newline at end of file

--
Gitblit v1.9.1