소스 검색

团队群二维码

xhj 2 년 전
부모
커밋
ce9d9f9f33
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      office/createTeam/index.vue
  2. 2 2
      office/team/index.vue

+ 2 - 1
office/createTeam/index.vue

@@ -90,6 +90,7 @@ export default {
 				this.zhiPicUrls[0] = data.url;
 				this.auditStatus = data.auditStatus;
 				this.auditContent = data.auditContent;
+				this.qunCode = data.groupCode?data.groupCode:''
 				this.location = {
 					poiName: data.poiName,
 					poiAddress: data.poiAddress,
@@ -227,7 +228,7 @@ export default {
 			}
 			// 群二维码
 			if(this.qunCode){
-				dataPream.qunCode = this.qunCode
+				dataPream.groupCode = this.qunCode
 			}
 			// 位置
 			if(this.location&&this.location.poiName){

+ 2 - 2
office/team/index.vue

@@ -50,13 +50,13 @@
 			</view>
 		</view>
 		
-		<view class="ddflex qunCode">
+		<view class="ddflex qunCode" v-if="teamInfo.groupCode">
 			<view>
 				<view>加入【{{teamInfo.title}}群】</view>
 				<view style="margin: 10rpx 0;">一起探讨更多保险知识</view>
 				<image style="width: 27rpx;height: 17rpx;" src="/office/static/images/jt.png"></image>
 			</view>
-			<image class="qunCode-pic" src="/static/images/lj_img.png" show-menu-by-longpress="true" @click="previewImgss(['/static/images/lj_img.png'],0)"></image>
+			<image class="qunCode-pic" :src="teamInfo.groupCode" show-menu-by-longpress="true" @click="previewImgss([teamInfo.groupCode],0)"></image>
 		</view>
 			
 		<view class="tab ddflex">