| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <view class="container">
- <!-- 地图组件 -->
- <!-- <map
- id="map"
- class="map"
- longitude="{{longitude}}"
- latitude="{{latitude}}"
- scale="16"
- markers="{{markers}}"
- polyline="{{polyline}}"
- show-location
- ></map> -->
- <map
- id="map"
- class="map"
- longitude="{{longitude}}"
- latitude="{{latitude}}"
- markers="{{markers}}"
- polyline="{{plannedRoute}}"
- bindcontroltap="controltap"
- show-location
- scale="16"
- ></map>
- <!-- 规划路线叠加显示 -->
- <!-- controls="{{controls}}" -->
-
-
-
- <!-- 信息提示 -->
- <view class="info" wx:if="{{infoText}}">
- {{infoText}}
- </view>
- <!-- 加载提示 -->
- <view wx:if="{{loading}}" class="loading-mask">
- <view class="loading-view">
- <loading size="large" color="#007aff">获取路线中...</loading>
- </view>
- </view>
-
- <!-- 错误提示 -->
- <view wx:if="{{error && !loading}}" class="error-message">
- {{error}}
- </view>
- <view class="storagecartext">
- <view>
- <view class="destination-title">
- 目的地:{{orderdata.addressName}}
- </view>
- <view class="destination-font">需求:光伏/放电/100kW</view>
-
- <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>
- <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>
- <!-- <view class="destination-font">·</view> -->
- <view class="destination-font">
- <text wx:if="{{orderdata.workorderType==1}}">待处理</text>
- <text wx:if="{{orderdata.workorderType==2}}">行驶中</text>
- <text wx:if="{{orderdata.workorderType==3}}">到达指定地点</text>
- <text wx:if="{{orderdata.workorderType==4}}">工作中</text>
- <text wx:if="{{orderdata.workorderType==5}}">完成工作</text>
- </view>
-
- </view>
- <image class="storagecar" src="https://esos-iot.bjdexn.cn/myminio/project/c152026b9bc2485f83b39a6132df3ce7.png" mode="heightFix"/>
- </view>
- <!-- <view class="viewmore" bind:tap="navigation">查看更多</view> -->
- <!-- <view bind:tap="navigation">导航</view> -->
- <!-- 路线列表 -->
-
- <!-- 控制按钮区域 -->
- <view class="control-panel">
- <slide-confirm
- wx:if="{{orderdata.workorderType==1&&userdata.operationRole==1}}"
- id="mySlideConfirm"
- data-type="{{orderdata.workorderType}}"
-
- bind:success="onSlideSuccess"
- width="300"
- height="50"
- defaultText="开始出发"
- successText="验证通过"
- />
-
- <slide-confirm
- wx:if="{{orderdata.workorderType==2&&userdata.operationRole==1}}"
- id="mySlideConfirm"
- data-type="{{orderdata.workorderType}}"
-
- bind:success="onSlideSuccess"
- width="300"
- height="50"
- defaultText="到达目的地"
- successText="验证通过"
- />
- <slide-confirm
- wx:if="{{orderdata.workorderType==3&&userdata.operationRole==1}}"
- id="mySlideConfirm"
- data-type="{{orderdata.workorderType}}"
- bind:success="showVerificationPopup"
- width="300"
- height="50"
- defaultText="开始工作"
- successText="验证通过"
- />
- <slide-confirm
- wx:if="{{orderdata.workorderType==4&&userdata.operationRole==1}}"
- id="mySlideConfirm"
- data-type="{{orderdata.workorderType}}"
-
- bind:success="onSlideSuccess"
- width="300"
- height="50"
- defaultText="完成工作"
- successText="验证通过"
- />
-
-
- </view>
- </view>
- <verification-popup
- isShow="{{showVerification}}"
- phoneNumber="{{phoneNumber}}"
- countdownSeconds="60"
- bind:close="onPopupClose"
- bind:confirm="onCodeConfirm"
- bind:resend="onResendCode"
- bind:complete="onCodeComplete"
- />
|