From 41b2d509258e2da97107cc2d4da4c78cce1791b5 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Mon, 31 Aug 2026 10:25:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=A0=B7=E5=BC=8F=E5=92=8C=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E9=98=B2=E6=AD=A2=E6=97=A0=E6=95=88=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/dist_static/static/css/product.css | 4 ++++ public/themes/dist_static/static/js/product.js | 1 + public/themes/website/1/zh/demo/product.html | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/themes/dist_static/static/css/product.css b/public/themes/dist_static/static/css/product.css index 82080ac..b6631fa 100644 --- a/public/themes/dist_static/static/css/product.css +++ b/public/themes/dist_static/static/css/product.css @@ -139,6 +139,10 @@ background: var(--color-primary); color: var(--color-white); } +.p-subnav__cta.disabled { + opacity: 0.4; + cursor: not-allowed; +} body.is-p-subnav .site-header { transform: translateY(-100%); diff --git a/public/themes/dist_static/static/js/product.js b/public/themes/dist_static/static/js/product.js index 0308085..bb083c1 100644 --- a/public/themes/dist_static/static/js/product.js +++ b/public/themes/dist_static/static/js/product.js @@ -140,6 +140,7 @@ function selectionModalInit() { }; document.querySelectorAll("[data-selection-trigger]").forEach((trigger) => { trigger.addEventListener("click", (event) => { + if (trigger.classList.contains("disabled")) return; event.preventDefault(); open(); }); diff --git a/public/themes/website/1/zh/demo/product.html b/public/themes/website/1/zh/demo/product.html index 069fff5..b89ce45 100644 --- a/public/themes/website/1/zh/demo/product.html +++ b/public/themes/website/1/zh/demo/product.html @@ -147,7 +147,7 @@ 资料下载 相关产品 - 查看选型表 + 查看选型表 @@ -155,7 +155,7 @@

{$title}

- 查看选型表 + 查看选型表
RA3系列伺服驱动器