From f350dcca5ce95d777286a9d9299e4dc8e9b1b375 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Sun, 1 Dec 2024 07:21:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=8E=9F=E7=94=9F=E5=BC=B9?= =?UTF-8?q?=E7=AA=97api=E7=9A=84=E9=A1=B5=E9=9D=A2hide=E7=94=9F=E5=91=BD?= =?UTF-8?q?=E5=91=A8=E6=9C=9F=E3=80=82=E4=BC=98=E5=8C=96=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E4=B8=80=E9=94=AE=E7=99=BB=E9=99=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/choose-image/choose-image.uvue | 3 +++ pages/API/choose-location/choose-location.uvue | 5 +++++ pages/API/choose-video/choose-video.uvue | 3 +++ .../create-rewarded-video-ad/create-rewarded-video-ad.uvue | 3 +++ pages/API/get-univerify-manager/univerify-custom-page.uvue | 7 +++---- pages/API/open-location/open-location.uvue | 3 +++ 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/pages/API/choose-image/choose-image.uvue b/pages/API/choose-image/choose-image.uvue index b813f325..1878471a 100644 --- a/pages/API/choose-image/choose-image.uvue +++ b/pages/API/choose-image/choose-image.uvue @@ -163,6 +163,9 @@ cropResize: false } }, + onHide() { + console.log("Page Hide"); + }, onUnload() { this.imageList = []; this.sourceTypeIndex = 2 diff --git a/pages/API/choose-location/choose-location.uvue b/pages/API/choose-location/choose-location.uvue index 0372ee17..5e2f9528 100644 --- a/pages/API/choose-location/choose-location.uvue +++ b/pages/API/choose-location/choose-location.uvue @@ -47,6 +47,9 @@ hoverPayload: false } }, + onHide() { + console.log("Page Hide"); + }, methods: { chooseLocation: function () { let chooseLocationOptions = { @@ -106,8 +109,10 @@ test() { const pages = getCurrentPages() const page = pages[pages.length - 1] + // #ifdef APP || WEB const dialogPages = page.getDialogPages() this.dialogPagesNum = dialogPages.length + // #endif } } } diff --git a/pages/API/choose-video/choose-video.uvue b/pages/API/choose-video/choose-video.uvue index 5f684d2e..0d8884df 100644 --- a/pages/API/choose-video/choose-video.uvue +++ b/pages/API/choose-video/choose-video.uvue @@ -58,6 +58,9 @@ albumMode: "custom" } }, + onHide() { + console.log("Page Hide"); + }, methods: { chooseVideo() { uni.chooseVideo({ diff --git a/pages/API/create-rewarded-video-ad/create-rewarded-video-ad.uvue b/pages/API/create-rewarded-video-ad/create-rewarded-video-ad.uvue index 0f768592..7c0af983 100644 --- a/pages/API/create-rewarded-video-ad/create-rewarded-video-ad.uvue +++ b/pages/API/create-rewarded-video-ad/create-rewarded-video-ad.uvue @@ -17,6 +17,9 @@ onReady() { this.loadAd() }, + onHide() { + console.log("Page Hide"); + }, methods: { loadAd() { if (this.btnDisable) diff --git a/pages/API/get-univerify-manager/univerify-custom-page.uvue b/pages/API/get-univerify-manager/univerify-custom-page.uvue index 7139dad3..7d9a521b 100644 --- a/pages/API/get-univerify-manager/univerify-custom-page.uvue +++ b/pages/API/get-univerify-manager/univerify-custom-page.uvue @@ -2,7 +2,7 @@ {{closeIcon}} - 登录后 体验完整功能 + 这是一个普通uvue的dialogPage页面 {{phone}} {{slogan}} @@ -10,7 +10,7 @@ - 已阅读并同意 + 登录即同意 {{privacyName}} 其他登录方式 @@ -151,12 +151,11 @@ top: 15px; font-family: uni-icon; font-size: 24px; + /* font-weight: bold; */ } .title { - font-size: 20px; align-self: center; - font-weight: bold; top: 20px; } diff --git a/pages/API/open-location/open-location.uvue b/pages/API/open-location/open-location.uvue index f8370310..1fb7386f 100644 --- a/pages/API/open-location/open-location.uvue +++ b/pages/API/open-location/open-location.uvue @@ -54,6 +54,9 @@ title: 'openLocation' } }, + onHide() { + console.log("Page Hide"); + }, methods: { openLocation: function (e) { console.log(e) -- GitLab