Commit 9db20d9d authored by Mac's avatar Mac

修改分享

parent 7168856c
...@@ -229,7 +229,6 @@ ...@@ -229,7 +229,6 @@
:ripple="true" :ripple="true"
shape="circle" shape="circle"
open-type="share" open-type="share"
:send-message-title="zrName" :send-message-path="path" :send-message-img="zrimg"
:custom-style="{ :custom-style="{
backgroundColor: mc, backgroundColor: mc,
width:'350rpx', width:'350rpx',
...@@ -374,6 +373,13 @@ export default { ...@@ -374,6 +373,13 @@ export default {
} }
}, },
methods: { methods: {
onShareAppMessage() {
return {
title: this.zrName,
path: this.path,
imageUrl: 'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zhaoren.png'
};
},
exitPay() { exitPay() {
this.payExit = false; this.payExit = false;
uni.redirectTo({ uni.redirectTo({
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
<view class="item" v-if="orders.OrderStatus == '1'"> <view class="item" v-if="orders.OrderStatus == '1'">
<u-button shape="circle" size="medium" :custom-style="themCustomStyle" <u-button shape="circle" size="medium" :custom-style="themCustomStyle"
open-type="share" open-type="share"
:send-message-title="zrName" :send-message-path="path" :send-message-img="zrimg"
>找人代付</u-button >找人代付</u-button
> >
</view> </view>
...@@ -459,7 +459,15 @@ export default { ...@@ -459,7 +459,15 @@ export default {
this.themCustomStyle.background = this.mc; this.themCustomStyle.background = this.mc;
this.init(); this.init();
}, },
methods: { methods: {
onShareAppMessage() {
return {
title: this.zrName,
path: this.path,
imageUrl: 'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zhaoren.png'
};
},
shouhuoHandler() { shouhuoHandler() {
this.showReviceModal = true; this.showReviceModal = true;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment