salary.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <import src="../../public/page/order-item.wxml" />
  2. <view class="bg-view" animation="{{bgAnimation}}">
  3. <scroll-view scroll-y="{{scroll}}" class="bg-scroll-view" style="background-color:{{(data[0].length == 0 && !isLoading) ? 'white' : '#F5F5F5'}};">
  4. <view style="width:100%;height:124rpx;"></view>
  5. <template is="order-item" wx:for="{{data[0]}}" wx:key="{{index}}" data="{{...item, id: index}}"/>
  6. <view class="no-data" wx:if="{{data[0].length == 0 && !isLoading}}">
  7. <image src="../../../../icon/public/salary_empty.png"></image>
  8. <text>暂无社保流水记录</text>
  9. </view>
  10. </scroll-view>
  11. <scroll-view scroll-y="{{scroll}}" class="bg-scroll-view" style="background-color:{{(data[1].length == 0 && !isLoading) ? 'white' : '#F5F5F5'}};">
  12. <view style="width:100%;height:124rpx;"></view>
  13. <template is="order-item" wx:for="{{data[1]}}" wx:key="{{index}}" data="{{...item, id: index}}"/>
  14. <view class="no-data" wx:if="{{data[1].length == 0 && !isLoading}}">
  15. <image src="../../../../icon/public/salary_empty.png"></image>
  16. <text>暂无社保流水记录</text>
  17. </view>
  18. </scroll-view>
  19. </view>
  20. <!-- </scroll-view> -->
  21. <view class="tab-view">
  22. <view>
  23. <view class="{{tab.id == '1' ? 'tab-text-s' : 'tab-text-n'}}" bindtap="tabChoose" id="1">待处理</view>
  24. <view class="{{tab.id == '1' ? 'tab-text-n' : 'tab-text-s'}}" bindtap="tabChoose" id="2">已处理</view>
  25. </view>
  26. <view>
  27. <view animation="{{tab.animation}}">
  28. <view></view>
  29. </view>
  30. </view>
  31. </view>
  32. <template is="order-details-view" data="{{...detailsView}}" />