+ );
+}
diff --git a/src/components/website/InquiryPopup.tsx b/src/components/website/InquiryPopup.tsx
index 66cdc9bf7..d59f32e7b 100644
--- a/src/components/website/InquiryPopup.tsx
+++ b/src/components/website/InquiryPopup.tsx
@@ -10,8 +10,8 @@
* + acceptance 勾选 + reCAPTCHA 声明 + Submit)
* - popup 1129 生成 CSS(字段 48%/31.3% 两列三列布局、边框 #C9CEE8、按钮 #ED6C00→#FFA11B)
*/
-import { useEffect, useRef, useState, type FormEvent } from "react";
-import { submitInquiry } from "~/server/inquiries";
+import { useEffect, useState } from "react";
+import { Cf7Form604 } from "~/components/website/Cf7Form604";
/** # 常量 展开的弹窗 id(原站 popup 1129) **/
const POPUP_ID = "1129";
@@ -25,19 +25,11 @@ const POPUP_SOCIALS = [
{ icon: "fa-twitter", label: "Twitter", href: "https://twitter.com/Dusunelectron", color: "#1DA1F2" },
];
-/** # 常量 产品线下拉(CF7 表单 604 原文) **/
-const PRODUCT_OPTIONS = ["IoT Gateway", "System on Module", "Development Board", "Remote Control", "Voice Recognition Module", "Control Board", "Beacon & Sensor", "Other"];
-/** # 常量 合作意向下拉 **/
-const INTEREST_OPTIONS = ["Sales", "Distribution", "ODM", "OEM", "Technical support", "Other"];
-/** # 常量 年需求量下拉 **/
-const DEMAND_OPTIONS = ["1-50", "51-200", "201-1000", "1001-5000", "5000+"];
+/** # 常量 产品线下拉/合作意向/年需求量改由 Cf7Form604 提供(CF7 表单 604 原文) **/
/** # 组件 询价弹窗(全局挂载于 Layout,监听 Elementor popup 链接) */
export function InquiryPopup() {
const [open, setOpen] = useState(false);
- const [status, setStatus] = useState<"idle" | "submitting" | "success" | "error">("idle");
- const [errorMsg, setErrorMsg] = useState("");
- const formRef = useRef