<view class="container">
  <view class="top">
    <view class="title">招招盈总收益</view>
    <view class="middle">
      <view class="total-revenue">
        <text class="revenue">{{zzyCount.allSalary}}</text>
        <text class="danwei">元</text>
      </view>
      <view class="share-money" bindtap="goPoster">
        <view class="share-earn-money">分享赚钱</view>
      </view>
    </view>
    <view class="bottom">
      <view class="bottom-box1"><text class="text1">全部填写</text><text class="text2">{{zzyCount.allAdd}}</text></view>
      <view class="bottom-box1"><text class="text1">本月填写</text><text class="text2">{{zzyCount.monthAdd}}</text></view>
      <view class="bottom-box1"><text class="text1">今日填写</text><text class="text2">{{zzyCount.currDayAdd}}</text></view>
    </view>
  </view>
  <view class="tipcontent">填写人数是指扫码后填写问卷的人数</view>



  <view class="appoint-tabs-wrapper">
    <view class="tou"></view>
    <view class="appoint-tab-item {{showType==0?'active':''}}" data-tab="0" bindtap="onTabChange">全部明细</view>
    <view class="appoint-tab-item {{showType==1?'active':''}}" data-tab="1" bindtap="onTabChange">本月明细</view>
    <view class="appoint-tab-item {{showType==2?'active':''}}" data-tab="2" bindtap="onTabChange">今日明细</view>
  </view>
  <view class="total-people">共 :{{detailList.length}}人</view>
  <view class="serviceList">
    <view class="no-servicer" wx:if="{{detailList.length <= 0}}">
      <view class="no-service">
        <image src="https://jzmall.lifejingzhi.com/file/wx-servant/fj.png" mode="widthFix" />
      </view>
    </view>
    <view class="servicer" wx:else>
      <scroll-view scroll-y="true" style="height:862rpx;" bindscrolltolower="scrollToLower">
        <view class="b" wx:for="{{detailList}}">
          <view class="servicer-left">
            <view class="servicer-info"><text class="name">{{item.workerName}}</text>
              <text class="tel">{{item.tel}}</text>
            </view>
            <view class="time">填写时间：<text class="time">{{item.createTime}}</text>
            </view>
          </view>
          <view class="servicer-right">
          <view class="money">{{item.salary>0?item.salary:""}}</view>
            <view class="status">{{item.stateName}}</view>
          </view>
        </view>
      
      </scroll-view>

    </view>
  </view>






</view>