index.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="head" />
  2. <Yl_ListBox id='ListBox' pullDown='{{false}}'>
  3. <view class="container">
  4. <calendar id="calendar" bindload="handleCalendarLoad" binddatechange="handleCalendarDateChange" bindrangechange="handleCalendarRangeChange" bindviewchange="handleCalendarPanelViewChange" _position="absolute" _top="0">
  5. <view class="history">
  6. <view style="margin: 10rpx 0;">
  7. <Yl_Headline title='{{querysubhr?"下属签到记录":"签到记录"}}' type='switch' switchLabel='查看下属签到记录' switch='{{querysubhr}}' bind:callBack='onChange' />
  8. </view>
  9. <view class="item" wx:for="{{list}}" wx:key="rowindex">
  10. <view class="time">{{item.signintime}}</view>
  11. <view class="location">
  12. <text class="iconfont icon-a-wodemendianxinxidizhi" />{{item.address}}
  13. </view>
  14. <view class="exp">说明:{{item.remarks|| ' --'}}</view>
  15. <view class="user">
  16. <view class="portrait">
  17. <image wx:if="{{item.headpic}}" src="{{item.headpic}}" mode="aspectFill" />
  18. <view wx:else class="text">
  19. {{item.name[0]}}
  20. </view>
  21. </view>
  22. <view class="main">
  23. <view class="name">{{item.name}}</view>
  24. <view class="text">{{item.depname}} {{item.position}}</view>
  25. </view>
  26. </view>
  27. </view>
  28. <My_empty wx:if="{{list.length==0}}" />
  29. <view style="height: 40rpx;" />
  30. </view>
  31. </calendar>
  32. </view>
  33. </Yl_ListBox>
  34. <Yl_FloatingButton useSlot zIndex='99999999999' bindtap="toSignIn">
  35. <view class="float-but">
  36. 签到
  37. </view>
  38. </Yl_FloatingButton>