myInvoice.wxml 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <wxs module="money" src="../../../filter/money.wxs"></wxs>
  2. <view class="page-myInvoice">
  3. <!-- 头部切换 start -->
  4. <view class="myInvoice-top">
  5. <vie bindtap="changeTab" data-index="0" class="item {{orderQueryStatus==0?'active':''}}">
  6. <view class="icon icon01"></view>
  7. <text class="">全部</text>
  8. </vie>
  9. <view bindtap="changeTab" data-index="1" class="item {{orderQueryStatus==1?'active':''}}">
  10. <view class="icon icon02"></view>
  11. <text class="">待提交</text>
  12. </view>
  13. <view bindtap="changeTab" data-index="2" class="item {{orderQueryStatus==2?'active':''}}">
  14. <view class="icon icon03"></view>
  15. <text class="">进行中</text>
  16. </view>
  17. <view bindtap="changeTab" data-index="3" class="item last {{orderQueryStatus==3?'active':''}}">
  18. <view class="icon icon04"></view>
  19. <text class="">已完成</text>
  20. </view>
  21. </view>
  22. <!-- 头部切换 end -->
  23. <!-- 主体 start -->
  24. <view class="main">
  25. <view wx:for="{{orderList}}" wx:key="{{index}}" class="item-box">
  26. <view wx:if="{{item.orderStatus==1}}" class="warning-icon"><image src="https://resource.artouchstone.com/miniapp/artist/images/icon-warning-outline.png"></image></view>
  27. <view bindtap="itemHandler" data-index="{{index}}" data-status="{{item.orderStatus}}" class="item">
  28. <view class="invoice-name">普通发票</view>
  29. <view class="price-box">
  30. <view class="price">¥{{item.invoicePrice?money.money(item.invoicePrice):'待填写'}}</view>
  31. <view class="state">{{orderStatus[item.orderStatus]}}</view>
  32. </view>
  33. <view class="company-box">
  34. <view class="company">{{item.buyName||'待填写'}}</view>
  35. <view wx:if="{{item.orderStatus==3}}" catchtap="showPaySure" data-index="{{index}}" data-invoiceOrderId="{{item.invoiceOrderId}}" class="confirm-box">
  36. <image src="https://resource.artouchstone.com/miniapp/artist/images/write.png"></image>
  37. <view>确认支付</view>
  38. </view>
  39. <view wx:if="{{item.orderStatus==6&&item.serviceInvoiceStatus==0}}" catchtap="serveInvoice" data-index="{{index}}" class="confirm-box serve-box">
  40. <image src="https://resource.artouchstone.com/miniapp/artist/images/write2.png"></image>
  41. <view>服务费开票</view>
  42. </view>
  43. </view>
  44. <view wx:if="{{item.orderStatus==1}}" class="tip">审核未通过:{{item.remark}}</view>
  45. </view>
  46. </view>
  47. </view>
  48. <!--确认支付弹框-->
  49. <view wx:if="{{isShowPaySure}}" class="pop-box pop-sure">
  50. <view class="pop-inner">
  51. <view class="planer-box">
  52. <view class="planer-header">
  53. <span class="name">转账信息</span>
  54. </view>
  55. <view class="planer-content">
  56. <view class="labe-text">名称</view>
  57. <view class="value-text">上海珈旻文化艺术中心</view>
  58. <view class="labe-text">开户行</view>
  59. <view class="value-text">中国邮政储蓄银行上海长宁区支行</view>
  60. <view class="labe-text">账号</view>
  61. <view class="value-text">931008010000960216</view>
  62. <view class="labe-text">应付金额</view>
  63. <view class="value-text">¥{{money.money(orderList[checkListIndex].totalPrice)}}</view>
  64. <view class="labe-text">付款方姓名</view>
  65. <view class="value-text">
  66. <input class="input-text" id="payName" bindchange="changeInput" value="{{payName}}" placeholder="请输入" type="text" />
  67. </view>
  68. <view bindtap="saveStateData" class="default-btn primary">
  69. 确认支付
  70. </view>
  71. </view>
  72. </view>
  73. <view bindtap="hidePaySure" class="pop-close">
  74. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/close.png" mode="widthFix"/>
  75. </view>
  76. </view>
  77. </view>
  78. <button plain="true" open-type='contact' session-from='' class="fixed-zx"></button>
  79. </view>