record.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!--pages/payment/record/record.wxml-->
  2. <view class="container payment-record">
  3. <view class="top-opt">
  4. <picker class="left" bindchange="bindPickerChange" value="{{index}}" range="{{years}}">
  5. <view class="picker">
  6. <text class="label">{{years[index]}}</text>
  7. <image class="icon-up" src="/static/img/icon_up.png"></image>
  8. </view>
  9. </picker>
  10. <!-- <view class="right" >
  11. <text data-url="invoice" bindtap="toOtherPage">发票管理</text>
  12. </view> -->
  13. </view>
  14. <mp-tabs tabs="{{months}}" activeTab="{{activeTab}}" bindtabclick="onTabClick" bindchange="onChange"
  15. tab-underline-color="#0091FF" tab-active-text-color="#0091FF" swiperClass="tabs-swiper">
  16. <block wx:for="{{months}}" wx:key="title">
  17. <view class="tab-content" data-set="{{item}}" slot="tab-content-{{activeTab}}">
  18. <scroll-view class="wrap" scroll-y="true">
  19. <page-tips icon="img_nodata" content="暂无相关信息" wx:if="{{record[activeTab] && !record[activeTab].length}}"></page-tips>
  20. <view class="card" wx:for="{{record[activeTab]}}" wx:key="index">
  21. <image class="icon-method" src="/static/img/bg-payment-method{{item.method}}.png"></image>
  22. <view class="top">
  23. <view class="item">
  24. <text class="label">缴费户名:</text>
  25. <text>{{item.accountname}}</text>
  26. </view>
  27. <view class="item">
  28. <text class="label">缴费户号:</text>
  29. <text>{{item.accountnumber}}</text>
  30. </view>
  31. <view class="item">
  32. <text class="label">缴费方式:</text>
  33. <text>{{item.paywayname}}</text>
  34. </view>
  35. <view class="item">
  36. <text class="label">缴费金额:</text>
  37. <text>{{item.fee}}元</text>
  38. </view>
  39. <view class="item">
  40. <text class="label">预存余额:</text>
  41. <text>{{item.remaining}}元</text>
  42. </view>
  43. <view class="item">
  44. <text class="label">缴费时间:</text>
  45. <text>{{item.tranttime}}</text>
  46. </view>
  47. <view class="item">
  48. <text class="label block">交易流水号:</text>
  49. <text class="block">{{item.payseriesno}}</text>
  50. </view>
  51. <view class="item" wx:if="{{item.outtradeno}}">
  52. <text class="label block">商户订单号:</text>
  53. <text class="block">{{item.outtradeno}}</text>
  54. </view>
  55. </view>
  56. </view>
  57. </scroll-view>
  58. </view>
  59. </block>
  60. </mp-tabs>
  61. </view>