From 83e49ed8b1ab05dd332def0fba6c3703d1e91373 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 11 八月 2023 16:32:28 +0800 Subject: [PATCH] Merge branch 'feature/v1.1.5开发' into develop --- uniapp/utils/utils.js | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/uniapp/utils/utils.js b/uniapp/utils/utils.js index 3839885..3909262 100644 --- a/uniapp/utils/utils.js +++ b/uniapp/utils/utils.js @@ -213,6 +213,29 @@ }) } } + else if(info.url_type == 15) + {//璺宠浆娣樺疂椤甸潰 + let tburl = info.parameter_json.url == undefined ? '' : info.parameter_json.url; + console.log(tburl) + if(tburl == '') return false; + // #ifdef APP-PLUS + if (plus.runtime.isApplicationExist({ + pname: 'com.taobao.taobao', + action: 'taobao://' + })) { + const plug = uni.requireNativePlugin('xiguazhu-baichuan') + plug.detailPage({ + url: tburl, + "openType": 0 + }, result => { + }); + } else { + uni.navigateTo({ + url:'@/webView/webView?url=' + tburl + }) + } + // #endif + } } else { uni.redirectTo({ -- Gitblit v1.9.3