|
@@ -474,20 +474,6 @@ export default {
|
|
|
this.popupShow = true
|
|
|
this.handlerPros = data
|
|
|
},
|
|
|
- onShareAppMessage(res) {
|
|
|
- //分享转发
|
|
|
- this.isShareModal = false
|
|
|
- if (res.from === 'button') {
|
|
|
- // 来自页面内转发按钮
|
|
|
- }
|
|
|
- return {
|
|
|
- title: '您有新的订单,请点击查看~',
|
|
|
- path: `/pages/user/order/order-sharelogin?orderId=${this.orderId}&userId=${
|
|
|
- this.userId
|
|
|
- }&serviceProviderId=${this.serviceProviderId}`,
|
|
|
- imageUrl: 'https://img.caimei365.com/group1/M00/03/95/Cmis216Sk_SABnOFABZCgCzFV_g063.png'
|
|
|
- }
|
|
|
- },
|
|
|
getHeaderTopHeight() {
|
|
|
let statusBarHeight = this.systeminfo.statusBarHeight // 状态栏高度
|
|
|
let headerPosi = this.headerBtnPosi
|
|
@@ -520,6 +506,20 @@ export default {
|
|
|
return systeminfo
|
|
|
}
|
|
|
},
|
|
|
+ onShareAppMessage(res) {
|
|
|
+ //分享转发
|
|
|
+ this.isShareModal = false
|
|
|
+ if (res.from === 'button') {
|
|
|
+ // 来自页面内转发按钮
|
|
|
+ }
|
|
|
+ return {
|
|
|
+ title: '您有新的订单,请点击查看~',
|
|
|
+ path: `/pages/user/order/order-sharelogin?shopOrderId=${this.shopOrderId}&userId=${
|
|
|
+ this.userId
|
|
|
+ }&serviceProviderId=${this.serviceProviderId}`,
|
|
|
+ imageUrl: 'https://img.caimei365.com/group1/M00/03/95/Cmis216Sk_SABnOFABZCgCzFV_g063.png'
|
|
|
+ }
|
|
|
+ },
|
|
|
onShow() {
|
|
|
this.$api.getStorage().then(resolve => {
|
|
|
this.serviceProviderId = resolve.serviceProviderId ? resolve.serviceProviderId : 0
|