1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <view style="overflow:hidden;margin: 24rpx 32rpx;">
- <calendar
- id="calendar"
- config="{{calendarConfig}}"
- bind:onSwipe="onSwipe"
- bind:whenChangeWeek="whenChangeWeek"
- bind:whenChangeMonth="whenChangeMonth"
- bind:takeoverTap="takeoverTap"
- bind:afterTapDate="afterTapDate"
- bind:afterCalendarRender="afterCalendarRender"
- ></calendar>
- </view>
- <view class="card-wrapper" wx:for="{{tableData}}" wx:key="index">
- <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}" bindtap="gotoDetail" >
- <view class="i-class i-card-header mt10">
- <view class="i-card-header-title" style="font-size:36rpx">
- {{item.username}}
- <text wx:if="{{item.isOut}}" style="color:#F59E0B;font-size:28rpx;">【外出】</text>
- <text wx:else style="color:#059669;font-size:28rpx;">【莅临】</text>
- </view>
- <view class="i-card-header-extra" style="font-size:28rpx" >
- {{item.post}}
- </view>
- </view>
- <view class="i-card-footer" style="font-size:30rpx">
- {{item.fromDate}} 到 {{item.toDate}}
- </view>
- </view>
- </view>
- <!-- <view class='b cc wrap btn-wrap'>
- <button
- class='b cc btn btn-{{item.color}} btn-action-{{item.action}}'
- wx:for="{{actionBtn}}"
- wx:key="action"
- data-action="{{item.action}}"
- data-disable="{{item.disable}}"
- bindtap="handleAction">{{item.text}}</button>
- </view> -->
- <!-- <view class="show-rst-wrap">
- <view wx:if="{{rst}}" wx:for="{{rst}}" wx:key="index" class="show-rst">{{item}}</view>
- <view wx:if="{{rstStr}}" wx:key="index" class="show-rst">{{rstStr}}</view>
- </view> -->
|