From 1e12164c39bad3891f2dc08729c4079fd56507d6 Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期日, 11 八月 2024 18:18:15 +0800 Subject: [PATCH] update 公告 --- sub_pages/customer/trade/detail.vue | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/sub_pages/customer/trade/detail.vue b/sub_pages/customer/trade/detail.vue index 214e032..22d0b40 100644 --- a/sub_pages/customer/trade/detail.vue +++ b/sub_pages/customer/trade/detail.vue @@ -39,8 +39,11 @@ <span class="num">{{ dto.price || '-' }}</span> 元/扎 </view> - <view class="m-l-a m-r-15"> - <image src="../../../static/common/icon-kf.png" class="icon-kf m-l-15 img100"></image> + <view class="m-l-a m-r-15"> + <button open-type="contact" class="component-button-contact" > + <image src="../../../static/common/icon-kf.png" class="icon-kf m-l-15 img100"></image> + + </button> </view> <view class="m-r-0 gwc" @click="submitShopping(dto)" v-if="!dto.shopnum"> @@ -183,13 +186,18 @@ this.id = options.id || '' // #ifdef PUB_CUSTOMER + if (options.partnerUserId) { let tmp = this tmp.sharePartnerUserId = options.partnerUserId //合伙人绑定的,判断当前用户,是否有登录,登录没绑定,没登录先缓存合伙人id,等注册和登录时候再弄 setTimeout(() => { + //并且当前用户没有绑定 + if(tmp.currentInfo.id&&tmp.currentInfo.customerDTO.partnerId){ + return + } if (tmp.currentInfo.id) { - tmp.bindPartnerUser(tmp.currentInfo.id, '') + tmp.bindPartnerUser(options.partnerUserId, '') } else { tmp.sharePartnerUserId = options.partnerUserId //没有登录到话设置到缓存 -- Gitblit v1.9.3