statementDetails.axml 1.9 KB

1234567891011121314151617181920212223242526272829303132
  1. <view>
  2. <view class="header" a:if="{{moduleshow}}">
  3. <view class="search flex-box-ce">
  4. <image mode="widthFix" src="../../../image/ss.png" />
  5. <input placeholder="请输入员工姓名搜索" onInput="bindKeyInput" onConfirm="bindKeyInput" class="flex-1" />
  6. <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
  7. </view>
  8. </view>
  9. <view class="main">
  10. <view class="headScreen flex-no-wrap margin-bottom" a:if="{{moduleshow}}">
  11. <text a:for="{{smdsHead}}" class="{{item.id == smdsins?'active':'' }}" onTap="activeItem" data-id="{{item.id}}">{{ item.name }}</text>
  12. </view>
  13. </view>
  14. <scroll-view class="scroll" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
  15. <view a:if="{{moduleshow}}" style="height:.2rem;background-color:#f5f7fa;"></view>
  16. <view a:if="{{!moduleshow}}" style="height:.7rem;background-color:#f5f7fa;color: #848484;padding-left: .3rem;line-height:.7rem;font-size:.28rem;">
  17. {{ itemparams.name }} ({{ itemparams.val }})
  18. </view>
  19. <view a:for="{{list}}" class="flex-box-ce item" data-item="{{item}}" onTap="openDetail">
  20. <img-box id="{{item.userInfo.id}}" name="{{item.userInfo.name}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
  21. <view class="flex-1" style="margin-left:0.2rem">
  22. <view class="name flex-1" style="font-size:0.32rem;margin-bottom:6rpx">{{item.userInfo.name}}</view>
  23. <view class="fontColorB font-flex-word" style="font-size: 0.28rem;width: 4.5rem;padding:0.1rem 0" a:if="{{item.dept_list.length>0}}">
  24. <text a:for="{{item.dept_list}}" a:for-item="item2" a:for-index="index2">{{ item2.name }}<text a:if="{{item.dept_list.length - index2 > 1}}">,</text></text>
  25. </view>
  26. </view>
  27. <view class="orangeBox">{{item.str}}</view>
  28. </view>
  29. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  30. </scroll-view>
  31. <no-data a:if="{{list.length==0}}"></no-data>
  32. </view>