batteryControl.wxml 2.1 KB

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