<!--pages/footprint/footprint.wxml-->
<view class="content">

  <view class="list-item" wx:for="{{data_list}}" wx:key="unique">
      <view class="item-title">
          <view class="name">
                <image src="{{item.template_icon_img!=''?host+item.template_icon_img:'/img/nav/menu2.png'}}" role="img"></image>
                <view>{{item.template_name}}</view>
          </view>
          <view class="time">
              {{item.start_date_time}} — {{item.end_date_time}}
          </view>
      </view>
      <view class="info">
          <image src="{{item.neutralization && item.neutralization.tree_info.length > 0 ? item.neutralization.tree_info[0].tree_img:host+item.template_footmark_img}}"></image>
          <view class="info-list">
              <view class="info-left green ">减排量：{{item.reduction_amount}}</view>
              <view class="info-right orange">实际排放量：{{item.discharge_amount}}</view>
          </view>
          <view class="info-list">
              <view class="info-left  ">碳中和捐款：{{item.neutralization?item.neutralization.paid_money:'0.00'}}</view>
              <view class="info-right ">树种选择：{{item.neutralization && item.neutralization.tree_info.length > 0 ? item.neutralization.tree_info[0].tree_name:'暂无'}}</view>
          </view>
          <view class="info-list">
              参与项目：{{item.neutralization?item.neutralization.case_info.name:'暂无'}}
          </view>
      </view>
  </view>
  <view wx:if="{{data_list.length<=0}}" style="text-align: center;">当前没有足迹</view>
</view>
