From 8af636641fbf61f46eccb2dafee6950eaefe3b7d Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 15 Oct 2026 20:26:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=80=E5=91=A8=E5=AE=89=E6=8E=92?= =?UTF-8?q?=E5=B0=8F=E7=BB=84=E4=BB=B6):=20=E6=A0=87=E9=A2=98/=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E7=B2=BE=E7=AE=80=20+=20=E6=97=A5=E5=B8=B8=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=8A=A0=E9=87=8D=20+=20=E5=A4=96=E8=B7=B3=E3=80=8C?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=A6=82=E8=A7=88=E3=80=8D+=20=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E4=B8=A4=E8=A1=8C=E6=8A=98=E5=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 标题改合成简称「10月12日~10月18日 第N周」,接口全称留 hover(title 属性) - 日期条只留「日」(10.12→12),今日改蓝底白字方块(原浅蓝底) - 「日常详情」12px/400/#6e7c87 → 14px/700/#1f2329,同排右侧新增「查看概览」外跳(新窗口) - 外跳地址由后端下发(props.overviewUrl);缺配置则不渲染入口 - 备注 line-clamp:2 + 溢出才出「展开/收起」,支持含换行的多行文本 - index.vue 透传 overview-url;WidgetEditModal 配置页加「外跳入口」行,超管保存/校管覆盖/清除覆盖三链路带上 --- src/components/widgets/WeekplanWidget.vue | 143 +++++++++++++++++++--- src/types/index.ts | 4 + src/views/index.vue | 1 + src/views/widget/WidgetEditModal.vue | 52 +++++++- 4 files changed, 181 insertions(+), 19 deletions(-) diff --git a/src/components/widgets/WeekplanWidget.vue b/src/components/widgets/WeekplanWidget.vue index 6736781..476d28f 100644 --- a/src/components/widgets/WeekplanWidget.vue +++ b/src/components/widgets/WeekplanWidget.vue @@ -13,7 +13,8 @@ 也必须保留标题行 + 翻页箭头,否则用户翻进空周后没有出口 --> @@ -72,13 +87,14 @@ @@ -836,6 +874,16 @@ $wm-brand-line: color.mix(#ffffff, $wm-brand, 78%); max-width: 150px; } } +/* 外跳入口:子应用 code + 路由 并排(两列需成对,故放同一行) */ +.link-cfg { + display: flex; + gap: 8px; + max-width: 340px; + .inp { + flex: 1 1 0; + min-width: 0; + } +} .hint { font-size: 12px; color: var(--wm-t4);