1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <view>
- <view class="{{popupCx}}">
- <view class="header margin-bottom">
- <view class="flex-box flex-v-ce tab" style="border-bottom:1px solid #f1f1f1">
- <view class="flex-1" catchTap="selectStaff">
- <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
- </view>
- <view class="flex-1" catchTap="selectDate">
- <text class="{{showDate? 'activeView blue':''}}">{{selectDateVal}}</text>
- </view>
- </view>
- <form onReset="onReset">
- <view style="margin:16rpx 0;padding-bottom:16rpx">
- <view class="search flex-box flex-v-ce">
- <image mode="scaleToFill" src="../../../image/ss.png" />
- <input class="flex-1" placeholder="请输入内容" onInput="bindKeyInput" />
- <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
- </view>
- </view>
- </form>
- </view>
- <view class="main scroll">
- <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="flex-box-ce li " a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" key="{{item.id}}">
- <view class="flex-box-v flex-center-center" style="width:140rpx;background:#C3E0FD;height:160rpx">
- <image mode="scaleToFill" src="../../../image/pj.png" style="width:60rpx;height:60rpx;margin-bottom:0.1rem"/>
- <text style="font-size:28rpx" class="blue">奖票</text>
- </view>
- <view class="flex-1" style="padding:16rpx 20rpx">
- <view class="context">{{item.remark.customize||item.remark.rule}}</view>
- <view class="flex-box-ce fontColorC" style="font-size:28rpx">
- <text class="flex-1">{{item.employee_name}}</text>
- <text class="">{{item.dateStr}}</text>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <no-data a:if="{{list.length==0}}"></no-data>
- </view>
- </view>
- <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" isAllSelect="{{false}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
- <select-date defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
- </view>
|