企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 搜索框 searchbar ### 搜索框 ![](https://box.kancloud.cn/971a4497e2fd11181e155c8eceff1138_449x152.png) ~~~ <div class="ui-searchbar-wrap ui-border-b"> <div class="ui-searchbar ui-border-radius"> <i class="ui-icon-search"></i> <div class="ui-searchbar-text">搜索号码(2-10位)</div> <div class="ui-searchbar-input"><input value="" type="tel" placeholder="搜索号码(2-10位)" autocapitalize="off"></div> <i class="ui-icon-close"></i> </div> <button class="ui-searchbar-cancel">取消</button> </div> <!-- <script src="http://i.gtimg.cn/vipstyle/frozenjs/1.0.1/frozen.js?_bid=304"></script> --> <script src="js/frozen.js"></script> <script type="text/javascript"> $('.ui-searchbar').tap(function(){ $('.ui-searchbar-wrap').addClass('focus'); $('.ui-searchbar-input input').focus(); }); $('.ui-searchbar-cancel').tap(function(){ $('.ui-searchbar-wrap').removeClass('focus'); }); </script> ~~~