diff --git a/pages.json b/pages.json index 1c0d458..b2d702d 100644 --- a/pages.json +++ b/pages.json @@ -240,6 +240,13 @@ "navigationBarTitleText": "添加好友", "disableScroll": true } + }, + { + "path": "business-card", + "style": { + "navigationBarTitleText": "个人名片", + "disableScroll": true + } } ] } diff --git a/pages/team/business-card.vue b/pages/team/business-card.vue new file mode 100644 index 0000000..689552f --- /dev/null +++ b/pages/team/business-card.vue @@ -0,0 +1,1990 @@ + + + + + diff --git a/pages/team/components/BusinessCard.vue b/pages/team/components/BusinessCard.vue new file mode 100644 index 0000000..3128da0 --- /dev/null +++ b/pages/team/components/BusinessCard.vue @@ -0,0 +1,312 @@ + + + + + diff --git a/pages/team/team-detail.vue b/pages/team/team-detail.vue index 3633342..7fef4e0 100644 --- a/pages/team/team-detail.vue +++ b/pages/team/team-detail.vue @@ -96,7 +96,6 @@ const teammate = computed(() => { const friendlyMember = computed(() => { const friendlyMembers = team.value && Array.isArray(team.value.friendlyMembers) ? team.value.friendlyMembers : []; - debugger return friendlyMembers.reduce((data, item) => { data[item] = true; return data diff --git a/static/card/avatar.png b/static/card/avatar.png new file mode 100644 index 0000000..ffe37c8 Binary files /dev/null and b/static/card/avatar.png differ diff --git a/static/card/card-bg2.png b/static/card/card-bg2.png new file mode 100644 index 0000000..c453291 Binary files /dev/null and b/static/card/card-bg2.png differ diff --git a/static/card/edit-card.png b/static/card/edit-card.png new file mode 100644 index 0000000..ac23552 Binary files /dev/null and b/static/card/edit-card.png differ diff --git a/static/card/email.png b/static/card/email.png new file mode 100644 index 0000000..0825e4c Binary files /dev/null and b/static/card/email.png differ diff --git a/static/card/email.svg b/static/card/email.svg new file mode 100644 index 0000000..f7aa7e5 --- /dev/null +++ b/static/card/email.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/card/gwBack.png b/static/card/gwBack.png new file mode 100644 index 0000000..c99b99a Binary files /dev/null and b/static/card/gwBack.png differ diff --git a/static/card/gwIcon.png b/static/card/gwIcon.png new file mode 100644 index 0000000..56bc48a Binary files /dev/null and b/static/card/gwIcon.png differ diff --git a/static/card/gzhBack.png b/static/card/gzhBack.png new file mode 100644 index 0000000..b6611a1 Binary files /dev/null and b/static/card/gzhBack.png differ diff --git a/static/card/jzfwBack.png b/static/card/jzfwBack.png new file mode 100644 index 0000000..5eaadb3 Binary files /dev/null and b/static/card/jzfwBack.png differ diff --git a/static/card/jzfwIcon.png b/static/card/jzfwIcon.png new file mode 100644 index 0000000..2aa537e Binary files /dev/null and b/static/card/jzfwIcon.png differ diff --git a/static/card/phone.png b/static/card/phone.png new file mode 100644 index 0000000..e315057 Binary files /dev/null and b/static/card/phone.png differ diff --git a/static/card/sphBack.png b/static/card/sphBack.png new file mode 100644 index 0000000..5e1c212 Binary files /dev/null and b/static/card/sphBack.png differ diff --git a/static/card/telephone.svg b/static/card/telephone.svg new file mode 100644 index 0000000..915bac0 --- /dev/null +++ b/static/card/telephone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/utils/api.js b/utils/api.js index 59e8e7f..569fc3a 100644 --- a/utils/api.js +++ b/utils/api.js @@ -15,7 +15,8 @@ const urlsConfig = { getTeamMemberAvatarsAndName: "getTeamMemberAvatarsAndName", getMiniAppHomeStats: "getMiniAppHomeStats", getResponsiblePerson: 'getTeamResponsiblePerson', - relateWxappTeamByExternalUserId: 'relateWxappTeamByExternalUserId' + relateWxappTeamByExternalUserId: 'relateWxappTeamByExternalUserId', + getBusinessCard: 'getBusinessCard' }, knowledgeBase: {