index.wxml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="container main">
  3. <view class="one">
  4. <van-search value="{{ searchName }}" bind:search="onSearch" placeholder="请输入用户姓名" />
  5. </view>
  6. <view class="two">
  7. <scroll-view scroll-y="true" class="scroll-view">
  8. <view class="list-scroll-view">
  9. <view class="list" wx:for="{{list}}" wx:key="item">
  10. <view class="other">
  11. <view class="other_1 textOver"><text>订单号:</text><text>{{item.order_no}}</text></view>
  12. <view class="other_1"><text>支付理由:</text><text>{{item.type}}</text></view>
  13. <view class="other_1"><text>支付金额:</text><text>{{item.money}}</text></view>
  14. <view class="other_1"><text>支付状态:</text><text>{{item.statusZh}}</text></view>
  15. </view>
  16. <view class="btn">
  17. <view wx:if="{{item.status==='0'}}">
  18. <button size="mini" type="primary" bindtap="toPay" data-id="{{item._id}}">支付</button>
  19. </view>
  20. <view wx:if="{{item.status==='1'}}">
  21. <button size="mini" type="primary" bindtap="toRefund" data-id="{{item._id}}">退款</button>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </scroll-view>
  27. </view>
  28. </view>
  29. </mobile-main>