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 @@