浏览代码

update:搜索功能

Jinhui Zhu 4 年之前
父节点
当前提交
a533281aaa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/index/index.wxml

+ 1 - 1
pages/index/index.wxml

@@ -32,7 +32,7 @@
           <view class="cu-bar search bg-white">
           <view class="cu-bar search bg-white">
             <view class="search-form round">
             <view class="search-form round">
               <text class="cuIcon-search"></text>
               <text class="cuIcon-search"></text>
-              <input type="text" id="search-kwd" placeholder="请输入关键字"  bindinput="inputAction" data-id="keyword" confirm-type="search"></input>
+              <input type="text" id="search-kwd" placeholder="请输入关键字"  bindinput="inputAction" data-id="keyword" confirm-type="search" bindconfirm='search'></input>
             </view>
             </view>
             <view class="action">
             <view class="action">
               <button class="cu-btn bg-green shadow-blur round" bindtap="search">搜索</button>
               <button class="cu-btn bg-green shadow-blur round" bindtap="search">搜索</button>