<view class="container">
    <view class="myfavorite-box" wx:for="{{myfavorites}}" >
      <view class="myfavorite-item" >
                <image src="{{item.image}}" bindtap="ondetail" data-id="{{item.ProductID}}"></image>
                <view class="myfavorite-box">
                       <view class="name" bindtap="ondetail" data-id="{{item.ProductID}}">{{item.name}}</view>
                       <view class="price">
                        <text class="ourprice">￥{{item.hyje}}</text>
                       </view>
                </view>
                <view class="icon" bindtap="delete" data-id="{{item.id}}"><image src="../../images/close.png" />
              </view>
          </view> 
         
    </view>
    <view class="nodata" hidden="{{nodataHidden}}">
         <image src="../../images/order-null.png"/>
          <view>暂无数据</view>  
    </view>

</view>

   
<loading hidden="{{loadingHidden}}">
        加载中...
    </loading> 