<!-- packageH/free_of_charge/FreeDetails/FreeDetails.wxml -->
<record-item simple class="record" data="{{ task }}" />
<scope-panel class="free-goods">
  <view class="free-goods-title">免单商品</view>
  <view>
    总数：{{ goods.length }}
  </view>
  <view class="free-goods-list">
    <view class="free-goods-item" wx:for="{{ goods }}" wx:key="goods_id">
      <image class="free-goods_cover" src="{{ item.goods.thumb }}" mode="aspectFill"></image>
      <view class="free-goods-info">
        <view class="free-goods_title">{{ item.goods.title }}</view>
        <view class="free-goods-footer">
          <view class="free-goods_price">免单金额：￥{{ item.dividend_amount }}</view>
          <view class="free-goods_count">数量：1</view>
        </view>
      </view>
    </view>
  </view>
</scope-panel>