|
@@ -197,7 +197,12 @@
|
|
|
<span class="gift-guide-text"
|
|
|
>支持送好友超级订阅,快快送给好友吧!</span
|
|
|
>
|
|
|
- <span class="gift-guide-btn" @click="sendToFriend">送给朋友</span>
|
|
|
+ <span
|
|
|
+ class="gift-guide-btn"
|
|
|
+ @click="sendToFriend"
|
|
|
+ v-bound-phone="bindPhoneSendToFriend()"
|
|
|
+ >送给朋友</span
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 订单tab-->
|
|
@@ -522,8 +527,6 @@ export default {
|
|
|
},
|
|
|
// 送好友
|
|
|
sendToFriend() {
|
|
|
- const nowTime = Date.now()
|
|
|
- const expireTime = this.activeAccountType.vipEntTime
|
|
|
if (!this.accountInfo.hasVip) {
|
|
|
// 非超级订阅
|
|
|
return this.$dialog
|
|
@@ -659,6 +662,16 @@ export default {
|
|
|
this.renewConsult()
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ bindPhoneSendToFriend() {
|
|
|
+ return {
|
|
|
+ props: {
|
|
|
+ name: '我的-送好友'
|
|
|
+ },
|
|
|
+ next: () => {
|
|
|
+ this.sendToFriend()
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|