From 82aada5ecde36ef038eb918de936799cb8ded075 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 29 Apr 2025 20:13:18 +0800 Subject: [PATCH] =?UTF-8?q?reactor=EF=BC=9AosName=20=E7=9A=84=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=EF=BC=8C=E4=BB=8E=20getSystemInfoSync=20=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E5=88=B0=20getDeviceInfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reactor:pixelRatio/windowHeight/windowWidth 的获取,从 getSystemInfoSync 迁移到 getWindowInfo --- sheep/ui/su-tabs/su-tabs.vue | 7 ++++--- .../components/l-painter/l-painter.vue | 18 +++++++++--------- .../lime-painter/components/l-painter/nvue.js | 5 +---- .../lime-painter/components/l-painter/utils.js | 5 +++-- .../uni-datetime-picker/time-picker.vue | 2 +- .../uni-datetime-picker.vue | 2 +- .../components/uni-nav-bar/uni-status-bar.vue | 2 +- .../uni-notice-bar/uni-notice-bar.vue | 2 +- 8 files changed, 21 insertions(+), 22 deletions(-) diff --git a/sheep/ui/su-tabs/su-tabs.vue b/sheep/ui/su-tabs/su-tabs.vue index 05d7dcb3..0cd0b93c 100644 --- a/sheep/ui/su-tabs/su-tabs.vue +++ b/sheep/ui/su-tabs/su-tabs.vue @@ -72,7 +72,7 @@ diff --git a/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue b/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue index 424430da..5aa1c566 100644 --- a/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue +++ b/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue @@ -187,7 +187,7 @@ // #endif // #ifdef APP-NVUE dom.getComponentRect(this.$refs['animationEle'], (res) => { - let winWidth = uni.getSystemInfoSync().windowWidth + let winWidth = uni.getWindowInfo().windowWidth this.textWidth = res.size.width animation.transition(this.$refs['animationEle'], { styles: {