refactor(SearchBar): 替换 NutUI Input 为原生 input 元素
重构 SearchBar 组件,移除对 NutUI Input 组件的依赖,改用原生 input 元素实现搜索输入框。这提高了组件的渲染性能并减少了包体积。同时,自定义了搜索图标和清除按钮的样式与交互逻辑,以获得更精细的 UI 控制。
Showing
1 changed file
with
83 additions
and
19 deletions
-
Please register or login to post a comment