From c24e49083d4419300bcee0f0ca926c084037d665 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 08 一月 2025 09:04:48 +0800
Subject: [PATCH] 1.订单支付倒计时配置 2.服务热线配置
---
pages/notice/notice.vue | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 46 insertions(+), 1 deletions(-)
diff --git a/pages/notice/notice.vue b/pages/notice/notice.vue
index 0c35b36..fe36977 100644
--- a/pages/notice/notice.vue
+++ b/pages/notice/notice.vue
@@ -83,7 +83,52 @@
},
- }
+ },
+ onShareAppMessage() {
+ // let that = this;
+ // var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
+ // that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
+ // //如果是合伙人的id,那么分享出去,需要附加id了
+ // console.log('onShareAppMessage', this.currentInfo)
+
+ // var partnerUserId = ''
+
+ // if (that.currentInfo.customerDTO && that.currentInfo.customerDTO.partnerId) {
+ // partnerUserId = that.currentInfo.customerDTO.partnerId
+ // }
+ // ?partnerUserId=${partnerUserId}&id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}
+ var url =
+ `/pages/notice/notice?id=${this.id}`; //你的转发页面路径拼接参数
+ return {
+ title: this.dto.name || this.dto.title || '花满芫公告',
+ path: url,
+ }
+ },
+ onShareTimeline() {
+ // let that = this;
+ // var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
+ // currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
+ // //如果是合伙人的id,那么分享出去,需要附加id了
+ // var partnerUserId = ''
+
+ // if (that.currentInfo.customerDTO && that.currentInfo.customerDTO.partnerId) {
+ // partnerUserId = that.currentInfo.customerDTO.partnerId
+ // }
+ // var url =
+ // `/sub_pages/customer/trade/detail?partnerUserId=${partnerUserId}&id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
+ // return {
+ // //
+ // title: this.dto.id ? (this.dto.name + " " + (this.dto.price || '-') + '元/扎 ' + (this.dto.unit || '')) :
+ // "花满芫",
+ // path: url,
+ // }
+ var url =
+ `/pages/notice/notice?id=${this.id}`; //你的转发页面路径拼接参数
+ return {
+ title: this.dto.name || this.dto.title || '花满芫公告',
+ path: url,
+ }
+ },
}
</script>
--
Gitblit v1.9.3