1
This commit is contained in:
parent
72cae1ec15
commit
1a2752d972
@ -34,7 +34,8 @@
|
||||
//jiang 20250605
|
||||
// 定义白名单页面
|
||||
const publicPages = [
|
||||
'/pages/sljd/index'
|
||||
'/pages/sljd/index',
|
||||
'/pages/linktoapp/index'
|
||||
]
|
||||
|
||||
// 检查当前页面是否在白名单中
|
||||
|
@ -22,9 +22,9 @@
|
||||
<view class="action-area">
|
||||
<!-- 主跳转按钮 -->
|
||||
<button class="action-btn" @click="handleJump">立即打开APP</button>
|
||||
<uni-section title="自定义颜色" type="line" padding>
|
||||
<uni-link href="https://uniapp.dcloud.io/" text="https://uniapp.dcloud.io/" color="#007BFF"></uni-link>
|
||||
</uni-section>
|
||||
<uni-section title="自定义颜色" type="line" padding>
|
||||
<uni-link href="szcxapp://pages/login/login" text="立即打开APP" color="#007BFF"></uni-link>
|
||||
</uni-section>
|
||||
<!-- 备用方案 -->
|
||||
<view class="tips" v-if="showTips">
|
||||
<text>跳转失败?请尝试:</text>
|
||||
@ -67,6 +67,7 @@ const trySchemeJump = () => {
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
|
||||
// Android Intent方式跳转
|
||||
const tryIntentJump = () => {
|
||||
const iframe = document.getElementById('intentIframe')
|
||||
|
Loading…
Reference in New Issue
Block a user