|
|
@@ -329,7 +329,8 @@ export default {
|
|
|
orderSn:'',
|
|
|
salt:'',
|
|
|
showSeat:1,
|
|
|
- title:''
|
|
|
+ title:'',
|
|
|
+ imageUrl:''
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
@@ -349,7 +350,7 @@ export default {
|
|
|
//返回上一页时不需要刷新
|
|
|
prevPage.$vm.needRefresh = 0
|
|
|
}
|
|
|
-
|
|
|
+ this.imageUrl = IMGHOST+'/custom/cg_share.jpg'
|
|
|
},
|
|
|
onUnload(){
|
|
|
clearInterval(this.T)
|
|
|
@@ -361,7 +362,7 @@ export default {
|
|
|
return {
|
|
|
title: this.title,
|
|
|
desc: "",
|
|
|
- imageUrl: IMGHOST+'/custom/cg_share.jpg',
|
|
|
+ imageUrl: this.imageUrl,
|
|
|
path: "pagesPurchase/info?orderSn="+this.detailInfo.orderSn+'&salt='+this.detailInfo.salt,
|
|
|
}
|
|
|
},
|
|
|
@@ -470,7 +471,7 @@ export default {
|
|
|
type: 5, //分享形式
|
|
|
title: that.title, //分享内容的标题
|
|
|
summary: '暂无', //分享内容的摘要
|
|
|
- imageUrl: IMGHOST+'/custom/cg_share.jpg',//图片一定要有,不然会分享失败
|
|
|
+ imageUrl: this.imageUrl,
|
|
|
miniProgram: {
|
|
|
id: miniOriginalId,//小程序原始id,发起分享的 App 与小程序属于同一微信开放平台帐号
|
|
|
path: "pagesPurchase/info?orderSn="+this.detailInfo.orderSn+'&salt='+this.detailInfo.salt,
|
|
|
@@ -633,6 +634,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ //如果在预订中分享的图片是不一样的
|
|
|
+ if(that.detailInfo && that.detailInfo.onBooking == 1){
|
|
|
+ this.imageUrl = IMGHOST+'/custom/cg_share_seat_sn.jpg'
|
|
|
+ }
|
|
|
+
|
|
|
let ghsName = this.detailInfo.ghsName ? this.detailInfo.ghsName : ''
|
|
|
let actPrice = this.detailInfo.actPrice ? parseFloat(this.detailInfo.actPrice) : 0
|
|
|
this.title = ghsName+' '+this.detailInfo.entryTime.substr(5,11)+' ¥'+actPrice
|