| | |
| | | jumpMini() { |
| | | var isAppletJump = getApp().globalData.appinfo.isAppletJump; |
| | | if(isAppletJump){ |
| | | console.log('isAppletJump') |
| | | var appId = this.pageInfo.app_id; |
| | | var appPath = this.pageInfo.wx_miniprogram_path; |
| | | plus.share.getServices(function(res) { |
| | |
| | | sweixin = t; |
| | | } |
| | | } |
| | | console.log(sweixin) |
| | | if (sweixin) { |
| | | sweixin.launchMiniProgram({ |
| | | id: appId, |
| | |
| | | pname: 'com.taobao.taobao', |
| | | action: 'taobao://' |
| | | })) { |
| | | console.log('tb') |
| | | const plug = uni.requireNativePlugin('xiguazhu-baichuan') |
| | | plug.detailPage({ |
| | | url: this.pageInfo.click_url, |
| | |
| | | // console.log(result); |
| | | }); |
| | | } else { |
| | | console.log('webview') |
| | | uni.navigateTo({ |
| | | url: '../webView/webView?url=' +this.pageInfo.click_url, |
| | | }) |