fix: 修复 lint 错误

- 修复 Input/Textarea 组件中 React Hook 条件调用问题
- 修复 AboutSection 中的引号转义问题
- 更新 Input/Textarea 样式为医疗健康风格
This commit is contained in:
张翔
2026-02-23 08:16:36 +08:00
parent ef4b6d1022
commit 8d0f86c365
332 changed files with 3846 additions and 1834 deletions
@@ -1,13 +1,4 @@
1:"$Sreact.fragment"
2:I[86309,["/_next/static/chunks/bd967a1808a0fc81.js","/_next/static/chunks/9ade6142b56d10c4.js","/_next/static/chunks/4c1ee73d4bc7364c.js"],"Header"]
3:I[57445,["/_next/static/chunks/d1327ca877b958b9.js","/_next/static/chunks/24b8e34e56674a2e.js"],"default"]
4:I[27551,["/_next/static/chunks/d1327ca877b958b9.js","/_next/static/chunks/24b8e34e56674a2e.js"],"default"]
5:I[95282,["/_next/static/chunks/bd967a1808a0fc81.js","/_next/static/chunks/9ade6142b56d10c4.js","/_next/static/chunks/4c1ee73d4bc7364c.js"],""]
0:{"buildId":"OdiYp943cvOpOmTEuabW6","rsc":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/bd967a1808a0fc81.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/9ade6142b56d10c4.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/4c1ee73d4bc7364c.js","async":true}]],["$","div",null,{"className":"min-h-screen flex flex-col","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1","children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}],["$","footer",null,{"className":"bg-black text-white","children":["$","div",null,{"className":"container-custom py-16","children":[["$","div",null,{"className":"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12","children":[["$","div",null,{"className":"lg:col-span-1","children":[["$","div",null,{"className":"flex items-center mb-6","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 400 100","className":"h-10 w-auto text-white","children":[["$","g",null,{"transform":"translate(10, 10)","children":[["$","rect",null,{"x":"0","y":"0","width":"70","height":"70","rx":"8","fill":"#C41E3A"}],["$","rect",null,{"x":"5","y":"5","width":"60","height":"60","rx":"5","fill":"none","stroke":"#fff","strokeWidth":"1.5","opacity":"0.3"}],["$","text",null,{"x":"35","y":"32","fontFamily":"serif","fontSize":"22","fontWeight":"bold","fill":"white","textAnchor":"middle","children":"睿新"}],["$","text",null,{"x":"35","y":"58","fontFamily":"serif","fontSize":"22","fontWeight":"bold","fill":"white","textAnchor":"middle","children":"致遠"}]]}],["$","g",null,{"transform":"translate(95, 15)","children":[["$","text",null,{"x":"0","y":"35","fontFamily":"serif","fontSize":"36","fontWeight":"bold","fill":"currentColor","children":"睿新致遠"}],["$","text",null,{"x":"0","y":"65","fontFamily":"Arial, sans-serif","fontSize":"14","fontWeight":"500","fill":"currentColor","letterSpacing":"8","children":"NOVALON"}]]}]]}]}],["$","p",null,{"className":"text-gray-400 text-sm leading-relaxed mb-6","children":"专注于信息技术服务与解决方案,为企业提供全方位的数字化转型支持"}],["$","div",null,{"className":"flex gap-4","children":[["$","a","微信",{"href":"#","className":"w-10 h-10 rounded-full bg-white/10 flex items-center justify-center hover:bg-white/20 transition-colors","aria-label":"微信","children":["$","span",null,{"className":"text-sm","children":"微"}]}],["$","a","微博",{"href":"#","className":"w-10 h-10 rounded-full bg-white/10 flex items-center justify-center hover:bg-white/20 transition-colors","aria-label":"微博","children":["$","span",null,{"className":"text-sm","children":"微"}]}],["$","a","LinkedIn",{"href":"#","className":"w-10 h-10 rounded-full bg-white/10 flex items-center justify-center hover:bg-white/20 transition-colors","aria-label":"LinkedIn","children":["$","span",null,{"className":"text-sm","children":"L"}]}],["$","a","GitHub",{"href":"#","className":"w-10 h-10 rounded-full bg-white/10 flex items-center justify-center hover:bg-white/20 transition-colors","aria-label":"GitHub","children":["$","span",null,{"className":"text-sm","children":"G"}]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"font-semibold text-lg mb-6","children":"快速链接"}],["$","ul",null,{"className":"space-y-3","children":[["$","li","home",{"children":["$","$L5",null,{"href":"/","className":"text-gray-400 hover:text-white transition-colors","children":"首页"}]}],["$","li","about",{"children":["$","$L5",null,{"href":"/about","className":"text-gray-400 hover:text-white transition-colors","children":"关于我们"}]}],"$L6","$L7","$L8","$L9"]}]]}],"$La","$Lb"]}],"$Lc"]}]}]]}]]}],"loading":null,"isPartial":false}
6:["$","li","services",{"children":["$","$L5",null,{"href":"/services","className":"text-gray-400 hover:text-white transition-colors","children":"核心业务"}]}]
7:["$","li","products",{"children":["$","$L5",null,{"href":"/products","className":"text-gray-400 hover:text-white transition-colors","children":"产品服务"}]}]
8:["$","li","news",{"children":["$","$L5",null,{"href":"/news","className":"text-gray-400 hover:text-white transition-colors","children":"新闻动态"}]}]
9:["$","li","contact",{"children":["$","$L5",null,{"href":"/contact","className":"text-gray-400 hover:text-white transition-colors","children":"联系我们"}]}]
a:["$","div",null,{"children":[["$","h3",null,{"className":"font-semibold text-lg mb-6","children":"服务项目"}],["$","ul",null,{"className":"space-y-3","children":[["$","li",null,{"children":["$","$L5",null,{"href":"/services","className":"text-gray-400 hover:text-white transition-colors","children":"软件开发"}]}],["$","li",null,{"children":["$","$L5",null,{"href":"/services","className":"text-gray-400 hover:text-white transition-colors","children":"云服务"}]}],["$","li",null,{"children":["$","$L5",null,{"href":"/services","className":"text-gray-400 hover:text-white transition-colors","children":"数据分析"}]}],["$","li",null,{"children":["$","$L5",null,{"href":"/services","className":"text-gray-400 hover:text-white transition-colors","children":"信息安全"}]}]]}]]}]
b:["$","div",null,{"children":[["$","h3",null,{"className":"font-semibold text-lg mb-6","children":"联系方式"}],["$","ul",null,{"className":"space-y-4","children":[["$","li",null,{"className":"flex items-start gap-3","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-map-pin w-5 h-5 text-gray-400 mt-0.5","aria-hidden":"true","children":[["$","path","1r0f0z",{"d":"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"}],["$","circle","ilqhr7",{"cx":"12","cy":"10","r":"3"}],"$undefined"]}],["$","span",null,{"className":"text-gray-400","children":"中国四川省成都市龙泉驿区幸福路12号"}]]}],["$","li",null,{"className":"flex items-center gap-3","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-phone w-5 h-5 text-gray-400","aria-hidden":"true","children":[["$","path","9njp5v",{"d":"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384"}],"$undefined"]}],["$","span",null,{"className":"text-gray-400","children":"028-88888888"}]]}],["$","li",null,{"className":"flex items-center gap-3","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-mail w-5 h-5 text-gray-400","aria-hidden":"true","children":[["$","path","132q7q",{"d":"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"}],["$","rect","izxlao",{"x":"2","y":"4","width":"20","height":"16","rx":"2"}],"$undefined"]}],["$","span",null,{"className":"text-gray-400","children":"contact@novalon.cn"}]]}]]}]]}]
c:["$","div",null,{"className":"border-t border-white/10 mt-12 pt-8","children":["$","div",null,{"className":"flex flex-col md:flex-row justify-between items-center gap-4","children":[["$","p",null,{"className":"text-gray-400 text-sm","children":["© ",2026," ","四川睿新致远科技有限公司",". All rights reserved."]}],["$","div",null,{"className":"flex gap-6","children":[["$","$L5",null,{"href":"#","className":"text-gray-400 hover:text-white text-sm transition-colors","children":"隐私政策"}],["$","$L5",null,{"href":"#","className":"text-gray-400 hover:text-white text-sm transition-colors","children":"服务条款"}]]}]]}]}]
2:I[46510,["/_next/static/chunks/9282d61d30a462aa.js","/_next/static/chunks/d3476b7662fdc498.js"],"default"]
3:I[33090,["/_next/static/chunks/9282d61d30a462aa.js","/_next/static/chunks/d3476b7662fdc498.js"],"default"]
0:{"buildId":"2eEJlnf8PUcceYUHGuCke","rsc":["$","$1","c",{"children":[null,["$","div",null,{"className":"min-h-screen flex flex-col","children":["$","main",null,{"className":"flex-1","children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"loading":null,"isPartial":false}