<!-- packageH/stock/my/my.wxml -->
<view>
  <van-search shape="round" value="{{ searchInputKeyword }}" placeholder="请输入搜索内容" bind:search="searchGoods" bind:cancel="cancelSearch" bind:clear="cancelSearch"></van-search>
  <view class="goods-list" bind:tap="viewDetails">
    <goods-item class="goods-item" wx:for="{{ searchGoodsList||goodsList }}" wx:for-item="goodsItem" wx:key="id" data-id="{{ goodsItem.goods_id }}" data="{{ goodsItem }}" />
  </view>
</view>