kind.wxml 1.9 KB
<!--pages/kind/kind.wxml-->
<!-- <text>pages/kind/kind.wxml</text> -->
<view class='container'>
    <view class="nav mainindex_nav top">
          <view wx:for="{{shop_class}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="navbarTap" data-class_id="{{item.class_id}}">{{item.class_name}}
          </view>
      </view>
       <view class='mid'>
    <view class='ware_box' wx:for='{{shop}}' wx:key="index"  data-shop_id="{{item.shop_id}}" bindtap="shoptail">
      <view class='ware_top'>
        <view class='ware_1' data-categoryid="{{item.shop_id}}">
          <image src='{{item.thumb}}'></image>
          <view class='ware_1_time'>
            据结束2时22分
          </view>
        </view>
        <view class='ware_text'>
          <view class='ware_2'>
            <text class='ware_2Txt1'>{{item.name}}</text>
            <text class='ware_2Txt2'>{{item.origin}}</text>
          </view>
          <view class='ware_3'>
            <progress percent="42" show-info color="#B5DE96" border-radius="8" font-size="24rpx" stroke-width="16rpx" />
          </view>
          <view class='ware_4'>
            <text>现有{{item.numb}}份,目标{{item.group}}份</text>
          </view>
          <view class='ware_5'>
            <view>
              <text class='ware5_t1'>{{item.money_sale}}</text>
              <text class='ware5_t2'>{{item.shop_type}}</text>
            </view>
            <view class='ware5_box'>
              <view class='ware5_t3'>{{item.text_table}}</view>
              <view class='ware5_t4'>{{item.text_content}}</view>
            </view>
            <view class='ware_6'>
              <view>立即参团</view>
            </view>
          </view>
        </view>
      </view>
      <view class='ware_bot'>
        <view class='ware_bot_tit'>经典推荐</view>
        <view class='ware_bot_txt'>{{item.recommend}}</view>
      </view>
    </view>
    
  </view>
</view>