From 103db27cd0ca6b3305e95170dc297380f97fcc70 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 25 四月 2024 17:05:47 +0800 Subject: [PATCH] bug3 --- pages/bookExhibitionDetails/index.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pages/bookExhibitionDetails/index.js b/pages/bookExhibitionDetails/index.js index 21ac2b4..8a752fa 100644 --- a/pages/bookExhibitionDetails/index.js +++ b/pages/bookExhibitionDetails/index.js @@ -27,6 +27,8 @@ * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇 */ onLoad(options) { + + const systInfo = wx.getSystemInfoSync(); const menu = wx.getMenuButtonBoundingClientRect(); // 鑳跺泭淇℃伅 const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 瀵艰埅鏍忛珮搴� @@ -47,6 +49,10 @@ this.bookExhibitionGet(passId) this.getBookExhibitionDetails() + + wx.setNavigationBarTitle({ + title: this.data.subtitleName + }); }, /** -- Gitblit v1.9.1