task_assistance.wxml 4.02 KB
<view class="top-back" style="background-image: url({{iurl}}/miniapp/images/friendhelp/lumi.png)">
  <!-- 助力活动头部 -->
  <view class="top-frame">
    <view class="top-title white fs36 t-c">
      {{aitem[sw_index].tite_name}}
    </view>
    <view class="activity-data t-c fs28  white">
      活动剩余时间: {{activity_data}}
    </view>
  </view>
  <!-- 图片的轮播图 -->
  <view class="xc-specific-more-frame flex-center">
    <view bindtap="click_pre">
      <view class="bg_left xc-left bcolor"></view>
    </view>
    <swiper current="{{sw_index}}" style='width:82.7%; height:100%' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}">

      <swiper-item wx:for="{{aitem}}" wx:for-item="aitem" wx:for-index="pidx">

        <image class="xc-center-img " src="{{aitem.PrivilegeICOUrl}}"></image>

      </swiper-item>

    </swiper>

    <view bindtap="click_next">
      <view class="bg_right xc-right bcolor mt"></view>
    </view>
  </view>

  <view class="task-number fs28   white t-c ">
    今天剩余可领{{task_number}}个任务
  </view>

  <view class="task_clike fs40 t-c flex-center" bindtap="onlicke">
    就选它了
  </view>
</view>
<!-- 底部列表 -->
<view>
  <!-- 标题 -->

  <view class="flex-vertical-between fs28 padding head">
    <view class="flex-center lhead {{switch_head==0?'rhead':''}}" bindtap="switch_head" data-index="0">
      <image class="unfinished" src="{{iurl}}miniapp/images/friendhelp/task.png" lazy-load="true"></image>
      <view>我的任务</view>
    </view>
    <view class="flex-center lhead {{switch_head==1?'rhead':''}}" bindtap="switch_head" data-index='1'>
      <image class="unfinished" style="margin-top: 5rpx;" src="{{iurl}}miniapp/images/friendhelp/edit.png" lazy-load="true"></image>
      <view>帮拆记录</view>
    </view>
  </view>

  <view class="white">
    <view class="items" wx:if="{{is_task==0}}">
      <view class="item fs26 flex-vertical-between padding" wx:for="{{5}}">
        <view class="flex-center width">
          <view class="ellipsis-1">豪华任务一
          </view>
        </view>

        <view class="flex-center width state">
          <view class="ellipsis-1">进行中
          </view>
        </view>

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


  <view class="items" wx:if="{{is_task==1}}">


    <view class="item fs26 flex flex-vertical-between padding" wx:for="{{5}}">
      <view class="flex white" style="justify-content: space-around; width: 90%;margin:auto">
        <image class="circle user_img" src="https://mshopimg.yolipai.net/public/upload/qyimg/temp/2019/08-14/0697f7277936a3b116a6ebc4f8f5e39a.png"></image>
        <view class="ellipsis-1">豪华任务一
        </view>
        <view class="ellipsis-1">2019-05-12
        </view>
      </view>

    </view>

  </view>
  <view class="fs30" wx:if="{{1<0}}">
    <view class="flex-center nothing">
      <view>暂无任务记录</view>
    </view>
    <view class="flex-center receive">
      <view class="flex-center">
        <view>已有</view>
        <view>126</view>
        <view>人领取了任务</view>
      </view>
    </view>
  </view>

</view>
<!-- 加载更多 -->
<view class="fs32 ">
  <view class="flex-center">
    <view class="line"></view>
    <view class="load  white" bindtap="">点击加载更多</view>
    <view class="line"></view>
  </view>
  <view class="flex-center white" style="margin-top: 20rpx;">
    <view>已有</view>
    <view>126</view>
    <view>人领取了任务</view>
  </view>
</view>
<view wx:if="{{is_share}}">
  <!-- 蒙尘 -->
  <view wx:if="{{is_share}}" class="dust">
  </view>
  <!-- 画布 -->
  <view class="canvas" style="width:100%;">
    <view class="flex-center">
      <canvas canvas-id="share_id" style="width:600rpx;height:1000rpx;" bindtap="preview"></canvas>
    </view>
    <view class="closes flex-center">
      <image class="close" src="{{iurl}}/miniapp/images/plus/Close.png" bindtap="close_share"></image>
    </view>
  </view>
</view>
<!-- 引入提示组件 -->
<warn id="warn"></warn>
<!--  制作一个圆球导航  -->
<nav_b id="nav_b"></nav_b>