From 81c23f9c2f5bdfbe962d0b19a5a80ea7c12f043d Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 10 七月 2024 17:39:02 +0800 Subject: [PATCH] 二维码 --- 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