xuxueyang
2024-08-03 7a68f7e13913f8d4f86962979fd1e79c18f57fb6
sub_pages/partner/partner-info/partner-code.vue
@@ -3,7 +3,7 @@
   <!--  -->
   <view class="contact-container">
      <view class="container" @click="saveCode">
         <!-- <image src="../../../static/uni.png" mode="aspectFit" class="code"></image> -->
         <canvas type="2d" id="myQrcode" class="code"></canvas>
         <view class="info">
            <view class="desc">
@@ -26,6 +26,20 @@
            canvas: undefined,
         }
      },
      // onShareAppMessage() {
      //    let params = `id=${this.info.Id}`
      //    if (this.isGroup) {
      //       params += `&groupId=${this.groupId}`
      //    }
      //    if (this.memberId) {
      //       params += `&inviteId=${this.memberId}`
      //    }
      //    let path = `/pages/home/product/detail?${params}`
      //    return {
      //       title: this.info.Name,
      //       path: path
      //    }
      // }
      onLoad(options) {
         if (!this.currentInfo.partnerDTO) {
            this.$message.showToast('请先完善合伙人信息')
@@ -62,8 +76,8 @@
                     foreground: '#000000',
                     text: JSON.stringify({
                        'name': that.name,
                        // 'userId': that.currentInfo.id,
                        'userId': that.currentInfo.partnerDTO.id,
                        'userId': that.currentInfo.id,
                        // 'userId': that.currentInfo.partnerDTO.id,
                        'version': '1.1.0'
                     }),
                     // text: `https://www.hmyxianhua.com/wx-c-jump/sub_pages/customer/customer-info/customer-info?name=${that.name}&userId=${that.currentInfo.id}`