zhaojs
2023-07-20 fc9bd6378d3bfbde6d5c71535757a3d44de8d8ff
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({