This commit is contained in:
lagos 2025-07-04 14:12:32 +08:00
parent 72cae1ec15
commit 1a2752d972
2 changed files with 6 additions and 4 deletions

View File

@ -34,7 +34,8 @@
//jiang 20250605 //jiang 20250605
// //
const publicPages = [ const publicPages = [
'/pages/sljd/index' '/pages/sljd/index',
'/pages/linktoapp/index'
] ]
// //

View File

@ -22,9 +22,9 @@
<view class="action-area"> <view class="action-area">
<!-- 主跳转按钮 --> <!-- 主跳转按钮 -->
<button class="action-btn" @click="handleJump">立即打开APP</button> <button class="action-btn" @click="handleJump">立即打开APP</button>
<uni-section title="自定义颜色" type="line" padding> <uni-section title="自定义颜色" type="line" padding>
<uni-link href="https://uniapp.dcloud.io/" text="https://uniapp.dcloud.io/" color="#007BFF"></uni-link> <uni-link href="szcxapp://pages/login/login" text="立即打开APP" color="#007BFF"></uni-link>
</uni-section> </uni-section>
<!-- 备用方案 --> <!-- 备用方案 -->
<view class="tips" v-if="showTips"> <view class="tips" v-if="showTips">
<text>跳转失败请尝试</text> <text>跳转失败请尝试</text>
@ -67,6 +67,7 @@ const trySchemeJump = () => {
}, 1000) }, 1000)
} }
// Android Intent // Android Intent
const tryIntentJump = () => { const tryIntentJump = () => {
const iframe = document.getElementById('intentIframe') const iframe = document.getElementById('intentIframe')