<wxs module="filters" src="../../utils/filters.wxs"></wxs>
<view class="ert" bindtap="search">
  <van-search value="{{ value }}" placeholder="请输入搜索关键词" shape="round" />
  <van-button color="#FF8C00" class="btn" round type="info" size="mini">搜索</van-button>
</view>
<view class="all1" wx:for="{{list}}" wx:key="id">
  <view class="card1">
    <view>
      <image style="width: 170rpx;height: 170rpx; margin:25rpx 35rpx 0 60rpx ;" src="../../images/tupian2.png" mode="" />
    </view>
    <view style="margin-top: 25rpx;">
      <view>
        <text style="font-size: 14px;">麻辣烫微辣</text>
        <van-tag color="#FF4500" style="margin-left: 10rpx;">优惠商品</van-tag>
      </view>
      <view style="margin-bottom: 10rpx;">
        <text style="color: #D3D3D3; font-size: 12px; margin-bottom: 10rpx;">包含香菜、菠菜、面、豆芽、海带</text>
      </view>
      <view style="margin-bottom: 10rpx;">
        <view style="display: flex;">
          <text style="font-size: 12px; font-weight: 700;">￥28.80</text>
          <view style="width: 55px; height: 1px; background-color: #808080; margin-left: -90rpx; margin-top: 14rpx;"></view>
          <text style="font-size: 12px; margin-left: 245rpx; color: #FF8C00;">限购2份</text>
        </view>
      </view>
      <view style="display: flex;">
        <view class="order-money1">
          ￥9.9+20积分
        </view>
        <van-stepper bind:blur="OnInput" bind:minus="prev" bind:plus="plus" bind:change="onChange" data-id="{{item.id}}" class="minus-class" min="0" value="{{ 0 }}" round button-size="20px" input-width="36px" />
      </view>
    </view>
  </view>
</view>
<view style="width: 100%;height: 86rpx;">

</view>
<view class="foot">
  <view style="display: flex;">
    <image style="width: 35px;height: 35px; margin: 10rpx 0 0 30rpx;" src="../../images/gouwuchekong.svg" mode="" />
    <view class="order-money">
      ￥{{filters.toFix(allMoney)}}+{{allIntegral}}积分
      <view style="font-size: 10px; font-weight: 400; margin-top: 6rpx;">
        共优惠￥10.0
        <text style="color: #808080; margin-left: 20rpx;">贷款费￥0</text>
      </view>
    </view>
    <button class="btn1">去结算</button>
  </view>
</view>