|
@@ -8,6 +8,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ leafletImageUrlParams:'',
|
|
|
leafletImageUrl:''
|
|
|
}
|
|
|
},
|
|
@@ -15,8 +16,16 @@
|
|
|
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
+ this.leafletImageUrlParams = option.leafletImage
|
|
|
this.leafletImageUrl = option.leafletImage?decodeURIComponent(option.leafletImage):''
|
|
|
- }
|
|
|
+ },
|
|
|
+ /** 用户点击分享 */
|
|
|
+ onShareAppMessage: function (res) {
|
|
|
+ return {
|
|
|
+ title: "买方研选宣传单",
|
|
|
+ path: "/pages-purchaser/leaflet/leaflet?leafletImage="+this.leafletImageUrlParams,
|
|
|
+ };
|
|
|
+ },
|
|
|
}
|
|
|
</script>
|
|
|
|