xianshi.wxml 1.7 KB
<!-- <view class="miaoshatime flexthree" wx:if="{{showtime==true}}">
  <view class='miaoname'>距离开始</view>
  <view class='miaotime miaohour boxsizing'>{{day}}</view>
  <view class="miaoname">天</view>

  <view class='miaotime miaohour boxsizing'>{{hou}}</view>
  <view class="miaoname">:</view>

  <view class='miaotime miaohour boxsizing'>{{min}}</view>
  <view class="miaoname">:</view>

  <view class='miaotime miaohour boxsizing'>{{sec}}</view>
</view> -->

<view class="empty" wx:if="{{xianshilist.length==0}}">暂无数据</view>
<view class="searchgood commnonpadding" wx:else>
  <view class="searchgooditem flextwo boxsizing" wx:for="{{xianshilist}}" wx:key="">
    <view class="gooditemleft">
      <image src="{{item.images[0]}}" mode="widthFix"></image>
    </view>
    <view class="gooditemright ">
      <view class="goodsouname morehidden">{{item.name}}</view>

      <view class="miaogood flextwo">
        <view class="miaogoodleft">
          <view class="saleprice">¥288</view>
          <!-- <view class="yuansaleprice">¥{{}}</view> -->
        </view>
        <view class="buynow buyactive" wx:if="{{status==1}}">未开始</view>
        <view class="buynow buyactive" wx:if="{{status==2}}">已结束</view>
        <view class="buynow" wx:if="{{status==3&&item.sold!=0}}" data-id="{{item.id}}" bindtap="{{item.sold==0?'':'look_more'}}">立即抢购</view>
        <view class="buynow" wx:if="{{status==3&&item.sold==0}}">已抢光</view>
      </view>

      <view class="miaojindu flextwo">
        <view class="miaojinduleft">
          <view class="miaojinnei" style="width:{{item.rob}}%"></view>
        </view>
        <view class="miaojinduright">已抢{{item.rob}}%</view>
      </view>



    </view>
  </view>




</view>