电速宝
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

index.wxml 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <view class="container">
  2. <!-- 地图组件 -->
  3. <!-- <map
  4. id="map"
  5. class="map"
  6. longitude="{{longitude}}"
  7. latitude="{{latitude}}"
  8. scale="16"
  9. markers="{{markers}}"
  10. polyline="{{polyline}}"
  11. show-location
  12. ></map> -->
  13. <map
  14. id="map"
  15. class="map"
  16. longitude="{{longitude}}"
  17. latitude="{{latitude}}"
  18. markers="{{markers}}"
  19. polyline="{{plannedRoute}}"
  20. bindcontroltap="controltap"
  21. show-location
  22. scale="16"
  23. ></map>
  24. <!-- 规划路线叠加显示 -->
  25. <!-- controls="{{controls}}" -->
  26. <!-- 信息提示 -->
  27. <view class="info" wx:if="{{infoText}}">
  28. {{infoText}}
  29. </view>
  30. <!-- 加载提示 -->
  31. <view wx:if="{{loading}}" class="loading-mask">
  32. <view class="loading-view">
  33. <loading size="large" color="#007aff">获取路线中...</loading>
  34. </view>
  35. </view>
  36. <!-- 错误提示 -->
  37. <view wx:if="{{error && !loading}}" class="error-message">
  38. {{error}}
  39. </view>
  40. <view class="storagecartext">
  41. <view>
  42. <view class="destination-title">
  43. 目的地:{{orderdata.addressName}}
  44. </view>
  45. <view class="destination-font">需求:光伏/放电/100kW</view>
  46. <view class="destination-font" wx:if="{{userdata.operationRole==5}}">{{orderdata.driverName}}·{{orderdata.carName}} <t-icon name="call-1-filled" size="28rpx" data-name="call-1-filled" data-phone="{{orderdata.driverphone}}" bind:tap="ontelephone" style="margin-left:20rpx"/> </view>
  47. <view class="destination-font" wx:if="{{userdata.operationRole==4}}">客户:{{orderdata.customerName}} <t-icon name="call-1-filled" size="28rpx" data-name="call-1-filled" data-phone="{{orderdata.customerphone}}" bind:tap="ontelephone" style="margin-left:20rpx"/> </view>
  48. <!-- <view class="destination-font">·</view> -->
  49. <view class="destination-font">
  50. <text wx:if="{{orderdata.workorderType==1}}">待处理</text>
  51. <text wx:if="{{orderdata.workorderType==2}}">行驶中</text>
  52. <text wx:if="{{orderdata.workorderType==3}}">到达指定地点</text>
  53. <text wx:if="{{orderdata.workorderType==4}}">工作中</text>
  54. <text wx:if="{{orderdata.workorderType==5}}">完成工作</text>
  55. </view>
  56. </view>
  57. <image class="storagecar" src="https://esos-iot.bjdexn.cn/myminio/project/c152026b9bc2485f83b39a6132df3ce7.png" mode="heightFix"/>
  58. </view>
  59. <!-- <view class="viewmore" bind:tap="navigation">查看更多</view> -->
  60. <!-- <view bind:tap="navigation">导航</view> -->
  61. <!-- 路线列表 -->
  62. <!-- 控制按钮区域 -->
  63. <view class="control-panel">
  64. <slide-confirm
  65. wx:if="{{orderdata.workorderType==1&&userdata.operationRole==1}}"
  66. id="mySlideConfirm"
  67. data-type="{{orderdata.workorderType}}"
  68. bind:success="onSlideSuccess"
  69. width="300"
  70. height="50"
  71. defaultText="开始出发"
  72. successText="验证通过"
  73. />
  74. <slide-confirm
  75. wx:if="{{orderdata.workorderType==2&&userdata.operationRole==1}}"
  76. id="mySlideConfirm"
  77. data-type="{{orderdata.workorderType}}"
  78. bind:success="onSlideSuccess"
  79. width="300"
  80. height="50"
  81. defaultText="到达目的地"
  82. successText="验证通过"
  83. />
  84. <slide-confirm
  85. wx:if="{{orderdata.workorderType==3&&userdata.operationRole==1}}"
  86. id="mySlideConfirm"
  87. data-type="{{orderdata.workorderType}}"
  88. bind:success="showVerificationPopup"
  89. width="300"
  90. height="50"
  91. defaultText="开始工作"
  92. successText="验证通过"
  93. />
  94. <slide-confirm
  95. wx:if="{{orderdata.workorderType==4&&userdata.operationRole==1}}"
  96. id="mySlideConfirm"
  97. data-type="{{orderdata.workorderType}}"
  98. bind:success="onSlideSuccess"
  99. width="300"
  100. height="50"
  101. defaultText="完成工作"
  102. successText="验证通过"
  103. />
  104. </view>
  105. </view>
  106. <verification-popup
  107. isShow="{{showVerification}}"
  108. phoneNumber="{{phoneNumber}}"
  109. countdownSeconds="60"
  110. bind:close="onPopupClose"
  111. bind:confirm="onCodeConfirm"
  112. bind:resend="onResendCode"
  113. bind:complete="onCodeComplete"
  114. />