collectlist.wxml 3.8 KB
<view class="colecttop flextwo">
  <view class="collectitem {{nav==1?'collectactive':''}}" bindtap="sel" data-id="1">商户</view>
  <view class="collectitem {{nav==2?'collectactive':''}}" bindtap="sel" data-id="2">点评</view>
</view>
<view class="collectbox" wx:if="{{nav==1}}">
  <view class="colectbitem flex">
    <view class="collectbitemleft">
      <image src="/img/photo.png"></image>
    </view>
    <view class="collectbtitemr">
      <view class='goodname'>海贼王寿司店</view>

      <view class="flexone starbox">
        <view class="star flexone">
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
        </view>
        <view class="shouprice">¥88</view>
      </view>
      <view class="addressbox flexone">
        <view class='asddressitem'>东京街</view>
        <view class='asddressitem'>东京街</view>
        <view class='asddressitem'>东京街</view>
      </view>
    </view>

  </view>
  <view class="colectbitem flex">
    <view class="collectbitemleft">
      <image src="/img/photo.png"></image>
    </view>
    <view class="collectbtitemr">
      <view class='goodname'>海贼王寿司店</view>

      <view class="flexone starbox">
        <view class="star flexone">
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/pingfenshi.png"></image>
          </view>
        </view>
        <view class="shouprice">¥88</view>
      </view>
      <view class="addressbox flexone">
        <view class='asddressitem'>东京街</view>
        <view class='asddressitem'>东京街</view>
        <view class='asddressitem'>东京街</view>
      </view>
    </view>

  </view>
</view>

<scroll-view scroll-y="{{isScroll}}" style='height:{{windowHeight}}px' wx:else>
  <block wx:key="item" wx:for="{{data}}">
    <view data-index='{{index}}' class="order-item" bindtouchstart="drawStart" bindtouchmove="drawMove" bindtouchend="drawEnd" style="right:{{item.right}}rpx">
      <view class="colectbitem flex">
        <view class="collectbitemleft">
          <image src="/img/photo.png"></image>
        </view>
        <view class="collectbtitemr">

          <view class="userbox flexone">
            <view class="userimg">
              <image src="/img/kele.png"></image>
            </view>
            <view class="username">用户名称</view>
            <view class="userlevel">Lv 20</view>
          </view>
          <view class='goodname goodtext'>海贼王寿司店海贼王寿司店海贼王寿司店海贼王寿司店海贼王寿司店</view>
          <view class="addressbox flexone">
            <view class='asddressitem'>东京街</view>
            <view class='asddressitem'>东京街</view>
            <view class='asddressitem'>东京街</view>
          </view>
        </view>

      </view>
      <view class="remove" bindtap="delItem">
      
          <view class="delimg">
              <image src="/img/delimg.png"></image>
          </view>
       </view>
    </view>
  </block>
</scroll-view>

<view class="nomoer">没有更多了哦~</view>