<!--module/article/pages/confirm-receiving/confirm-receiving.wxml-->
<t-navbar title="确认收货" left-arrow />
<scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
<view class="confirm-receive-container">
  <!-- 商品物流卡片列表 -->
  <view class="order-goods-list">
    <view class="goods-card" wx:for="{{goodsList}}" wx:key="id" wx:for-index="index">
      <image class="goods-img" src="{{item.image}}" mode="aspectFill" />
      <view class="goods-info">
        <view class="goods-title">{{item.name}}</view>
        <view class="goods-count">× {{item.description}}</view>
      </view>
      <view class="goods-checkbox">
        <t-checkbox checked="{{item.checked}}" bind:change="onGoodsCheckChange" data-index="{{index}}" style="padding:0" />
      </view>
    </view>
  </view>

  <!-- 确认提示文案 -->
  <view class="confirm-title">确认货都收到了吗？</view>
  <view class="confirm-desc">
    为了保证您的售后权益，请收到商品确认无误后再确认收货
  </view>

  <!-- 底部按钮 -->
  <view class="confirm-footer">
    <!-- <t-button theme="default" class="footer-btn" bindtap="onCancel">取消</t-button> -->
    <t-button theme="primary" class="footer-btn" bindtap="onConfirmReceiving">确定</t-button>
  </view>
</view>
</scroll-view>

<view style="height: {{container.safeBottomOffset}}px;flex: none;"></view>
