batteryControl.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <view class="pg">
  2. <view class="selectBox">
  3. <view class="selectCard">
  4. <text>请选择充电站</text>
  5. <picker bindchange="bindPickerChange1" value="{{index}}" range="{{select1_arr}}">
  6. <view class="picker">{{select1_text}}</view>
  7. </picker>
  8. </view>
  9. <view class="selectCard">
  10. <text>请选择充电桩</text>
  11. <picker bindchange="bindPickerChange2" value="{{index}}" range="{{select2_arr}}">
  12. <view class="picker">{{select2_text}}</view>
  13. </picker>
  14. </view>
  15. </view>
  16. <view class='charging_text_title'>
  17. <view class='charging'>
  18. <image src='/images/charging2_1.png' bindtap="wxTestDebugClick"></image>
  19. </view>
  20. <view class='charging_text_title1'>
  21. <text class='bold'>{{chargPile.chargPileName}}</text>
  22. <text class="h1">终端编号:{{chargPile.chargPileId}}</text>
  23. </view>
  24. </view>
  25. <rich-text space='nbsp' nodes="地址:{{chargPile.address}}" style='line-height:30rpx;font-size:24rpx;margin-bottom:10rpx;word-wrap: break-word;' ></rich-text>
  26. <text class="stitle" >电池包举升控制</text>
  27. <view class="vbtn v3">
  28. <button class='btn b3 active' bindtap="upBtn" >上升</button>
  29. <button class='btn b3 active' bindtap="downBtn" >下降</button>
  30. <button class='btn b3 active' bindtap="pauseBtn" >暂停</button>
  31. </view>
  32. <text class="stitle" >选择车辆</text>
  33. <view class="vbtn v3">
  34. <block wx:for="{{cars}}" wx:key="id">
  35. <button class="btn b3 {{carIndex==index?'active':''}}" bindtap="carTap" data-idx="{{index}}">{{item.carName}}</button>
  36. </block>
  37. </view>
  38. <text class="stitle" >选择点位</text>
  39. <view class="vbtn v3">
  40. <block wx:for="{{locations}}" wx:key="id">
  41. <button class="btn b3 {{locationIndex==index?'active':''}}" bindtap="locationTap" data-idx="{{index}}" >{{item.pointShowName}}</button>
  42. </block>
  43. </view> <text class="stitle" >选择任务类型</text>
  44. <view class="vbtn v3">
  45. <block wx:for="{{tractorTaskTypeList}}" wx:key="id">
  46. <button class="btn b3 {{tractorTaskTypeIndex==index?'active':''}} char4" bindtap="tractorTaskTypeTap" data-idx="{{index}}" >{{item.txt}}</button>
  47. </block>
  48. </view>
  49. <view class="vbtn v1">
  50. <button class='btn b1 active' bindtap="submit" >调度车辆</button>
  51. </view>
  52. <text class="stitle" >启动充电</text>
  53. <view class="vbtn v1" style="margin-top: 20rpx;">
  54. <button class='btn b1 active' bindtap="goToScanResult" >启动充电</button>
  55. </view>
  56. <view class="vbtn v1"></view>
  57. </view>