<!--packageI/donation_project/donationProjectDetails/donationProjectDetails.wxml-->


<view class="brief">
  <view class="face">
    <image src="{{person.latest_project_img}}" mode="aspectFill" />
  </view>
  <view class="desc_info">
    <view class="name text-overHide">{{ person.name }}</view>
    <view class="choice_time" bindtap="setTimeShow">
      <text>{{time_text=='' ? '选择时间' : time_text}}</text>
      <i class="iconfont icon-member-bottom"></i>
    </view>
  </view>
</view>





<view class="wrapper">
  <view class="container">
    <view class="container-header">
      <view class="container-title">捐赠信息</view>
      <view class="container-header-next" bindtap="gotoPage" data-name="donationProjectInfo">
        <text>查看更多</text>
        <i class="iconfont icon-advertise-next"></i>
      </view>
    </view>
    <view class="donation-list ">
      <view class="donation-item" wx:for="{{info_list}}">
        <view class="project_name text-overHide">{{ item.project_title }}</view>
        <view class="price">捐赠金额: <text class="small">￥</text><text class="num">{{ item.price }}</text></view>
        <view class="project_ps" wx:if="{{item.remarks && item.remarks != ''}}">备注：{{ item.remarks }}</view>
      </view>
    </view>
  </view>

  <view class="container picture">
    <view class="container-header">
      <view class="container-icon-title">
        <i class="iconfont icon-customform_list_3"></i>
        <text>图片</text>
      </view>
      <view class="container-header-next" bindtap="gotoPage" data-name="donationProjectPicture">
        <text>查看更多</text>
        <i class="iconfont icon-advertise-next"></i>
      </view>
    </view>
    <view class="picture-list">
      <view class="picture-container">
        <view class="picture-item" wx:for="{{picture_list}}" wx:key="{{index}}">
          <view class="face">
            <image wx:if="{{item.url}}" src="{{item.url}}" mode="aspectFill" />
            <text wx:else >暂无内容</text>
          </view>
          <view class="project_name text-overHide">{{ item.name }}</view>
        </view>

      </view>
    </view>
  </view>

  <view class="container picture">
    <view class="container-header">
      <view class="container-icon-title">
        <i class="iconfont icon-fontclass-ship"></i>
        <text>视频</text>
      </view>
      <view class="container-header-next" bindtap="gotoPage" data-name="donationProjectVideo">
        <text>查看更多</text>
        <i class="iconfont icon-advertise-next"></i>
      </view>
    </view>
    <view class="picture-list">
      <view class="picture-container">
        <view class="picture-item" wx:for="{{video_list}}" wx:key="{{index}}">
          <view class="face">
            <video wx:if="{{item.url}}" src="{{item.url}}" ></video>
            <text wx:else >暂无内容</text>
          </view>
          <view class="project_name text-overHide">项目名称：{{ item.name }}</view>
        </view>

      </view>
    </view>
  </view>
</view>



<van-popup show="{{ time_show }}" position="bottom" round bind:click-overlay="setTimeShow" >
  <view class="time_select">
    <view class="time_select_header">
      <i class="iconfont icon-ht_more_right icon-left" data-type="recude" bindtap="changeYear"></i>
      <text>{{current_year}}年</text>
      <i class="iconfont icon-ht_more_right {{current_year==max_year ? 'disabled' : ''}}" data-type="add"
        bindtap="changeYear"></i>
    </view>
    <view class="time_select_container">
      <view
        class="time_select_item {{current_month==item ? 'active' : ''}} {{(current_year>=max_year && item>max_month) ? 'disabled' : ''}}"
        bindtap="changeMonth" data-item="{{item}}" wx:for="{{month_arr}}" wx:key="{{index}}">{{item}}月</view>
    </view>
    <view class="time_searct_btn" bindtap="timeConfirm">确定</view>
  </view>
</van-popup>


<shopfoot ></shopfoot>