1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <view>
- <view class="header margin-bottom">
- <!-- <form onReset="onReset">
- <view class="search flex-box flex-v-ce">
- <image mode="scaleToFill" src="../../../image/ss.png"></image>
- <input placeholder="请输入姓名或事件内容搜索" onInput="bindKeyInput" class="flex-1"></input>
- <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
- </view>
- </form> -->
- <view class="flex-box flex-v-ce selectItems border-bottom">
- <view data-index="1" class="{{activeIndex == 1? 'active':''}} flex-2" catchTap="activeItem">我指派的</view>
- <view data-index="2" class="{{activeIndex == 2? 'active':''}} flex-2" catchTap="activeItem">我悬赏的</view>
- <view data-index="3" class="{{activeIndex == 3? 'active':''}} flex-2" catchTap="activeItem" style="border-right:1px solid #f1f1f1">重复任务</view>
- <view catchTap="selectSx" class="flex-1">
- <image mode="scaleToFill" class="sxImg" src="../../../image/sx.png"/>
- </view>
- </view>
- </view>
- <view class="main scroll">
- <scroll-view class="scroll" a:if="{{(activeIndex==1||activeIndex==2)&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="flex-box li border-bottom" data-index="1" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}">
- <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
- <view class="flex-1 main-right">
- <view class="flex-box flex-v-ce">
- <view class="name flex-1">{{item.employee_name}}</view>
- <view class="red" a:if="{{item.point>0}}">+{{item.point}} {{item.pt_name}}</view>
- <view class="green" a:else>{{item.point}} {{item.pt_name}}</view>
- </view>
- <view class="context" a:if="{{item.remark}}">{{item.remark}}</view>
- <view class="flex-box flex-v-ce">
- <view class="date flex-1">{{item.event_time}}</view>
- <view class="redBox" a:if="{{item.point>0}}">奖分成功</view>
- <view class="greenBox" a:else>扣分成功</view>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <scroll-view class="scroll" a:if="{{activeIndex==3&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="li2 border-bottom" data-index="2" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}">
- <view style="margin-bottom:10rpx;">排位吃饭</view>
- <view class="flex-box flex-v-ce fontColorX" style="font-size:28rpx;">
- <image mode="scaleToFill" src="../../../image/sj2.png"/>
- <text>每天自动发布</text>
- <text> 完成截止为1点</text>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <no-data a:if="{{list.length==0}}"></no-data>
- </view>
- <select-zp defaultSx="{{sxObj}}" typeIndex="{{activeIndex}}" a:if="{{showZp==true}}" isShow="{{showZp}}" onClose="onClose" onConfirm="onConfirmSx"></select-zp>
- </view>
|