From 699787528c766f443651b5a477fede0d15a5f540 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Mon, 19 Oct 2026 18:09:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat(card):=20PAGE=5FCARD=5FENTERPRISE=20?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=93=BE=E6=8E=A5=E6=98=A0=E5=B0=84=E2=80=94?= =?UTF-8?q?=E2=80=94=E4=BC=81=E4=B8=9A=E5=90=8D=E7=89=87(=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=202.11.94=20link=20=E6=B3=A8=E5=86=8C=E9=85=8D?= =?UTF-8?q?=E5=A5=97)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 路径约定 /pages_tool/card/enterprise(页面由前端开发, 数据走 /card/api/enterprise/* 企业名片 API)。diy 链接管理的企业名片 节点已在后端 lucky_link 注册(name=CARD_ENTERPRISE)。 --- common/js/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/js/util.js b/common/js/util.js index 763714e..01715c0 100644 --- a/common/js/util.js +++ b/common/js/util.js @@ -203,7 +203,8 @@ export const PAGE_KEY_MAP = { // === 名片云(card 插件) === PAGE_CARD_LIST: '/pages_tool/card/list', PAGE_CARD_LEADS: '/pages_tool/card/leads', - PAGE_CARD_CONTACTS: '/pages_tool/card/contacts', + PAGE_CARD_CONTACTS: '/pages_tool/card/contacts', + PAGE_CARD_ENTERPRISE: '/pages_tool/card/enterprise', // === 名片云 · 商家端(后台接口就绪一部分, 先上有接口的页面) === PAGE_CARD_ADMIN_MANAGE: '/pages_tool/card/admin/manage', From d0fe005c4a364247d6b7454513851f0ee0787f83 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Wed, 21 Oct 2026 09:13:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?diy:=20=E5=90=8D=E7=89=87=20DIY=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=8E=9F=E7=94=9F=E6=B8=B2=E6=9F=93(=E7=A6=81=20webvi?= =?UTF-8?q?ew)=20+=20diy-group=20=E5=88=86=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 diy-card-entry/list/show/self.vue(easycom 自动加载): 头像/资料行/快捷操作原生渲染, tel 走 makePhoneCall, wx/mail/web 走复制, 点击卡片跳 pages_tool/card/detail - diy-card-self 登录态自适应: hasToken watch 自动刷新, 未登录兜底(企业卡/指定卡/登录引导)由后端 /card/api/diy/mycard 决定 - diy-group.vue: DiyCard* 四个 componentName 分发分支 --- components-diy/diy-card-entry.vue | 118 +++++++++++ components-diy/diy-card-list.vue | 230 ++++++++++++++++++++ components-diy/diy-card-self.vue | 335 ++++++++++++++++++++++++++++++ components-diy/diy-card-show.vue | 301 +++++++++++++++++++++++++++ components-diy/diy-group.vue | 16 ++ 5 files changed, 1000 insertions(+) create mode 100644 components-diy/diy-card-entry.vue create mode 100644 components-diy/diy-card-list.vue create mode 100644 components-diy/diy-card-self.vue create mode 100644 components-diy/diy-card-show.vue diff --git a/components-diy/diy-card-entry.vue b/components-diy/diy-card-entry.vue new file mode 100644 index 0000000..f245386 --- /dev/null +++ b/components-diy/diy-card-entry.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/components-diy/diy-card-list.vue b/components-diy/diy-card-list.vue new file mode 100644 index 0000000..c0bdafc --- /dev/null +++ b/components-diy/diy-card-list.vue @@ -0,0 +1,230 @@ + + + + + diff --git a/components-diy/diy-card-self.vue b/components-diy/diy-card-self.vue new file mode 100644 index 0000000..65e842b --- /dev/null +++ b/components-diy/diy-card-self.vue @@ -0,0 +1,335 @@ + + + + + diff --git a/components-diy/diy-card-show.vue b/components-diy/diy-card-show.vue new file mode 100644 index 0000000..a1daaa7 --- /dev/null +++ b/components-diy/diy-card-show.vue @@ -0,0 +1,301 @@ + + + + + diff --git a/components-diy/diy-group.vue b/components-diy/diy-group.vue index b7ad12e..45ec870 100644 --- a/components-diy/diy-group.vue +++ b/components-diy/diy-group.vue @@ -170,6 +170,22 @@ + + + +