From 5f5179811a778b6bd996ed64cae2a96f5ccc437f Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期四, 13 七月 2023 17:02:20 +0800
Subject: [PATCH] no message

---
 uniapp/utils/utils.js |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/uniapp/utils/utils.js b/uniapp/utils/utils.js
index aa0a970..3909262 100644
--- a/uniapp/utils/utils.js
+++ b/uniapp/utils/utils.js
@@ -45,6 +45,7 @@
 
 
 common.goUrl = function(info, _this) {
+	console.log(info)
 	var userinfo = common.getCacheSync('userInfo')
 	var that = _this;
 	if (userinfo) {
@@ -56,6 +57,7 @@
 			})
 		} else if (info.url_type == 1) {
 			let url = info.parameter_json.url == undefined ? '' : info.parameter_json.url;
+			console.log(url)
 			if(url == '') return false;
 			uni.navigateTo({
 				url: url
@@ -211,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