xuxueyang
2024-08-10 1c5d6a4b20d3b2577431db0ef7b4a845174e7c66
sub_pages/customer/trade/detail.vue
@@ -100,7 +100,7 @@
         <swiper class="swiper-box" :interval="10000" :circular="true" :current="0" :autoplay="true">
            <swiper-item v-for="(url, index) in dto.bannerList" :key="index">
               <view class="swiper-item" :class="'swiper-item' + index">
                  <image class="home-banner-image" mode="scaleToFill" @click="previewImg(url)" :src="url">
                  <image class="home-banner-image m-auto m-t-12 m-b-12" style="display: block;" mode="scaleToFill" @click="previewImg(url)" :src="url">
                  </image>
               </view>
            </swiper-item>
@@ -186,11 +186,16 @@
         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(options.partnerUserId, '')
               } else {