From 7a68f7e13913f8d4f86962979fd1e79c18f57fb6 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期六, 03 八月 2024 10:44:25 +0800
Subject: [PATCH] update 登录和其他部分信息

---
 sub_pages/partner/partner-info/partner-code.vue |   25 ++++++++++++++++++++-----
 1 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/sub_pages/partner/partner-info/partner-code.vue b/sub_pages/partner/partner-info/partner-code.vue
index 0d43c5f..97cea11 100644
--- a/sub_pages/partner/partner-info/partner-code.vue
+++ b/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('请先完善合伙人信息')
@@ -39,7 +53,7 @@
 			initcode() {
 				let that = this
 				const query = uni.createSelectorQuery()
-				
+
 				query.select('#myQrcode')
 					.fields({
 						node: true,
@@ -50,8 +64,8 @@
 						that.canvas = canvas
 						// 调用方法drawQrcode生成二维码
 						drawQrcode({
-							callback:function(e){
-								console.log('drawQrcode callback',e)
+							callback: function(e) {
+								console.log('drawQrcode callback', e)
 							},
 							canvas: canvas,
 							canvasId: 'myQrcode',
@@ -63,7 +77,8 @@
 							text: JSON.stringify({
 								'name': that.name,
 								'userId': that.currentInfo.id,
-								'version': '1.0.0'
+								// '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}`
 							// JSON.stringify({

--
Gitblit v1.9.3