collect.wxml 2.6 KB

<view class='container'>
  <view class='mid'>

    <view class="nodata" wx:if='{{collectList.length==0}}'>暂无数据</view>
    <block wx:else>
    <view class='mid_item' wx:for="{{collectList}}" wx:key="">
      <!-- 顶部 -->
      <view class='mid_item_top'>
        <!-- 左边 -->
        <view class='mid_item_top_left'>
          <view class='top_left_pic'>
            <!-- <image src='../../../img/goods_1.png'></image> -->
            <image src='{{item.thumb}}'></image>
          </view>
          <view class='top_left_text'>
            距结束23时59分距结束23时59分
           
          </view>
        </view>
        <!-- 右边 -->
        <view class='mid_item_top_right'>
          <!-- 右上 -->
          <view class='right_top'>
            <view class='right_top_lef'>
              {{item.name}}
            </view>
            <view class='right_top_rig'>
              产地:{{item.origin}}
            </view>
          </view>
          <!-- 右中1 -->
          <view class='right_mid'>
            <view class='right_mid_lef'>
              <view class='right_mid_lef_color'></view>
            </view>
            <view class='right_mid_rig'>
              {{item.group}}%
            </view>
          </view>
          <!-- 右中2 -->
          <view class='right_text'>
            已拼300份,目标500份
          </view>
          <!-- 右下 -->
          <view class='right_bottom'>
            <!-- 右下左 -->
            <view class='right_bottom_lef'>
              <span class='RBM'>¥</span>
              <span class='number'>{{item.money_sale}}/</span>
              <span class='text'>1磅1份1磅1份</span>
            </view>
            <!-- 右下中 -->
            <view class='right_bottom_mid'>
              <view class='right_bottom_mid_t'>
                <!-- 商品尺寸 -->
                <!-- 40mm-50m -->
                {{item.text_table}}
              </view>
              <view class='right_bottom_mid_b'>
                {{item.text_content}}
              </view>
            </view>
            <!-- 右下右 -->
            <view class='right_bottom_rig'>
              立即参团
            </view>
          </view>
        </view>
        

      </view>
      <view class='mid_item_bottom'>
        <view class='mid_item_bottom_left'>
          经典推荐
        </view>
        <!-- 竖线 -->
        <view class='mid_line'></view>
        <!-- 底部文本 -->
        <view class='mid_item_bottom_bot'>
          {{item.recommend}}
        </view>
      </view>
    </view>
    </block>

    
  </view>
</view>