<view class="card_goods">
  <view class="search_box">
    <icon class="fa fa-angle-left" catchtap="goBack"></icon>
    <view class="text_box">
      <icon class="iconfont icon-sousuo1"></icon>
      <!-- @submit.prevent action="#" -->
      <view class="form">
        <van-field type="search" value="{{inputs}}" placeholder="请输入当前分类商品" border="{{ false }}" bind:change="enterSearch" />
      </view>
    </view>
    <text class="span" catchtap="getData">搜索</text>
  </view>
  <view class="title">
    <view class="line_left"></view>
    <view class="h1">搜索结果</view>
    <view class="line-right"></view>
  </view>
  <view class="goods_list">
    <view class="goods_box" wx:for="{{goodList}}" wx:key="index" data-id="{{item.goods_id}}" catchtap="toGood">
      <view class="goods_img">
        <image src="{{item.thumb}}" />
      </view>
      <view class="goods_text ul">
        <view class="name li" style="-webkit-box-orient: vertical;">
          {{ item.title || escapeTitle }}
        </view>
        <view class="sum li">
          <text class="span">
            <text class="font">{{language['money']}}</text>
            {{ item.price }}
          </text>
          <icon class="iconfont icon-record_go" data-item="{{item}}" data-index="0" catchtap="chooseGoods" wx:if="{{item.bler}}"></icon>
          <icon class="iconfont no_current" data-item="{{item}}" data-index="1" catchtap="chooseGoods" wx:if="{{!item.bler}}"></icon>
        </view>
      </view>
    </view>
  </view>
  <!-- 弹窗 -->
  <van-popup show="{{show1}}" position="center" style="width:80%;">
    <view class="tips_box" style="width:600rpx;">
      <view class="text p">您选择的商品数量超过8件，请先删除后再重新选择！</view>
      <button type="button" catchtap="checkOk">确定</button>
    </view>
  </van-popup>
  <view class="card_goods_btm">
    <view class="p">
      已选
      <text class="span">{{ lengths }}</text>
      件商品
    </view>
    <button type="button" catchtap="sureChoose">确定选择</button>
  </view>
</view>
<!-- <shopfoot></shopfoot> -->
