<!--pages/home/drivePage/drivePage.wxml-->
|
<view class="driveEves">
|
<view class="drive_Info">
|
<!--司机头像-->
|
<image src="{{drive.avatar}}" mode="aspectFill" class="drive_img"></image>
|
<view class="drive_message">
|
<view class="drive_message_name">{{drive.name}} {{drive.licensePlate}}</view>
|
<view class="drive_car">{{drive.brand}}</view>
|
<view class="drive_fen">
|
<image src="../../../img/icon_score.png" class="fenimg"></image>
|
<view>{{fraction||0}}</view>
|
<view>{{drive.orderNum}}单</view>
|
</view>
|
</view>
|
<image src="../../../img/icon_dial.png" class="dial" catchtap="callPhone"></image>
|
</view>
|
<!--乘车信息-->
|
<view>
|
<view class="drive_time" catchtap="from">
|
<view class="yellow"></view>
|
<view class="drive_time_vw">{{cityNameStart}}</view>
|
</view>
|
<view class="drive_time">
|
<view class="black"></view>
|
<view class="drive_time_vw {{nextCityName!=='您要去哪里儿'?'':'go'}}" catchtap="goWhere">{{nextCityName}}</view>
|
</view>
|
</view>
|
|
|
<view class="driveStyle dark" wx:if="{{drive.state==3}}">该司机正在服务请稍后在下单</view>
|
<view class="driveStyle" wx:elif="{{drive.state==2}}" catchtap="downOrder">确认</view>
|
<view class="driveStyle dark" wx:elif="{{drive.state==1}}" >该司机未出车</view>
|
</view>
|