<wrapper>
  <!-- 统计栏 -->
  <view
    class="statistics-list"
    a:for="{{list}}"
  >
    <view
      class="{{`statistics-list-item ${item.isLast?'last':''}`}}"
      a:if="{{item.info || item.isRemark}}"
    >

      <block a:if="{{item.tip}}">
        <view class="title">
          <tip-modal
            a:if="{{item.isDeliver}}"
            totalWeight="{{item.totalWeight}}"
            tipType="detail"
            item="{{item}}"
          />
          <box-modal
            a:if="{{item.isBox}}"
            item="{{item}}"
            tipType="detail"
          />
        </view>
        <view class="{{item.type === 'discount' ? 'money red' : item.type}}">
          <view class="money-icon">
            ¥
          </view>
          {{item.info || '0'}}
        </view>
      </block>
      <block a:else>
        <view class="title">
          {{item.title}}
        </view>
        <view class="{{item.type === 'discount' ? 'money red' : item.type}}">
          <view
            class="money-icon"
            a:if="{{item.type !== 'text'}}"
          >
            {{item.type === 'discount' ? '-¥' : '¥'}}
          </view>
          {{item.info}}
          <view
            a:if="{{item.copyButton}}"
            class="copy"
            data-info="{{item.info}}"
            onTap="copyNum"
          >
            复制
          </view>
        </view>
      </block>
    </view>
  </view>
</wrapper>