1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <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)&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="task">今日任务</view>
- <view class="li border-bottom" a:for="{{list}}">
- <view class="flex-box li-top" catchTap="openDetail" data-item="{{item}}">
- <view class="flex-1">临时任务1:帮我买瓶82年的雪碧(每天)我买瓶82年的雪碧(每天)我买瓶82年的雪碧(每天)</view>
- <text class="fontColorX">50</text>
- </view>
- <view class="flex-box li-bottom">
- <text class="flex-1 fontColorX" catchTap="openDetail" data-item="{{item}}">2020-08-08 01:11 截止</text>
- <button type="primary" class="defBtn" data-item="{{item}}" onTap="openPerform">完成任务</button>
- </view>
- </view>
- <view class="task">待完成任务</view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <scroll-view class="scroll" a:if="{{(activeIndex==2||activeIndex==3)&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="li border-bottom" a:for="{{list}}">
- <view class="flex-box li-top" catchTap="openDetail" data-item="{{item}}">
- <view class="flex-1">临时任务1:帮我买瓶82年的雪碧(每天)我买瓶82年的雪碧(每天)我买瓶82年的雪碧(每天)</view>
- <text class="fontColorX">50</text>
- </view>
- <view class="flex-box li-bottom">
- <text class="flex-1 fontColorX" catchTap="openDetail" data-item="{{item}}">2020-08-08 01:11 截止</text>
- <text class="yellow">待处理</text>
- <text class="red">已通过</text>
- <text class="green">已驳回</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="2" a:if="{{showZp==true}}" isShow="{{showZp}}" onClose="onClose" onConfirm="onConfirmSx"></select-zp>
- </view>
|