carControl.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 v2">
  14. <button class='btn b2 active' bindtap="upBtn" >上升</button>
  15. <button class='btn b2 active' bindtap="downBtn" >下降</button>
  16. </view> -->
  17. <text class="stitle" >选择车辆</text>
  18. <view class="vbtn v3">
  19. <block wx:for="{{cars}}" wx:key="id">
  20. <button class="btn b3 {{carIndex==index?'active':''}}" bindtap="carTap" data-idx="{{index}}">{{item.carName}}</button>
  21. </block>
  22. </view>
  23. <text class="stitle" >选择点位</text>
  24. <view class="vbtn v3">
  25. <block wx:for="{{locations}}" wx:key="id">
  26. <button class="btn b3 {{locationIndex==index?'active':''}}" bindtap="locationTap" data-idx="{{index}}" >{{item.pointShowName}}</button>
  27. </block>
  28. </view>
  29. <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. </view>