diff --git a/pages/API/get-univerify-manager/get-univerify-manager.uvue b/pages/API/get-univerify-manager/get-univerify-manager.uvue index 49c76efede6bb53e1ffdf53a561fcdeb0ae36041..00416d90a9e7c2cf876cb6775c2da80c08a8c109 100644 --- a/pages/API/get-univerify-manager/get-univerify-manager.uvue +++ b/pages/API/get-univerify-manager/get-univerify-manager.uvue @@ -3,13 +3,13 @@ - + - + - + @@ -25,10 +25,6 @@ slogan: '', privacyName: '', privacyUrl: '' - // phone: '176****6657', - // slogan: '认证服务由中国联通提供', - // privacyName: '中国联通认证服务条款', - // privacyUrl: 'https://opencloud.wostore.cn/authz/resource/html/disclaimer.html?fromsdk=true' } }, onLoad() { @@ -49,9 +45,15 @@ }, pushCustomPage() { const url = '/pages/API/get-univerify-manager/univerify-custom-page?phone=' + this.phone + '&slogan=' + this.slogan + '&name=' + this.privacyName + '&link=' + this.privacyUrl; - uni.navigateTo({ - url: url, - animationType: "slide-in-bottom", + uni.openDialogPage({ + url: url, + animationType: 'slide-in-bottom', + success(res) { + console.log("成功打开自定义登录页面"); + }, + fail(err) { + console.log(err); + } }) }, verify(fullScreen : boolean) { diff --git a/pages/API/get-univerify-manager/univerify-custom-page.uvue b/pages/API/get-univerify-manager/univerify-custom-page.uvue index b654c3e9e9743fe03ea896acf280cecff25af0cd..a26cade2dfe5d6dbc03b67dad7f472e2e60d2772 100644 --- a/pages/API/get-univerify-manager/univerify-custom-page.uvue +++ b/pages/API/get-univerify-manager/univerify-custom-page.uvue @@ -39,7 +39,16 @@ }, methods: { closePage() { - uni.navigateBack() + uni.closeDialogPage({ + dialogPage: this.$page, + animationType:'slide-out-bottom', + success(res) { + console.log('closeThisDialog success', res) + }, + fail(err) { + console.log('closeThisDialog fail', err) + } + }) }, openLink() { let url = '/pages/API/get-univerify-manager/univerify-privacy-page?url=' + this.privacyUrl; @@ -56,11 +65,11 @@ }, loginIn() { - const numberTextElement = uni.getElementById('number-text'); - const sloganTextElement = uni.getElementById('slogan-text'); - const loginButtonElement = uni.getElementById('login-button'); - const privacyCheckBoxElement = uni.getElementById('privacy-checkbox'); - const privacyTextElement = uni.getElementById('privacy-text'); + const numberTextElement = this.$page.getElementById('number-text'); + const sloganTextElement = this.$page.getElementById('slogan-text'); + const loginButtonElement = this.$page.getElementById('login-button'); + const privacyCheckBoxElement = this.$page.getElementById('privacy-checkbox'); + const privacyTextElement = this.$page.getElementById('privacy-text'); this.univerifyManager?.customLogin({ numberTextElement: numberTextElement!, @@ -187,7 +196,7 @@ } .privacy { - margin-top: 5px; + margin-top: 10px; margin-left: 5px; flex-direction: row; flex-wrap: wrap; @@ -202,8 +211,9 @@ } .privacy-text { - margin-top: 4px; - color: #2785ff; + margin-top: 4px; + font-weight: bold; + color: black; font-size: 14px; } diff --git a/pages/API/get-univerify-manager/univerify-privacy-page.uvue b/pages/API/get-univerify-manager/univerify-privacy-page.uvue index 95be8d4da2c6ceeda682fe8b7de737f2f7520ca7..d59e4f4f2333adfe63224df84dea0942368054c9 100644 --- a/pages/API/get-univerify-manager/univerify-privacy-page.uvue +++ b/pages/API/get-univerify-manager/univerify-privacy-page.uvue @@ -1,14 +1,12 @@ @@ -17,7 +15,7 @@ data() { return { url: '', - backIcon:'\uE601' + closeIcon: '\uE650' } }, onLoad(options : OnLoadOptions) { @@ -30,7 +28,6 @@ animationType:'slide-out-bottom', success(res) { console.log('closeThisDialog success', res) - }, fail(err) { console.log('closeThisDialog fail', err) @@ -43,30 +40,30 @@