From fb14fa911bde1ed360fe89a1c41d74b158db9ab5 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期五, 09 八月 2024 15:26:28 +0800 Subject: [PATCH] update 花店样式等 --- pages/user/supplier-user.vue | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue index 510ad92..c9f1c83 100644 --- a/pages/user/supplier-user.vue +++ b/pages/user/supplier-user.vue @@ -173,7 +173,8 @@ </view> </view> <!-- #ifdef PUB_PARTNER --> - <view class="user-util m-t-12 flex" v-if="selftype==='partner'" + <view class="user-util m-t-12 flex" + v-if="selftype==='partner'&¤tInfo.partnerDTO&¤tInfo.partnerDTO.id&¤tInfo.partnerDTO.status=='P'" @click="goto('/sub_pages/partner/partner-info/partner-code',true)"> <view class="title">推广的注册二维码</view> <view class="right-icon"> @@ -351,8 +352,8 @@ }, onShareTimeline() { let that = this; - var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && - currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO && + that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || '' var url = `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { @@ -364,8 +365,8 @@ // #ifdef PUB_CUSTOMER onShareAppMessage() { let that = this; - var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && - currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO && + that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || '' var url = `/pages/home/home?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { @@ -375,8 +376,8 @@ }, onShareTimeline() { let that = this; - var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && - currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO && + that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || '' var url = `/pages/home/home?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { @@ -385,7 +386,8 @@ } }, // #endif - onShow() { + onShow() { + this.cacheUserId = '' this.getTj() }, onLoad(options) { -- Gitblit v1.9.3