|
|
|
@ -470,7 +470,7 @@ |
|
|
|
defaultRequest2, |
|
|
|
defaultRequest4 |
|
|
|
} from '../../api/index.js' |
|
|
|
|
|
|
|
const fb = require('facebook-node-sdk'); |
|
|
|
const app = getApp() |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
@ -1109,11 +1109,12 @@ |
|
|
|
// }); |
|
|
|
// 唤起 Facebook App |
|
|
|
// var urlStr = encodeURI("https://apps.apple.com/cn/app/facebook/id284882215?target=encodeURIComponent('https://www.facebook.com/')") |
|
|
|
// var urlStr = encodeURI('https://www.dopeplus.com/facebookShare.html?utm_source=Facebook') |
|
|
|
// uni.navigateTo({ |
|
|
|
// url: '../order/paypalWebview?src=' + urlStr |
|
|
|
// }) |
|
|
|
// plus.runtime.openURL("urlStr") |
|
|
|
plus.runtime.openURL('https://www.dopeplus.com/facebookShare.html?utm_source=Facebook') |
|
|
|
// plus.runtime.openURL('https://www.dopeplus.com/facebookShare.html?utm_source=Facebook') |
|
|
|
// console.log(id); |
|
|
|
// fb.share({ |
|
|
|
// method: 'share', |
|
|
|
@ -1123,21 +1124,7 @@ |
|
|
|
// }, function(response){ |
|
|
|
// console.log(response); |
|
|
|
// }); |
|
|
|
// uni.share({ |
|
|
|
// provider: "facebook", |
|
|
|
// type: 0, |
|
|
|
// title: '分享的标题', |
|
|
|
// summary: this.shareText, |
|
|
|
// imageUrl: '', |
|
|
|
// href: this.sharePath, |
|
|
|
// success: (res) => { |
|
|
|
// console.log("success:" + JSON.stringify(res)); |
|
|
|
// }, |
|
|
|
// fail: (err) => { |
|
|
|
// console.log("fail:" + JSON.stringify(err)); |
|
|
|
// } |
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
// 分享1复制 |
|
|
|
Copylink() { |
|
|
|
@ -1283,7 +1270,7 @@ |
|
|
|
}, |
|
|
|
onPullDownRefresh() { |
|
|
|
uni.stopPullDownRefresh() |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
|