<!--pages/mine/wxml/biddersrecord/biddersrecord.wxml-->
<view class="container">
  <view class='header'>
    <view style='color:{{col}}' bindtap='show'>
      进行中
    </view>
    <view style='color:{{cols}}' bindtap='hide'>
      我买中
    </view>
  </view>
  <view class='count' style='display:{{disshow}}'>
    <view class='nothing' wx:if="{{newarray.length<=0}}" wx:key="index">
      您没有进行中的商品
    </view>
    <block wx:for="{{newarray}}" wx:key="index">
      <view class='public'>
        <view class="head seller">
          <view class='footimg'>
            <image src='../../images/conveniencstore.png'></image>
            <view>
              {{item.name}}
            </view>
            <image src="../../../../images/arrow.png"></image>
          </view>
        </view>
        <view class='top'>
          <view class=' img'>
            <image src='{{prodUrl}}web-cp-all/img_pm/img/{{item.bid_file_id}}'></image>
          </view>
          <view class='price'>
            <view>
              {{item.item_name}}
            </view>
          </view>
        </view>
        <view class='bottom'>
          <view class='fontcolor'>
            {{item.bid_opening}}
          </view>
           <navigator class='btns' url='../../../live/live?liveid={{item.live_room_id}}&title={{item.item_name}}' wx:if="{{item.auction_way === '拍卖会拍卖'}}">
        继续竞买
      </navigator>
      <navigator class='btns' url='../../../details/details?kid={{item.kid}}' wx:elif="{{item.auction_way === '在线拍卖'}}">
        继续竞买
      </navigator> 
          <view class='clear'></view>
        </view>
      </view>
    </block>
  </view>
  <view class='count' style='display:{{dishide}}'>
    <view class='nothing' wx:if="{{array.length<=0}}" wx:key="index">
      您没有进行中的商品
    </view>
    <block wx:for="{{array}}" wx:key="index">
      <view class='public'>
        <view class="head seller">
          <view class='footimg'>
            <image src='../../images/conveniencstore.png'></image>
            <view>
              {{item.shop_name}}
            </view>
            <image src="../../../../images/arrow.png"></image>
          </view>
          <!-- <view class='fontcolor'>
            买家已付款
          </view> -->
        </view>
        <view class='top'>
          <view class='img'>
            <image src='{{prodUrl}}web-cp-all/img_pm/img/{{item.bid_file_id}}'></image>
          </view>
          <view class='price'>
            <view>
              {{item.item_name}}
            </view>
            <view>
              成交价：￥{{item.maxprice_bidder}}
            </view>
            <view>
              成交时间：{{item.bidder_time}}
            </view>
          </view>
          <!-- <view class='save'>
            <view>94.54%</view>
            <view>节省</view>
          </view> -->
        </view>
        <view class='bottom'>
          <view class='fc'>
            成交者 ：{{item.name}}
          </view>
        </view>
      </view>
    </block>
  </view>
</view>