myperformance.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!--mMine/pages/myperformance/myperformance.wxml-->
  2. <!-- tabs -->
  3. <view class="tab-view">
  4. <van-tabs sticky animated bind:change="onTabChange">
  5. <van-tab wx:for="{{tabs}}" wx:for-item="itm" wx:key="id" id="{{itm.id}}" active="{{itm.id}}" title="{{itm.name}}"/>
  6. </van-tabs>
  7. </view>
  8. <scroll-view class="scroll-view" scroll-x enable-flex>
  9. <!-- 列头 -->
  10. <view wx:if="{{!isEmpty}}" class="title-view" style="width: {{totalWidth}}px;">
  11. <text class="title-view-text" wx:for="{{titles}}" wx:for-index="idx" wx:for-item="itm" wx:key="idx" id="idx" style="width: {{widths[idx]}}px;">{{itm}}</text>
  12. </view>
  13. <!-- 数据内容 -->
  14. <view class="order-list">
  15. <view class="order-list-item" wx:for="{{values}}" wx:for-item="lists" wx:key="lists" id="{{index}}" bindtap="onListItemClick">
  16. <!-- 数据体 -->
  17. <view class="order-list-item-row" style="width: {{totalWidth}}px;">
  18. <text wx:for="{{lists}}" wx:for-index="idx" wx:for-item="itm" wx:key="itm" style="width: {{widths[idx]}}px;">{{itm}}</text>
  19. </view>
  20. <!-- 按钮 -->
  21. <view class="order-list-item-btn" wx:if="{{selectRow != -1 && selectRow == index}}">
  22. <!-- 履约详情 -->
  23. <button class="per-detail" id="per-detail" bindtap="onButtonPressed">履约详情</button>
  24. <!-- 手动执行 -->
  25. <button class="per-manual" id="per-manual" bindtap="onButtonPressed">手动执行</button>
  26. <!-- 延期申请 -->
  27. <button class="apply-dely" id="apply-dely" bindtap="onButtonPressed">延期申请</button>
  28. <!-- 违约申请 -->
  29. <button class="apply-default" id="apply-default" bindtap="onButtonPressed">违约申请</button>
  30. <!-- 卖委托单 -->
  31. <button class="edit" id="edit" bindtap="onButtonPressed">修改信息</button>
  32. </view>
  33. </view>
  34. </view>
  35. </scroll-view>
  36. <van-empty wx:if="{{isEmpty}}" class="custom-image" description="无数据"/>