From fe8384f1d7738ad06569ddde82ce1b2ee0e5c8c4 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 4 Jan 2024 15:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E5=8A=A9=E6=89=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/utils/PageBase.js | 3 + .../AppResidentAssistant.vue | 211 +++++++++++++----- 2 files changed, 164 insertions(+), 50 deletions(-) diff --git a/src/components/utils/PageBase.js b/src/components/utils/PageBase.js index c8b07de..7987717 100644 --- a/src/components/utils/PageBase.js +++ b/src/components/utils/PageBase.js @@ -21,6 +21,9 @@ class PageBase { if (/navigationBarBackgroundColor/.test(vue)) { this.style.navigationBarBackgroundColor = vue.replace(/[\s\S]*navigationBarBackgroundColor:([^,]+),[\s\S]*/gm, '$1').replace(/["']/g, '')?.trim() } + if (/enablePullDownRefresh/.test(vue)) { + this.style.enablePullDownRefresh = true + } } else { this.style = {navigationBarTitleText: this.label} //是否开启下拉刷新 diff --git a/src/project/biaopin/AppResidentAssistant/AppResidentAssistant.vue b/src/project/biaopin/AppResidentAssistant/AppResidentAssistant.vue index b87281b..8a97501 100644 --- a/src/project/biaopin/AppResidentAssistant/AppResidentAssistant.vue +++ b/src/project/biaopin/AppResidentAssistant/AppResidentAssistant.vue @@ -1,6 +1,6 @@