<view class="page">
  <view class="product-grid" wx:if="{{favorites.length > 0}}">
    <product-card wx:for="{{favorites}}" wx:key="product_id" product="{{item}}" wx:for-item="item" />
  </view>

  <empty-state
    wx:elif="{{!loading}}"
    icon="❤️"
    text="还没有收藏商品"
    showBtn="{{true}}"
    btnText="去逛逛"
    bind:action="goHome"
  />

  <load-more
    wx:if="{{favorites.length > 0}}"
    status="{{loadStatus}}"
    bind:retry="loadMore"
  />
</view>
