zhanw.wxml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!--pages/ucenter/zhanw/zhanw.wxml-->
  2. <view class="topBar">
  3. <view class="card {{searchIndex==-1?'active':''}}" data-idx="-1" bindtap="switchBar">未支付</view>
  4. <view class="card {{searchIndex==4?'active':''}}" data-idx="4" bindtap="switchBar">已支付</view>
  5. <view class="card {{searchIndex==6?'active':''}}" data-idx="6" bindtap="switchBar">已取消</view>
  6. <view class="card {{searchIndex==7?'active':''}}" data-idx="7" bindtap="switchBar">已退款</view>
  7. </view>
  8. <scroll-view class='context' scroll-y='true' bindscrolltolower="bindScrollTolowerEvent" >
  9. <view class='context_block'></view>
  10. <block wx:for="{{occupyFeeOrderList}}" wx:key="id">
  11. <view class="text_context {{item.height}}" hover-class='active'>
  12. <view class="upFlag" >{{item.occupyStatusCN}}</view>
  13. <view class='charging_text_title'>
  14. <view class='charging'>
  15. <image src='/images/zhangweifei.png'></image>
  16. </view>
  17. <view class='charging_text_title1'>
  18. <text class='bold'>{{item.chargstationname}}</text>
  19. <text class="h1">{{item.chargpileids}}</text>
  20. </view>
  21. </view>
  22. <text>{{item.chargpilename}}</text>
  23. <view class="inline-view">
  24. <view class='inlineView' decode='true'>
  25. <text space="nbsp">占位开始时间: </text>
  26. <text class="gray2"> {{item.occupyBeginTime}}</text>
  27. </view>
  28. </view>
  29. <view class="inline-view">
  30. <view class='inlineView' decode='true'><text space="nbsp">占位结束时间: </text> <text class="gray2">{{item.occupyEndTime}}</text></view>
  31. </view>
  32. <view style='line-height:0;' >
  33. <text class='inline gray1'>占位时长:</text>
  34. <text class='inline red'>{{item.occupyTime || 0}}</text>
  35. <text class='inline red' decode='true'>分</text>
  36. <text class='inline gray1' decode='true'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;占位费:</text>
  37. <text class='inline red'>{{item.occupyFee || 0}}</text>
  38. <text class='inline red'>元</text>
  39. </view>
  40. <view class="button-container">
  41. <!-- 使用 wx:if 动态控制按钮显示 -->
  42. <view class="downBtn" wx:if="{{item.customerServiceFlag}}" bindtap="payOrder" data-idx="{{item.id}}">去支付</view>
  43. <view class="downBtn" wx:if="{{item.cancleBtnFlag}}" bindtap="cancleBtn">联系客服</view>
  44. <!-- <modal hidden="{{hiddenmodalput}}" title="完善资料" confirm-text="提交" cancel-text="取消" bindcancel="cancelM" bindconfirm="confirmM">
  45. <input bindinput='iName' type='text' placeholder="请输入姓名..." auto-focus/>
  46. <input bindinput='iPhoneNum' type='number' placeholder="请输入手机号码..." />
  47. </modal> -->
  48. </view>
  49. </view>
  50. </block>
  51. <view class='context_block'></view>
  52. <view class='context_block'></view>
  53. <view class='context_block'></view>
  54. <view class='context_block'></view>
  55. </scroll-view>