Explorar el Código

添加分享封面图

htc hace 1 día
padre
commit
e593544205
Se han modificado 3 ficheros con 5 adiciones y 2 borrados
  1. 1 0
      pagesHome/questionnaire.vue
  2. 1 0
      pagesMy/forward.vue
  3. 3 2
      pagesPublish/publishResult.vue

+ 1 - 0
pagesHome/questionnaire.vue

@@ -46,6 +46,7 @@
 			return {
 			  title: this.dto.title || '发现一个好物,分享给你!',
 			  path: `/pages/home?shareTQId=${this.dto.teamQuestionnaireId}&shareUserId=${sharerId}&shareType=Questionnaire`,
+		      imageUrl: this.$imgBase+'share_fm.png'
 			};
 		},
 		onShow() {

+ 1 - 0
pagesMy/forward.vue

@@ -41,6 +41,7 @@
 				return {
 				  title: '致力于帮助企业打造高价值创造团队',
 				  path: `/pages/home?shareUserId=${sharerId}&shareType=Forward`,
+				  imageUrl: this.$imgBase+'share_fm.png'
 				};
 			},
 			async generateQRCode(){

+ 3 - 2
pagesPublish/publishResult.vue

@@ -54,14 +54,15 @@
 			return {
 				title: this.title,
 				query: `shareUserId=${sharerId}&shareTQId=${this.teamQuestionnaireId}&from=timeline&shareType=Questionnaire`,
-		      // imageUrl: this.$imgBase+''
+				imageUrl: this.$imgBase+'share_fm.png'
 			};
 		},
 		onShareAppMessage(res) {
 		    const sharerId = JSON.parse(uni.getStorageSync('userInfo'))?.id||'';
 		    return {
 		      title: this.title,
-		      path: `/pages/home?shareTQId=${this.teamQuestionnaireId}&shareUserId=${sharerId}&shareType=Questionnaire`,
+		      path: `/pages/home?shareTQId=${this.teamQuestionnaireId}&shareUserId=${sharerId}&shareType=Questionnaire`,
+			  imageUrl: this.$imgBase+'share_fm.png'
 		    };
 		},
 		onLoad(options){