员工名片

概述

开通并分享电子名片,向客户展示个人与企业信息。

员工名片支持发送给微信好友或微信群,也可以生成名片海报分享到朋友圈。本篇先介绍开通、编辑和分享;需要开发自定义样式时,再查阅文末的进阶参考。

开始之前

[!IMPORTANT]
确认自己在企业设置的名片使用范围内,并能够进入营销通或企业小程序。名片列表的成员范围取决于企业选用的通讯录或应用可见范围。

企业可以使用公共小程序或已绑定的企业专属小程序承载名片。使用企业专属小程序时,分享来源显示企业的小程序名称。

公司统一维护的信息可能不允许员工修改。需要调整企业信息、名片模板、背景图片或底部导航时,请联系负责名片设置的人员,参阅员工名片设置及开通。

第一步:开通个人名片

按企业使用的入口,选择以下一种方式。

从纷享销客 APP 开通

  1. 在纷享销客 APP 底部,打开 应用。
  2. 在应用列表中,进入 营销通。
  3. 在营销通中,打开 名片。
  4. 在名片页面,进入个人信息编辑页。
  5. 填写允许编辑的个人信息。
  6. 在编辑页底部,点击 保存。

从纷享销客 APP 进入名片并编辑个人信息

从企业微信开通

  1. 在企业微信中,进入 工作台。
  2. 在工作台中,打开企业配置的微信小程序应用。
  3. 首次打开时,按页面提示使用常用的个人微信扫码授权。
  4. 在小程序中,打开 名片。
  5. 在个人名片中,填写信息并完成开通。

第二步:检查和编辑名片信息

  1. 在 名片 页面,检查姓名、职位、手机号等展示信息。
  2. 需要修改时,点击名片上的编辑图标。
  3. 在编辑页面,修改允许员工自行维护的字段。
  4. 在编辑页底部,点击 保存。
  5. 返回名片页面,核对修改后的内容。

如果某个字段无法编辑,先确认它是否由企业统一维护。员工可以修改的范围由企业名片设置决定。

第三步:分享名片

开通后,可从纷享销客 APP 的 应用 > 营销通 > 名片 进入,也可以在微信搜索企业小程序,再从推广助手中打开 名片。

分享给微信好友或微信群

  1. 在 名片 页面,点击 微信名片。
  2. 在微信分享界面,选择好友或群聊。
  3. 确认接收对象后,完成分享。

生成名片海报

  1. 在 名片 页面,点击 朋友圈名片。
  2. 按页面提示生成名片海报。
  3. 将海报分享到朋友圈。

名片中的微信名片和朋友圈名片分享入口

预期结果与验证

  1. 打开个人名片,检查联系方式及企业信息。
  2. 将微信名片分享给一位同事,确认对方能正常打开。
  3. 生成名片海报,检查姓名、联系方式与展示样式。

常见问题与故障排除

为什么找不到个人名片入口?

请确认进入的是企业指定的营销通或小程序,并请负责名片设置的人员检查成员范围。名片列表可能来自纷享销客通讯录、企业微信应用可见范围或钉钉应用可见范围。

为什么公司名称等信息不能修改?

企业可以将部分字段设置为统一维护。需要变更时,请联系负责名片设置的人员处理。

为什么分享来源显示为公共小程序?

企业未绑定专属小程序时,名片使用公共小程序承载。需要展示企业专属小程序名称时,请联系负责小程序配置的人员。

进阶参考:自定义样式开发规范

以下内容供需要编写自定义模板的技术人员查阅。常规名片开通与分享可直接按前文操作;选择预置模板、背景色和背景图的设置方式见员工名片设置及开通。

  • 支持 div、span、img 三种标签,文字内容必须使用 span 标签包裹

  • 布局使用绝对定位或者 flex 布局

  • 最外层盒子必须固定宽度 375px, 高度可自行设置

  • 样式必须为 class 写法,不支持行内样式,class 名称严格定义为驼峰式或者下划线拼接(如:cardContainer、card_container),禁止使用中划线,需为每个元素指定 width 和 height 属性,否则会导致布局错误,比如文字如果高度不够在微信小程序绘制不出

  • 可使用的 css 属性见下方表格

    • 布局相关

      属性 支持的值或类型 默认值 说明
      width number 0 宽度
      height number 0 高度
      display flex, block block 显示方式(flex-direction 默认为 column)
      position relative, absolute relative 定位方式
      left number 0 左偏移
      top number 0 上偏移
      right number 0 右偏移
      bottom number 0 下偏移
      margin number 0 外边距
      padding number 0 内边距
      borderWidth number 0 边框宽度
      borderRadius number 0 边框圆角
      flex-direction column, row row 弹性布局方向
      flex-wrap wrap, nowrap nowrap 弹性布局换行
      justify-content flex-start, center, flex-end, space-between, space-around flex-start 弹性布局对齐方式
      align-items flex-start, center, flex-end, stretch flex-start 弹性布局对齐方式
      align-self flex-start, center, flex-end, stretch flex-start 弹性布局对齐方式
    • 文字相关

      属性 支持的值或类型 默认值 说明
      font-size number 14 字体大小
      line-height number / string '1.4em' 行高
      text-align left, center, right left 文字对齐方式
      vertical-align top, middle, bottom top 文字对齐方式
      color string #181c25 文字颜色
      background-color string transparent 背景颜色
  • 参考微信文档,但略有区别,请勿直接套用:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/extended/component-plus/wxml-to-canvas.html

  • 变量使用 ${变量名} 格式,使用 . 链式访问对象属性,比如 ${PersonnelObj.name}、${card.name}

    • ! 为变量默认值,如果变量不存在,则使用默认值,如 ${PersonnelObj.position!'暂无职位信息'},在没有职位时会显示“暂无职位信息”
    • PersonnelObj 为员工信息对象(具体在 CRM 人员对象中查看字段 apiName)
    • card 为营销通名片信息表
      字段 说明
      name 姓名
      phone 手机号
      department 部门
      companyName 公司名称
      companyAddress 公司地址
      vocation 职位
      email 邮箱
  • 图片需要先上传到营销通图片库,然后获取其 cdn 地址(https://a9.fspage.com/xxx)后写在 img 标签的 src 属性中

  • img 标签的 object-fit 属性支持 fill、contain、cover,具体含义参考:https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit

模板示例

模版 1





  名片 - 简约商务模板

    .cardContainer {
      position: relative;
      box-sizing: border-box;
      width: 375px;
      height: 200px;
      background-color: #ffffff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .bgImageWrapper {
      position: absolute;
      left: 0;
      top: 0;
      width: 375px;
      height: 200px;
      z-index: 1;
    }

    .bgImage {
      width: 375px;
      height: 200px;
    }

    .contentWrapper {
      width: 342px;
      height: 168px;
      display: flex;
      flex-direction: column;
      z-index: 5;
    }

    .headerSection {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 342px;
      height: 40px;
      z-index: 10;
    }

    .nameSection {
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 200px;
      height: 48px;
    }

    .avatarImgWrapper {
      width: 48px;
      height: 48px;
      margin-right: 8px;
    }

    .avatarImg {
      width: 48px;
      height: 48px;
      border-radius: 24px;
      object-fit: contain;
    }

    .nameWrapper {
      width: 80px;
      height: 44px;
      display: flex;
      flex-direction: column;
    }

    .name {
      width: 80px;
      height: 24px;
      font-size: 18px;
      color: #ffffff;
      line-height: 24px;
    }

    .vocation {
      margin-top: 4px;
      height: 16px;
      font-size: 12px;
      color: #ffffff;
      line-height: 16px;
    }

    .logoSection {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 76px;
      height: 19px;
      z-index: 10;
    }

    .logoIconImg {
      width: 76px;
      height: 19px;
      object-fit: contain;
    }

    .infoSection {
      display: flex;
      flex-direction: column;
      width: 327px;
      height: 104px;
      z-index: 10;
      margin-top: 18px;
    }

    .infoRow {
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 327px;
      height: 16px;
      margin-bottom: 8px;
    }

    .infoIcon {
      width: 12px;
      height: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .infoIconImg {
      width: 12px;
      height: 12px;
    }

    .infoText {
      margin-left: 4px;
      width: 307px;
      height: 16px;
      font-size: 12px;
      color: #ffffff;
      line-height: 16px;
    }

    .fontWeight__700 {
      font-weight: 700;
    }





      ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530563044/7ea61c9d)






            <img src="${card.avatar}" alt="">


            ${card.name!'暂无姓名'}
            ${card.vocation!'暂无部门信息'}



          ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530132884/898deb12)








            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530367770/7ec65d4f)

          ${card.department!'暂无部门信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530558391/28b87668)

          ${card.companyName!'暂无公司信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530529291/f36b0517)

          ${card.companyAddress!'暂无地址信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530522395/49683296)

          ${card.phone!'暂无电话信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530367770/7ec65d4f)

          ${card.email!'user@example.com'}






模板 2





  名片 - FANUC模板

    .cardContainer {
      position: relative;
      width: 375px;
      height: 200px;
      background-color: #ffffff;
    }

    .bgImageWrapper {
      position: absolute;
      left: 0;
      top: 0;
      width: 375px;
      height: 200px;
      background-color: #ffffff;
    }

    .bgImage {
      width: 375px;
      height: 200px;
    }

    .contentWrapper {
      position: absolute;
      left: 20px;
      top: 20px;
      width: 200px;
      height: 160px;
      display: flex;
      flex-direction: column;
      font-size: 10px;
      color: #545861;
      line-height: 14px;
    }

    .nameAndPosition {
      display: flex;
      flex-direction: row;
      align-items: flex-end;
    }

    .name {
      width: 66px;
      height: 20px;
      font-size: 16px;
      color: #181c25;
      line-height: 20px;
    }

    .position {
      width: 120px;
      height: 14px;
      margin-top: 4px;
      margin-left: 4px;
    }

    .department {
      width: 200px;
      height: 14px;
      margin-top: 4px;
    }

    .companyName {
      width: 200px;
      height: 14px;
      color: #181c25;
      margin-top: 14px;
    }

    .address {
      width: 200px;
      height: 14px;
      margin-top: 4px;
    }

    .website {
      width: 200px;
      height: 14px;
      margin-top: 2px;
    }

    .phone {
      width: 200px;
      height: 14px;
      margin-top: 14px;
    }

    .email {
      width: 300px;
      height: 20px;
      margin-top: 4px;
    }

    .fontWeight__700 {
      font-weight: 700;
    }





      ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530307838/ec8c4915)



        ${PersonnelObj.name}
        ${PersonnelObj.position!'暂无职位信息'}

      ${PersonnelObj.main_department}
      ${PersonnelObj.owner_department}
      上海发那科机器人有限公司
      上海市宝山区富联三路369号,201906
      www.shanghai-fanuc.com.cn
      手机:${PersonnelObj.phone}
      邮箱:${PersonnelObj.email!"user@example.com"}




模版 3





  名片 - 简约商务模板

    .cardContainer {
      position: relative;
      box-sizing: border-box;
      width: 375px;
      height: 200px;
      background: #ffffff;
      border-radius: 12px;
      padding: 16px;
    }

    .bgImageWrapper {
      position: absolute;
      left: 0;
      top: 0;
      width: 375px;
      height: 200px;
      z-index: 1;
    }

    .bgImage {
      width: 375px;
      height: 200px;
    }

    .contentWrapper {
      width: 342px;
      height: 168px;
      display: flex;
      flex-direction: column;
      z-index: 5;
    }

    .headerSection {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 342px;
      height: 30px;
      z-index: 10;
    }

    .nameSection {
      display: flex;
      flex-direction: column;
      width: 200px;
      height: 30px;
    }

    .name {
      width: 120px;
      height: 30px;
      font-size: 20px;
      color: #ffffff;
      line-height: 30px;
    }

    .logoSection {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 99px;
      height: 20px;
      z-index: 10;
    }

    .logoIconImg {
      width: 96px;
      height: 20px;
      object-fit: contain;
    }

    .infoSection {
      display: flex;
      flex-direction: column;
      width: 327px;
      height: 104px;
      z-index: 10;
      margin-top: 45px;
    }

    .infoRow {
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 327px;
      height: 16px;
      margin-bottom: 8px;
    }

    .infoIcon {
      width: 12px;
      height: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .infoIconImg {
      width: 12px;
      height: 12px;
    }

    .infoText {
      margin-left: 4px;
      width: 307px;
      height: 16px;
      font-size: 12px;
      color: #ffffff;
      line-height: 16px;
    }

    .fontWeight__700 {
      font-weight: 700;
    }





      ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530543346/5d6c535e)





          ${card.name!'暂无姓名'}


          ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530430720/816e297a)








            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530558391/28b87668)

          ${card.companyName!'暂无公司信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530529291/f36b0517)

          ${card.companyAddress!'暂无地址信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530522395/49683296)

          ${card.phone!'暂无电话信息'}





            ![](https://saas.bk-cdn01.com/t/e77d24d5-3d21-4bbc-8ec5-886214579a51/u/87dc1933-38db-4df3-82cf-6da7dbe27d76/1791530367770/7ec65d4f)

          ${card.email!'暂无邮箱信息'}







相关主题

2026-11-11
0 0