index.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view class="container" style="padding-bottom: {{ safeBottom }}px;">
  2. <view class="container__top" style="position: sticky; top: 0; z-index: 999;">
  3. <!-- 导航栏 -->
  4. <van-nav-bar custom-style="background-color: #407DB8">
  5. <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
  6. <text slot="title" style="color: #fff;">历史资金流水</text>
  7. </van-nav-bar>
  8. </view>
  9. <!-- 过滤条件 -->
  10. <view class="result-view" style="background-color: white;">
  11. <text>开始日期:</text>
  12. <van-button size="small" id="startdate" custom-class="startdate" plain type="default" bind:click="onButtonPressed">{{ startdate }}</van-button>
  13. <text>结束日期:</text>
  14. <van-button size="small" id="enddate" custom-class="enddate" plain type="default" bind:click="onButtonPressed" >{{ enddate }}</van-button>
  15. <van-button size="small" id="search" custom-class="search" type="info" bind:click="onButtonPressed" >查询</van-button>
  16. </view>
  17. <view class="container__list-top">
  18. <view class="container__list-top__row" wx:for="{{ titles }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">
  19. <text class="title">{{ itm}}</text>
  20. </view>
  21. </view>
  22. <view class="container__list-content">
  23. <view class="container__list-content__row" wx:for="{{ datas }}" wx:for-item="itm" wx:for-index="idx" wx:key="createtime">
  24. <text class="createtime">{{ itm.createtime }}</text>
  25. <text class="operatetypename">{{ itm.operatetypename }}</text>
  26. <text class="amount">{{ itm.amount }}</text>
  27. </view>
  28. </view>
  29. <!-- 选择日期 -->
  30. <van-calendar title="请选择日期" show="{{ show }}" min-date="{{ minDate }}" bind:close="onClose" bind:confirm="onConfirm" />
  31. </view>
  32. <!-- empty -->
  33. <van-empty wx:if="{{ isEmpty }}" class="custom-image" description="无数据"/>