// import { useState } from 'react'; // import styles from '~/styles/pages/contract-search.css?url'; // export const links = () => [ // { rel: 'stylesheet', href: styles } // ]; // export default function ContractSearchIndex() { // const [searchQuery, setSearchQuery] = useState(''); // const handleSearchInputChange = (e: React.ChangeEvent) => { // setSearchQuery(e.target.value); // // 自动调整高度 // e.target.style.height = 'auto'; // e.target.style.height = Math.max(80, e.target.scrollHeight) + 'px'; // }; // const handleSearch = () => { // if (searchQuery.trim()) { // console.log('搜索查询:', searchQuery); // // 这里可以添加实际的搜索逻辑 // } // }; // const handleCategoryClick = (categoryName: string) => { // console.log('选择分类:', categoryName); // // 这里可以添加跳转到相应分类的逻辑 // }; // const handleKeyDown = (e: React.KeyboardEvent, categoryName: string) => { // if (e.key === 'Enter' || e.key === ' ') { // e.preventDefault(); // handleCategoryClick(categoryName); // } // }; // return ( //
//
//

AI智能合同模板搜索

//

输入合同名称、用途或关键内容,快速找到最适合的模板

//
//
// //
//
// // 支持自然语言描述,AI将为您匹配最相关的模板 //
// //
//
//
//
//
// // // // // // //
//
// ); // }