<view class="task_list">
    <view class="content">
      <view class="header">
        <view class="use-header">
          <view class="img">
            <image src="{{taskList.avatar}}" />
          </view>
          <view class="ul">
            <view class="name li">{{ taskList.nickname }}</view>
            <view class="li">{{ taskList.level_name==null?'':taskList.level_name }}</view>
          </view>
        </view>
        <view class="member_time">
          <icon
            class="iconfont icon-naozhong"
            style="font-size:36rpx;color:#f5ca7f;"
          ></icon>
          <view><text class="span">有效期：</text>{{ taskList.validity==null?0:taskList.validity }}天</view>
        </view>
      </view>
      <view>
        <!-- 页面优化 -->
        <view class="task_box">
          <view class="title_box">
            <view class="block_left"></view>
            <view class="h2">推荐任务</view>
            <view class="block_right"></view>
          </view>
          <view class="list_box">
            <view 
              class="list ul"
              wx:for="{{member_equity}}" wx:key="index"
            >
              <view class="text_a li">
                <icon class="iconfont icon-taskconter" ></icon>
              </view>
              <view class="text_b li">
                <view class="span">{{ item.level_name }}：{{ item.member_num }}人 </view
                >
                <view class="span"
                  >{{ item.code_name }}：+{{ item.amount }}{{ item.unit }}
                </view>
              </view>
              <view class="text_c li">
                <text class="state span" wx:if="{{item.status == 1}}">已完成</text>
                <text class="state span" wx:else="{{item.status != 1}}"
                  >{{ item.ret }}/{{ item.member_num }}
                </text>
              </view>
            </view>
          </view>
        </view>
      </view>
    </view>
  </view>
	<shopfoot></shopfoot>